Thanks - Ouch that hurts - Catch is a monster in my app which pertinas
to fishing!

On Oct 23, 10:04 pm, the_woodsman <[EMAIL PROTECTED]> wrote:
> I would imagine this is because catch is a reserved word in PHP 5, as
> it related to catching Exceptions.
>
> You'll need to rename that class my friend!
>
> Although I think its veering off topic, i.e has nowt to do with
> baking!
>
> On Oct 23, 10:44 pm, MikeK <[EMAIL PROTECTED]> wrote:
>
>
>
> > We are trying to upgrade our server to PHP 5 and our cake app failed
> > with the following:
>
> > Parse error: syntax error, unexpected T_CATCH, expecting T_STRING in /
> > home/jaxkayak/public_html/ams/app/models/catch.php on line 2
>
> > Here is the file:
> > <?php
> > class Catch extends AppModel
> > {
>
> > What makes PHP5 unhappy here, is it the class name of Catch?- Hide quoted 
> > text -
>
> - Show quoted text -


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