I had kept one application developed in CakePHP in my machine. I am able to view the application by http://localhost/webq but the CSS is not added. What could be the reason?
A:
Possible problems:
- maybe you have no application layout
- maybe your style href-attribute isn't set properly. have you tried to request that path in your browser? what happens?
Labuschin
2009-12-17 10:16:57
i am able to view the file . And i kept that file in that location .. I also get the error as cache file.php is not writeable
Aruna
2009-12-17 10:25:58
How is anybody supposed to help you with the amount of information you are giving? Please be more descriptive.
Pekka
2009-12-17 11:14:53
A:
Possibly missing an .htaccess file somewhere?
Is mod_rewrite enabled in Apache?
jimiyash
2009-12-17 11:13:05
Question needs a lot more detail, but my guess is that it's a mod_rewrite issue. Might need an AllowOverride directive in the vhost conf as well.
Travis Leleu
2009-12-17 21:45:07
A:
Where are you "calling" the css file? are you doing correctly?
you have to put
link rel="stylesheet" type="text/css" href="/cake/app/css/main.css" />
in your layout file (app/views/layout)
good luck!
martin
2010-02-18 13:09:33