Page 1 of 1

Transfer Problems

Posted: Sat Jul 24, 2010 4:36 pm
by pilotlife
Hi guys,

Ive hit a problem im moving an installation from one server to another, however when i have copied the files over to the new server, setup the config and imported the database, i visitd index.php and get

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/sites/oasis.co.uk/public_html/lib/autoloader.php on line 39


could anyone let me know what the problem is please?

Thanks

Re: Transfer Problems

Posted: Sat Jul 24, 2010 10:38 pm
by Peciura
Reupload files to server because lineĀ  39 on '/lib/autoloader.php' does not contain '&'. Also would be interesting to look at your copy of '/lib/autoloader.php'.

Re: Transfer Problems

Posted: Sat Jul 24, 2010 11:47 pm
by pilotlife
Could this be anything to do with running php 4 instead of 5? i think all the files have been uploaded via binary mode should they be uploaded auto or ascii?

Re: Transfer Problems

Posted: Sun Jul 25, 2010 12:12 am
by pilotlife
Got it, the problem was the fact i was running php4 it needs 5

Re: Transfer Problems

Posted: Sun Jul 25, 2010 6:48 pm
by Dr.CSS
Add [solved] to subject line of your first post...