the display of the home ctp file works ok? (not styled)
try domain.com/app/pages/home - this should display the same home.ctp
I have feeling that this issue might have something to do with MIME
types on the server due to the dot in the filename (cake.generic.css),
but I am doubtful.
I doubt that but you can check
what happens if you:
a) copy the cake.generic.css -to- cake.css
b) update the app/views/layouts/default.ctp to point to cake.css
do you still get err 406?
maybe something is happening with htaccess and the default ht's need altering for your server
maybe you need to use cake internal routing - see app/config/core.php
- S
On 2 March 2011 13:40, Duke <chrispickford@gmail.com> wrote:
Hi all,
My first post here so I'll give a little introduction. I'm pretty new
to CakePHP but have experience with PHP and MVC. So far I've read
through the cookbook and I'm halfway through reading a more in depth
book on the platform.
I have just done a fresh install onto a test web host and when loading
up the default index page it isn't applying any CSS styles. Looking
further into it, the host is returning a HTTP error 406 (Not
Acceptable) for the /css/cake.generic.css file.
A little about the install...
Cake root: /home/xxx/cakephp
App root: /home/xxx/cakephp/app
Web root: /home/xxx/public_html/app
URL: http://domain.com/app
I have feeling that this issue might have something to do with MIME
types on the server due to the dot in the filename (cake.generic.css),
but I am doubtful.
Has anyone experienced this problem, or even better, managed to
resolve it?
Many Thanks
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment