hydargos Posted January 28, 2010 Share Posted January 28, 2010 Bonjour,Je ne parviens pas à installer prestashop sur mon serveur.Erreur de base : (Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homez.65/hydargos/www/prestashop/install/classes/ToolsInstall.php on line 4)Je suis chez ovh, mon système php est un 4.4.9 apparemment, donc j’ajoute le fichier .htaccess dans mon répertoire boutique pour activer la version 5, une autre erreur apparaît.Nouvelle Erreur : (Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.)Je ne sais plus quoi faire…Merci de votre aide. Link to comment Share on other sites More sharing options...
MrMerry Posted November 5, 2010 Share Posted November 5, 2010 arf je suis sur le même problème en fait. Si tu as la réponse je suis preneur ! Link to comment Share on other sites More sharing options...
aire Posted January 14, 2011 Share Posted January 14, 2011 Bonjour à tous,Je suis également chez OVH, j'avais le même problème, il est résolu.Je cite jojo sur commentcamarche : Faire un .htaccess à la racine avec ceci: SetEnv PHP_VER 5 SetEnv REGISTER_GLOBALS 0 # URL rewriting module activation RewriteEngine on # URL rewriting rules RewriteBase / 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 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php Bonne soirée,Harold Link to comment Share on other sites More sharing options...
Jellyweb Posted February 14, 2011 Share Posted February 14, 2011 Effectivement çà fonctione. Merci bien Link to comment Share on other sites More sharing options...
Asenar Posted February 14, 2011 Share Posted February 14, 2011 Bonjour,aire, register global à 0 est également nécessaire pour que ça fonctionne ? 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