Tuesday, March 2, 2010

Cannot get Cake 1.2x or 1.3 to work on OS X 10.6 Snow Leopard

Hi all--

I was playing with Cake last summer on my old Powerbook. I haven't
touched it in awhile, and decided to start again on my new Macbook Pro
running 10.6 (built-in PHP 5.3). I have so far been unsuccessful
either with older versions of cake or the new 1.3 beta.

Initially I was able to get the default page to load, but I could not
get any colors to work and the routing appeared broken--kept getting
404 errors. Everything said it was fine on the default page--tmp
permissions correct, database could be connected to, etc. etc., but I
get no graphics, styles, or layout.

I checked mod_rewrite and everything seemed okay. I read that Cake
didn't play nice with PHP 5.3 so I tried to downgrade to 5.2.x but
that caused problems with any PHP files loading.

I did try and disable the line in the Cake core.php file to have Cake
not use mod_rewrite. That got me colors and layouts on the default
page. However I'm still getting 404s when I try and do anything
else. I have tried both manually making models, controllers, views,
etc. and also baking them.

Can anyone give me any new leads?

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en

No comments: