sdigtn Posted February 11, 2015 Share Posted February 11, 2015 (edited) Hi everybody,I'm trying to install PS 1.6 but I got this error : Parse error: syntax error, unexpected T_DOUBLE_ARROW in /autoinstalator/prestashop/config/config.inc.php on line 150 Provider : Home.pl Best regards. Sdigtn Edited February 11, 2015 by sdigtn (see edit history) Link to comment Share on other sites More sharing options...
helldog2004 Posted February 11, 2015 Share Posted February 11, 2015 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 More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 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 More sharing options...
helldog2004 Posted February 12, 2015 Share Posted February 12, 2015 No, the minimum requirements for PrestaShop is 5.2+ So yours should be good to go, as a matter of fact I am using PHP 5.3 as well. Can you send the php file which is giving an error within this topic? Thanks Link to comment Share on other sites More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 please find attached the file config.inc.php Link to comment Share on other sites More sharing options...
bellini13 Posted February 12, 2015 Share Posted February 12, 2015 did you download this installation package from Prestashop website? Or are you trying to install Prestashop from an autoinstall script on your web host? Link to comment Share on other sites More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 I'm trying to install prestashop as a directory under joomla : autoinstalator/mysite/prestashoop Link to comment Share on other sites More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 prestashop downloaded from the official website Link to comment Share on other sites More sharing options...
helldog2004 Posted February 12, 2015 Share Posted February 12, 2015 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 More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 I tried transferring from a local instalaltion and directly on the server, nothing moves Thx for replay. Link to comment Share on other sites More sharing options...
helldog2004 Posted February 12, 2015 Share Posted February 12, 2015 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 More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 directory mode 777 Link to comment Share on other sites More sharing options...
helldog2004 Posted February 12, 2015 Share Posted February 12, 2015 yes you have to open FTP. right mouse button on the folder config and select properties Click on permissions and change every dropdown to "can view & modify content". Try installation again. Link to comment Share on other sites More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 Config directory and sub-directory on 777 mode Link to comment Share on other sites More sharing options...
helldog2004 Posted February 12, 2015 Share Posted February 12, 2015 Okay, are the files inside config also 777? Or did you only gave 777 permissions to the folders? Link to comment Share on other sites More sharing options...
sdigtn Posted February 12, 2015 Author Share Posted February 12, 2015 All files 777, It's weird, the setting file is ok 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