|
when I installed cakePHP on Ubuntu 9.10 & fedora 12 I got a problem
cakePHP seems to be not able to load CSS, IMAGES, Javascripts and it responds by "NOT FOUND, The requested URL /myApp/tags was not found on this server", It sounds like a mod_rewrite problem !. I enabled the rewrite and still get the same problem. When I uncommented this line "Configure::write('App.baseUrl', env('SCRIPT_NAME'));" in the core.php config file the index page (the default one) loads the CSS and the images fine but still get the "NOT FOUND .." error when requesting a controller. ps : when i take the same app to a windows machine it works fine apache : Server version: Apache/2.2.11 (Ubuntu) Server built: Nov 13 2009 21:59:28 php : PHP 5.2.6-3ubuntu4.4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 26 2009 14:32:35) cakePHP : cakePHP v1.2.5 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
|
i think you shoud check app/tmp directory and sub directories
permission it shoud be 777 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
|
on your websites-available, change all AllowOverride none to AllowOverride All and comment the env core.php line back.
On Tue, Dec 8, 2009 at 01:21, kani <[hidden email]> wrote: i think you shoud check app/tmp directory and sub directories 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
|
Pedro has it. This is a mod_rewrite problem (as in, mod_rewrite is not being enabled) which is due to your server ignoring the values in cakes .htaccess
On Tue, Dec 8, 2009 at 1:08 AM, Pedro Nascimento <[hidden email]> wrote: on your websites-available, change all AllowOverride none to AllowOverride All and comment the env core.php line back. 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
|
In reply to this post by Pedro Nascimento
yes I did but nothing changes
On Dec 8, 7:08 am, Pedro Nascimento <[hidden email]> wrote: > on your websites-available, change all AllowOverride none to AllowOverride > All and comment the env core.php line back. > > > > > > On Tue, Dec 8, 2009 at 01:21, kani <[hidden email]> wrote: > > i think you shoud check app/tmp directory and sub directories > > permission it shoud be 777 > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [hidden email] > > To unsubscribe from this group, send email to > > [hidden email]<cake-php%[hidden email]>For more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
|
it works now, thank you guys
On Dec 9, 7:19 am, ayoub <[hidden email]> wrote: > yes I did but nothing changes > > On Dec 8, 7:08 am, Pedro Nascimento <[hidden email]> wrote: > > > on your websites-available, change all AllowOverride none to AllowOverride > > All and comment the env core.php line back. > > > On Tue, Dec 8, 2009 at 01:21, kani <[hidden email]> wrote: > > > i think you shoud check app/tmp directory and sub directories > > > permission it shoud be 777 > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp 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 [hidden email] > > > To unsubscribe from this group, send email to > > > [hidden email]<cake-php%[hidden email]>For more options, visit this group at > > >http://groups.google.com/group/cake-php?hl=en 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 [hidden email] To unsubscribe from this group, send email to [hidden email] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en |
| Powered by Nabble | Edit this page |
