Syntax Highlighter CSS (shCore.css)

Syntax Highlighter CSS (shThemeDefault.css)

Syntax Highlighter JS (shCore.js)

Syntax Highlighter JS (shAutoloader)

Highlight CSS (default.css)

Highlight JS (highlight.pack.js)

Syntax Highlighter CSS (custom.css)

Thursday, April 13, 2006

No CSS with CakePHP?

CakePHP is a web development framework that is structured very much like Ruby's Rails. I've worked on an in-house low risk project using a pre-beta version of CakePHP, and from what I've seen, I'm quite impressed. It was a non-trivial website, but CakePHP made the development go much smoother.

It works with PHP4 and PHP5, but I had been having trouble with it lately on my machine that runs PHP5. When I installed Cake, none of the CSS files I had would show up. After poking around a bit and scratching my head for a bit, I found that it was a problem with mod_rewrite for Apache not being enabled. Basically you have to uncomment /cake/app/config/core.php line 42 and everything should work like a charm:

// Uncomment the line below!
define ('BASE_URL', env('SCRIPT_NAME'));

There's a hidden dev gotchas page in the CakePHP Wiki that documents all this.
Post a Comment