> You don't need to add a constructor, and doing so is risky business.
> Particularly as adding one and not calling the parent (with the passed
> params, the model constructor has some parameters which you are
> removing) basically means you are disabling all of cake's model work
> and have about 0% chance of your models being of use.

Yes, I didn't think it would really *work*, I was just wondering why
it allowed the page to display, and if it was some weird PHP 4/PHP 5
difference.

> It's probably the zend optimizer problem, check the group for
> solutions (hint find the __ method), I'd bet it turns out to be
> missing/misnamed file/class/method.

It was the Zend Optimizer issue. I disabled __() since I'm not using
it in the app, and the Cake error page displayed telling me it
couldn't find my table.

Turned out I had a space prepending the database name in database
config. Doh! Once the error page actually displayed it was an easy
fix.

Since it seems to be causing a lot of problems, perhaps it may be a
good idea for Cake to check for the existence of the Zend Optimizer,
and issue a warning message? Just a thought. Blank output bugs are
hard to troubleshoot.

Thanks for the help. I believe the blank model constructor helped
precisely because it disables any non-trivial model functionality.

-dave

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to