Note: Outside of Cake, this server has no problem deal with OOP and classes
On Nov 9, 6:53 pm, dtirer <[email protected]> wrote: > So I've been toying with Cake apps on my local server for a little > while now. Now, Im working with developing one on live server. The > install/setup went fine. > > As a test, I create a simple table called 'cases' with just an 'id' > field in it (primary key, auto_increment) > > I then created a cases_controller.php file and put it in the > Controllers folder. The content of that file is: > > <?php > > class CasesController extends AppController > { > > } > > ?> > > I then created a case.php file and put it in the Models folder. The > content of that file is: > > <?php > > class Case extends AppModel > { > > } > > ?> > > When I try to navigate to the /cases controller in the browser, I get > the following error: > > Parse error: syntax error, unexpected T_CASE, expecting T_STRING in / > data/www/safepassagenm.com/htdocs/admin/app/models/case.php on line 3 > > There is no problem on line 3 of the case.php file that i can see. > This same system works fine locally on my machine. > > The live server is running PHP Version 5.2.10-pl0-gentoo > > Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
