Brocberry Posted May 31, 2010 Share Posted May 31, 2010 I get this code when going to the install page Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in ......./htdocs/hew/prestashop/install/classes/ToolsInstall.php on line I'm wondering if this has anything to do with not being able to access php.ini to see if GD Library functionality is on? Link to comment Share on other sites More sharing options...
rocky Posted May 31, 2010 Share Posted May 31, 2010 See the sticky topic. You must have PHP5 enabled to use PrestaShop. Link to comment Share on other sites More sharing options...
Brocberry Posted May 31, 2010 Author Share Posted May 31, 2010 It's strange because that was on 1and1.co.uk which has php5, but I'll write to them and check what's what. So I went to a new host and it all installed ok without having made any changes to the file permissions which seems odd? I'm going to change them but it seems strange that the shop appears to be up and running - not that I'm taking money on it yet or anything, I'm just having a look at what prestashop is like but the shop is essentially up and running. Is that odd? Link to comment Share on other sites More sharing options...
rocky Posted May 31, 2010 Share Posted May 31, 2010 You need to enable PHP 5 on 1&1 by adding the following line to your .htaccess file: AddType x-mapp-php5 .php And to enable URL rewriting to work, you need to add the following line to your .htaccess file: RewriteBase / 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