On Nov 2, 2006, at 10:10 AM, Christian wrote:

>
> Hi ev.
>
> I am relatively new to cakePhp.
>
> I am having some issue with models with underscores. Basically my  
> whole
> application was running fine under PHP 5 and I had to move it to PHP4
> (4.3.10) 'cause of the hosting.

PHP isn't as good at dealing with classnames sometimes. The best way  
to make sure things will always work is to remember to add the $name  
var to your models and controllers.

(apple_jack.php)
class AppleJack extends AppModel
{
        var $name = 'AppleJack';
}

You might try that to see if it clears up any problems. If it  
doesn't, posting one of the error messages you're getting might be  
helpful.

-- John

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to