Perhaps what I should have tried first ended up to be the solution. I
moved the cake folder inside my app. That's it. Because when you bake
an app the cake folder is separate I thought this would not be a
problem. I thought wrong.


On Jan 13, 11:52 am, john lyles <[email protected]> wrote:
> Hi everyone,
>
> I can't get my cake app to work on Godaddy. Lets say my application is
> called 'amazing', my setup is as follows:
>
> html> amazing
>          cake
>
> I have three .htaccess files, one in html folder, one in amazing
> folder ('app'), and one in 'jonlyles/webroot' ('app/webroot')
>
> Based on some discussions in this group in the past (http://bit.ly/
> gw4vG3 andhttp://bit.ly/ieywMW) and on the following article in the
> bakery (http://bit.ly/dTurXG) and blog (http://bit.ly/dSifPm), it
> seems that if you had a '/' at the beginning of the rewrite rule then
> all yoru problems will be solved. I have tried this without success.
>
> My .htaccess files looks as follows:
>
> /html
> <IfModule mod_rewrite.c>
>     RewriteEngine on
>     RewriteRule    ^$    amazing/    [L]
>     RewriteRule    (.*) amazing/$1    [L]
>  </IfModule>
>
> /html/amazing
> <IfModule mod_rewrite.c>
>     RewriteEngine on
>     RewriteRule    ^$    webroot/    [L]
>     RewriteRule    (.*) webroot/$1    [L]
>  </IfModule>
>
> /html/amazing/webroot
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteCond %{REQUEST_FILENAME} !-d
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
> </IfModule>
>
> For a reason that I cannot figure out, the cake bootstrap cannot be
> found. Yet I echoed the definitions of CAKE_CORE_INCLUDE_PATH, ROOT,
> APP_DIR and they all seem correct.
>
> The errors I am getting are: Warning: include(cake/bootstrap.php)
> [function.include]: failed to open stream: No such file or directory
> in /home/content/58/7109858/html/jonlyles/webroot/index.php on line 82
>
> Warning: include() [function.include]: Failed opening 'cake/
> bootstrap.php' for inclusion (include_path='/home/content/58/7109858/
> html/cake:/home/content/58/7109858/html/jonlyles/:.:/usr/local/php5/
> lib/php') in /home/content/58/7109858/html/jonlyles/webroot/index.php
> on line 82
>
> Fatal error: CakePHP core could not be found. Check the value of
> CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to
> the directory containing your /cake core directory and your /vendors
> root directory. in /home/content/58/7109858/html/jonlyles/webroot/
> index.php on line 83

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to