Friday, June 12, 2009

Setup Cake PHP ... No Colors or images !!!

It was invetiable that I was going to post something technical on my blog.

I had to setup Cake PHP on my box and although I though I had it setup correctly and the start page showed no errors. Quickly realized that something was wrong.

After realizing that the images and CSS were missing i went on a trail to understand the framework. (Which I should have even before I installed it). Anyways after a long while figured out where the CSS was found a .htaccess file and then the bulb lit that the rewrite module was not correctly enable in LAMP/WAMP/Apache.

I enabled the rewrite module and then simply refreshed the page and then it rendered everything correctly.



This is something that is not clearly mentioned in the documentation for Cake and many developers have faced an issue with this.

I tried google for this but could find the solution.
"No Colors or images on Cake PHP"
and several others but could find none.


I hope to be posting PHP stuff on this blog. Let me know if you guys want something specific to be covered.

No comments: