Foutix Posted January 26, 2008 Share Posted January 26, 2008 Bonjour, Je viens de découvrir PrestShop et je souhaite linstaller mais jai un souci. Lors de linstallation il met indiqué: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home.10.17/magnetos/www/prestashop/install/classes/LanguagesManager.php on line 7 Avez-vous une idée du pourquoi. Merci Link to comment Share on other sites More sharing options...
hairvay Posted January 26, 2008 Share Posted January 26, 2008 Bonjour, il semblerait que tu n'es pas la bonne version de php. Voici les recommandations pour l'installation de PS : Configuration Système : * Linux, Unix, ou Windows * Serveur web Apache * PHP 5.0 ou ultérieur * MySQL 5.0 ou plus récent Vérifie avec la configuration de ton serveur si tu as fait une install online. Si c'est une installation en local, installe de préférence xampp ou la version beta 2 d'easyphp plutôt qu'easyphp 1.8 (qui ne supporte pas le php 5.0) @+ Link to comment Share on other sites More sharing options...
Foutix Posted January 26, 2008 Author Share Posted January 26, 2008 je suis en online chez OVH avec PHP5. Link to comment Share on other sites More sharing options...
hairvay Posted January 26, 2008 Share Posted January 26, 2008 as tu créé le htaccess avec les lignes de ce post ? http://www.prestashop.com/forum/index.php/topic,446.0.html Link to comment Share on other sites More sharing options...
Foutix Posted January 26, 2008 Author Share Posted January 26, 2008 euh.... non il faut mettre quoi dans le htaccess. il y a ça dans le mien. Il faut donc que je rajoute 'SetEnv PHP_VER 5' et 'SetEnv REGISTER_GLOBALS 0' a la fin ? # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*).html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1$3 [L,E] # Catch 404 errors ErrorDocument 404 /404.php Merci Link to comment Share on other sites More sharing options...
hairvay Posted January 27, 2008 Share Posted January 27, 2008 Il faut donc que je rajoute 'SetEnv PHP_VER 5' et 'SetEnv REGISTER_GLOBALS 0' a la fin ? tout à fait 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