At 8/27/08 11:04 AM, BoneIdol wrote:
At 8/27/08 10:41 AM, thelordofcheese wrote:
At 8/27/08 01:37 AM, BoneIdol wrote:
CakePHP is a steaming great turd (simply because the documentation is so horrible). If you want to use a framework, might I recommend Zend or CodeIgniter?
That wasn't the question. I didn't ask which framework you recommend.
Fair enough then; can't say CakePHP is my area of expertise at all (I had one look at the documentation and went "fuck that"), but I would imagine that your problem lies with mod_rewrite. I vaguely recall you posting a thing earlier about running cake php on IIS.
Try opening a url like cakephppath/index.php/controller/ instead of just cakephppath/controller/. IIS has some modules that act like mod_rewrite, but you really need a host that either has them installed or will let you install them.
Two examples are:
http://www.isapirewrite.com/
http://www.qwerksoft.com/products/iisrew rite/
Let me know if I'm even remotely up the right tree here.
That other thread got deleted (no posts after a few hours I guess - I dunno, haven't been here in a while).
I usually go for hard code. It seems that the frameworks are just a headache to set up and are inflexible and bloated, used only for people who don't know the inner workings of PHP and can't understand complex SQL. Basically they are for code monkeys in big businesses. Get it done fast and all. CakePHP is used by a dev company (but they use Codeigniter, too - and are starting with Zend).
Yeah, I'm using a mod_rewrite that was on iismod.com (which is now down). I would LIKE to get it going with IIS (I find if you can set up something OpenSource in IIS you damn well can do it a lot easier with Apache, so just learn IIS first).
While typing this I was putting down all of the info I could, and I looked at the rewrite ini file more closely. THERE'S THE PROBLEM!
Whoever wrote them assumed that CakePHP was dropped driectly into wwwroot and ALSO they were using index.php?controller instead of index.php/controller.
I modified the rule to use localhost/CakePHP for any localhost/CakePHP/?anything url.
Now I have to modify it to just use localhost/CakePHP/anything for the rewrite.
I'll update once I get a meaning fully functioning CakePHP install/config made. Damn, 2 days, no documentation, all headaches.