Looks like your css files are not where they should be. Check all their filenames and paths.
Because missing asset files (img, css, js, ...) can really slow down a website (in debug mode especially), and make nonsense of your logs and sometimes trash your sessions, I usually modifiy the .htaccess file to ignore missing asset files. These lines should do the trick: # Do not route missing asset requests through cake RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f # This is an exception because they are generated through cake RewriteCond %{REQUEST_FILENAME} !img/pictures/ RewriteRule ^/?((img|js|css|swf)/.*)$ empty [L] Where "empty" is a zero-byte file in the webroot. Depending on your Apache version you might be able to do this: RewriteRule ^/?((img|js|css|swf)/.*)$ - [R=404] Which makes more sense, but some versions don't allow it. This greatly helps in debugging issues like this. hth grigri On Sep 4, 9:20 am, Ernesto <e.fanz...@gmail.com> wrote: > Hello. > > i'm having troubles with one of my cake apps > > basically the app won't load any css. > if i copy/paste css link in browser's address bar cake returns an > error page like this: > > Missing Controller > > Error: CssController could not be found. > > Error: Create the class CssController below in file: > pacchi_alluminio_grezzi\controllers\css_controller.php > > <?php > class CssController extends AppController { > > var $name = 'Css';} > > ?> > > Notice: If you want to customize this error message, create > pacchi_alluminio_grezzi\views\errors\missing_controller.ctp > > other 4 apps, sharing the same core/webserver with the broken one, are > working flawlessly > > css are linked via htmlHelper. > > what can i do? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~----------~----~----~----~------~----~------~--~---