paulwfc Posted January 11, 2012 Posted January 11, 2012 Hi I moved an OSC from one server host to another. Importing the database into a new one and changing the configure files to the new database details. I now get the following error message: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/2/d159796195/htdocs/websitename/includes/modules/ultimate_seo_urls5/classes/usu.php on line 24 The new server has mysql5 and php5. Any ideas?
Guest Posted January 11, 2012 Posted January 11, 2012 Paul, You may need to update some of the code contained in your website to be compliant with the new server software. You must be running an MS1 or MS2 version of osCommerce, in which case, it is time to upgrade. Chris
♥geoffreywalton Posted January 11, 2012 Posted January 11, 2012 Paul I do not believe it is anything to do with the version of osc you are running. Normally it is because the version of php is not late enough. In this case because the site has move it could be because the cached results are pointing at the old site and need clearing down. But I am no expert in this area. Anyway try searching for Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/modules/ultimate_seo_urls5/classes/usu.php on line 24 in google you get this http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media/page__view__findpost__p__1455165 might be better to post in the support thread if you are running the correct version. HTH G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
paulwfc Posted January 14, 2012 Author Posted January 14, 2012 Thanks Paul I do not believe it is anything to do with the version of osc you are running. Normally it is because the version of php is not late enough. In this case because the site has move it could be because the cached results are pointing at the old site and need clearing down. But I am no expert in this area. Anyway try searching for Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /includes/modules/ultimate_seo_urls5/classes/usu.php on line 24 in google you get this http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media/page__view__findpost__p__1455165 might be better to post in the support thread if you are running the correct version. HTH G Thanks Geoff. It was the version of PHP that did it.
♥geoffreywalton Posted January 14, 2012 Posted January 14, 2012 Funnily enough I have just built a loaded store with this in it and it fell over with the same error message. Luckily I was running a version of xampp with the ability to switch between 4 and 5 and problem solved. Cheers G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.