Re: PHP5 and Cake question

2007-10-23 Thread MikeK
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 frie

Re: PHP5 and Cake question

2007-10-23 Thread the_woodsman
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

PHP5 and Cake question

2007-10-23 Thread MikeK
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: http://groups.google.com/group/cake-php?hl=en -~-