Jump to content

Installation : unexpected T_DOUBLE_ARROW in xxxconfig/config.inc.php on line 150


Recommended Posts

Can we see the line that is happening on your config.inc.php file? Line 150.

It might be that the parenthesis isn't closed.

For example:

$cookie = new Cookie('ps-sg'.$context->shop->getGroup()->id, '', $cookie_lifetime, $context->shop->getUrlsSharedCart(), false, $force_ssl;

Should be:

$cookie = new Cookie('ps-sg'.$context->shop->getGroup()->id, '', $cookie_lifetime, $context->shop->getUrlsSharedCart(), false, $force_ssl);

Check the ")" right before the ending.

Link to comment
Share on other sites

thx for replay,

 

the line : 

150 : $cookie = new Cookie('ps-sg'.$context=>shop->getGroup()->id, '', $cookie_lifetime, $context->shop->getUrlsSharedCart(), false, $force_ssl); 

 

it may be due to php, the providrer offers 5.3 ? 

Link to comment
Share on other sites

your config.inc.php file you send to us, is this the file from your autoinstaller or is this the file you downloaded from the PrestaShop website to install manually.

Because the error is occuring in your autoinstaller, probably used by your hosting company.

 

Let them check if they have a mistake going on in their config.inc.php file, because the file you send to us is identical to the files we are using.

Cheers.

Link to comment
Share on other sites

Can you try the following please.

un-install everything from your FTP (public folder ofcourse).

Then upload all PrestaShop files (download from prestashop.com)

Install the PrestaShop from your upload to FTP.

 

And see if this gives the same error as your previous auto installer from server hosting.

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...