OK have some new information, maybe this will help narrow it down. Firstly, the way I originally transferred my files form my local machine to the live one, was by dragging and dropping them via Fetch.
Thinking now, that maybe files got missed or something in the transfer, I transferred the Live files, directly to ANOTHER separate live server. The interesting thing is, I still had the same error message. So that makes me think that some file got misplaced in the original transfer.... On Nov 9, 8:38 pm, dtirer <[email protected]> wrote: > I'm actually editing on a mac. Tried eliminating white space, still > the same problem. > Unfortunately, its not my server so I can't update the Php version > really. > > On Nov 9, 8:27 pm, Graham Weldon <[email protected]> wrote: > > > If this fails, I'll get you to tar up your files and and them to me to > > check... > > > Are you editing on a windows machine? It's possible that some line > > endings are being screwed up. > > > Remove all unnecessary whitespace just to eliminate any issues there. > > > Gentoo's latest Php is 5.2.11-p0. So I mightbe a good opportunity to > > upgrade also. > > > Cheers > > Graham > > > On 10/11/2009, at 11:05 AM, dtirer <[email protected]> wrote: > > > > 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 -~----------~----~----~----~------~----~------~--~---
