tags:

views:

91

answers:

4

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
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
How is anybody supposed to help you with the amount of information you are giving? Please be more descriptive.
Pekka
A: 

Possibly missing an .htaccess file somewhere?

Is mod_rewrite enabled in Apache?

jimiyash
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
A: 

Is your vhost pointed to /app/webroot/?

djspark
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