Paul Newman Posted September 18, 2009 Share Posted September 18, 2009 HIHELP!!I AM GETTING THIS:Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/sites/user/5/57/58261/public/www/prestashop/install/classes/LanguagesManager.php on line 7ANY IDEAS PLEASETA Link to comment Share on other sites More sharing options...
briq Posted September 18, 2009 Share Posted September 18, 2009 Hi, please share the content of that file. Link to comment Share on other sites More sharing options...
ningu Posted September 18, 2009 Share Posted September 18, 2009 1/ Check your PHP version : did you change the htaccess (from BO per example) ?2/ re-upload your file onto your server Link to comment Share on other sites More sharing options...
Paul Newman Posted September 18, 2009 Author Share Posted September 18, 2009 many thanks and please excuse me as i am very new to all this web language.How do I check my PHP?When you say re-upload your file? what file are we talking about. Link to comment Share on other sites More sharing options...
briq Posted September 18, 2009 Share Posted September 18, 2009 many thanks and please excuse me as i am very new to all this web language.How do I check my PHP?When you say re-upload your file? what file are we talking about. To check you version you can check with your host or create a file "php_version.php" containing: <?php phpinfo(); ?> ... upload the file and navigate to it with your browser.The file you shuld try to reupload since it might be corrupted is: prestashop/install/classes/LanguagesManager.php Link to comment Share on other sites More sharing options...
ningu Posted September 18, 2009 Share Posted September 18, 2009 What is your hoster company ? Link to comment Share on other sites More sharing options...
Paul Newman Posted September 18, 2009 Author Share Posted September 18, 2009 hi i googled this and managed to find out the following:PHP Version 4.4.2-90claranet System Linux cgi31-ch 2.6.24-24-server #1 SMP Tue Aug 18 17:46:20 UTC 2009 i686 Build Date Aug 1 2007 13:23:58 Server API CGI Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php4/cgi/php.ini Scan this dir for additional .ini files /etc/php4/extensions additional .ini files parsed /etc/php4/extensions/extensions.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20050606 Debug Build no Zend Memory Manager enabled Thread Safety disabled Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib when i check on my service provider website it says version 5thanks again Joltgen Link to comment Share on other sites More sharing options...
Paul Newman Posted September 18, 2009 Author Share Posted September 18, 2009 ningui am on Clara.netSoho packageWhich says PHP 5 installed Link to comment Share on other sites More sharing options...
ningu Posted September 18, 2009 Share Posted September 18, 2009 You have to activate php5 Link to comment Share on other sites More sharing options...
Paul Newman Posted September 18, 2009 Author Share Posted September 18, 2009 hi, i did activate it so maybe it takes a while?how is the best way to make a file to upload to check the PHP version again, the first one i done was doing this http://www.fabricut.co.uk/phpinfo.phpthanks again folks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now