Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-05 Thread AD7six


On May 4, 6:28 pm, mi...@brightstorm.co.uk wrote:
> > did anybody open a ticket for that yet?
> > why it is not ROOT by default? because that would make sense after
> > all :)
>
> but it is..
>
> from a fresh 1.3.7
>
>         if (!defined('CAKE_CORE_INCLUDE_PATH')) {
>                 define('CAKE_CORE_INCLUDE_PATH', ROOT);
>         }
>
> not sure why yours isnt.

Because he used `cake bake` as all good bakers should

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-04 Thread Roger
/**
 * To configure CakePHP *not* to use mod_rewrite and to
 * use CakePHP pretty URLs, remove these .htaccess
 * files:
 *
 * /.htaccess
 * /app/.htaccess
 * /app/webroot/.htaccess
 *
 * And uncomment the App.baseUrl below:
 */
Configure::write('App.baseUrl', env('SCRIPT_NAME'));

And use: http://myhost.com/index.php/mycontroller/action

On Apr 24, 12:55 pm, kabeerdarocker  wrote:
>  I am quite new to Cakephp, just set up doing some of my college
> projects and demonstrating in a local computer. Now, I want to be
> professional and I just have no idea of what should I be doing to go
> live. I am in deep trouble. Please help me with this. Please provide
> me a basic procedure to go cakephp live.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-04 Thread mikek
> did anybody open a ticket for that yet?
> why it is not ROOT by default? because that would make sense after
> all :)

but it is..

from a fresh 1.3.7

if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}

not sure why yours isnt.


>
>
> On 4 Mai, 15:25, jjw  wrote:
>> I've had this problem before. Look at webroot/index.php and look for a
>> path to your local installation, something like:
>>
>> define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' .
>> DS . 'myapp');
>>
>> I have to replace it with:
>>
>> define('CAKE_CORE_INCLUDE_PATH', ROOT .'');
>>
>> When I bake the project, it puts this path in there that is hard coded
>> for my localhost.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-04 Thread euromark
did anybody open a ticket for that yet?
why it is not ROOT by default? because that would make sense after
all :)


On 4 Mai, 15:25, jjw  wrote:
> I've had this problem before. Look at webroot/index.php and look for a
> path to your local installation, something like:
>
> define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' .
> DS . 'myapp');
>
> I have to replace it with:
>
> define('CAKE_CORE_INCLUDE_PATH', ROOT .'');
>
> When I bake the project, it puts this path in there that is hard coded
> for my localhost.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-04 Thread jjw
I've had this problem before. Look at webroot/index.php and look for a
path to your local installation, something like:

define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' .
DS . 'myapp');

I have to replace it with:

define('CAKE_CORE_INCLUDE_PATH', ROOT .'');

When I bake the project, it puts this path in there that is hard coded
for my localhost.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-03 Thread Rafael Vale
A quick read on the page:

Unlike other free webhosts we do support PHP and MySQL with no restrictions.
You get full access to the latest version of PHP and MySQL. The following
PHP features are fully supported:

   - PHP mail() function and Sendmail
   - Curl, GD2 library, XML, Zend, .htaccess support
   - fopen() and PHP sockets
   - safe_mode is OFF, file uploads are ON
   - Zend Optimizer support, Ioncube loader.. and much more features are
   enabled



On Mon, May 2, 2011 at 4:57 PM, Sam Sherlock  wrote:

> does
>> 000webhost.com supports .htaccess?
>>
>
> consult with technical support
>
>
> cakephp quite depended upon this
>> htaccess file so. what can I do to solve this problem
>>
>
> no it does not pretty urls do see the core.php file (line 69 mentioned this
> in another post)
>
>  - S
>
>
>
>
>
>
> On 2 May 2011 20:50, kabeerdarocker  wrote:
>
>> I am quite a character hehe,
>> I apologize for not making myself clear.My question was yes, does
>> 000webhost.com supports .htaccess, cakephp quite depended upon this
>> htaccess file so. what can I do to solve this problem .
>>
>> On May 2, 9:35 pm, Ryan Schmidt  wrote:
>> > On May 1, 2011, at 21:04, kabeerdarocker wrote:
>> >
>> > > I am using 000webhost.com that makes me able to
>> > > go live not like a main domain. But quite like a sub-domain. so can u
>> > > tell does sub-domain and main domain does matters or its just all the
>> > > same.
>> >
>> > It doesn't matter. CakePHP doesn't care what hostname it's running on.
>> >
>> > > And also the fact that does 000webhost.com supports .htaccess.
>> >
>> > I can't read this sentence. Are you stating that 000webhost.comsupports 
>> > .htaccess files? If so, that's great. Or are you asking whether
>> 000webhost.com supports .htaccess files? If so, I have no idea; you'll
>> have to ask them.
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-02 Thread Sam Sherlock
>
> does
> 000webhost.com supports .htaccess?
>

consult with technical support

cakephp quite depended upon this
> htaccess file so. what can I do to solve this problem
>

no it does not pretty urls do see the core.php file (line 69 mentioned this
in another post)

 - S





On 2 May 2011 20:50, kabeerdarocker  wrote:

> I am quite a character hehe,
> I apologize for not making myself clear.My question was yes, does
> 000webhost.com supports .htaccess, cakephp quite depended upon this
> htaccess file so. what can I do to solve this problem .
>
> On May 2, 9:35 pm, Ryan Schmidt  wrote:
> > On May 1, 2011, at 21:04, kabeerdarocker wrote:
> >
> > > I am using 000webhost.com that makes me able to
> > > go live not like a main domain. But quite like a sub-domain. so can u
> > > tell does sub-domain and main domain does matters or its just all the
> > > same.
> >
> > It doesn't matter. CakePHP doesn't care what hostname it's running on.
> >
> > > And also the fact that does 000webhost.com supports .htaccess.
> >
> > I can't read this sentence. Are you stating that 000webhost.com supports
> .htaccess files? If so, that's great. Or are you asking whether
> 000webhost.com supports .htaccess files? If so, I have no idea; you'll
> have to ask them.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-02 Thread kabeerdarocker
I am quite a character hehe,
I apologize for not making myself clear.My question was yes, does
000webhost.com supports .htaccess, cakephp quite depended upon this
htaccess file so. what can I do to solve this problem .

On May 2, 9:35 pm, Ryan Schmidt  wrote:
> On May 1, 2011, at 21:04, kabeerdarocker wrote:
>
> > I am using 000webhost.com that makes me able to
> > go live not like a main domain. But quite like a sub-domain. so can u
> > tell does sub-domain and main domain does matters or its just all the
> > same.
>
> It doesn't matter. CakePHP doesn't care what hostname it's running on.
>
> > And also the fact that does 000webhost.com supports .htaccess.
>
> I can't read this sentence. Are you stating that 000webhost.com supports 
> .htaccess files? If so, that's great. Or are you asking whether 
> 000webhost.com supports .htaccess files? If so, I have no idea; you'll have 
> to ask them.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-02 Thread Ryan Schmidt

On May 1, 2011, at 21:04, kabeerdarocker wrote:

> I am using 000webhost.com that makes me able to
> go live not like a main domain. But quite like a sub-domain. so can u
> tell does sub-domain and main domain does matters or its just all the
> same.

It doesn't matter. CakePHP doesn't care what hostname it's running on.


> And also the fact that does 000webhost.com supports .htaccess.

I can't read this sentence. Are you stating that 000webhost.com supports 
.htaccess files? If so, that's great. Or are you asking whether 000webhost.com 
supports .htaccess files? If so, I have no idea; you'll have to ask them.



-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-05-01 Thread kabeerdarocker
Thanks dude,
but I am just a begging so I am unable to pay money for the big
hosting companies. so I am using 000webhost.com that makes me able to
go live not like a main domain. But quite like a sub-domain. so can u
tell does sub-domain and main domain does matters or its just all the
same.
And also the fact that does 000webhost.com supports .htaccess. I'm
quite confused about what should i be doing or not but I think you
would give me some of your ideas then it will be helpfull to me as
well as to all the begging out there wanting to learn more and
possible start with.


On Apr 25, 5:30 am, skimmas  wrote:
> I would try things like:
>
> does uploading a single index.html file with some contents to the
> remote server work?
> does uploading a single index.php (with something like  "hello" ?>) work?
> does creating an .htacces with some simple rules work?
>
> And if by any chance you do have access to the webserver error log it
> might give you some clues.
>
> On Apr 24, 4:55 pm, kabeerdarocker  wrote:
>
> >  I am quite new to Cakephp, just set up doing some of my college
> > projects and demonstrating in a local computer. Now, I want to be
> > professional and I just have no idea of what should I be doing to go
> > live. I am in deep trouble. Please help me with this. Please provide
> > me a basic procedure to go cakephp live.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Help! CakePHP runs great in localhost but doesn't even shows up in remote Server ...

2011-04-24 Thread skimmas
I would try things like:

does uploading a single index.html file with some contents to the
remote server work?
does uploading a single index.php (with something like ) work?
does creating an .htacces with some simple rules work?

And if by any chance you do have access to the webserver error log it
might give you some clues.


On Apr 24, 4:55 pm, kabeerdarocker  wrote:
>  I am quite new to Cakephp, just set up doing some of my college
> projects and demonstrating in a local computer. Now, I want to be
> professional and I just have no idea of what should I be doing to go
> live. I am in deep trouble. Please help me with this. Please provide
> me a basic procedure to go cakephp live.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php