Wednesday, May 4, 2011

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

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: