Jump to content

[Résolu] erreur avec 1and1


Recommended Posts

bonjour

mon erreur, pourquoi.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/34/d149286839/htdocs/prest/install/classes/LanguagesManager.php on line 7

merci d'avance

Link to comment
Share on other sites

bonjour losson,

Per default 1&1;runs PHP 4.4.9, but prestashop needs PHP 5.x. You can check your version by uploading a file e.g. "phpinfo.php" to your root directory

<?php
phpinfo();
?>



Run it:
http:///phpinfo.php
and look for the version (will be PHP4).

As a workaround place an .htaccess file in the root directory of your domain (or add the following lines if this file exists):

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php



That should help!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...