Two Bears Ceramics Posted June 3, 2015 Share Posted June 3, 2015 I get the following message come up when I try to browse to the install file. Parse error: syntax error, unexpected '{' in mywebsite.com/public_html/install/index.php on line 29 Anyone any ideas on how to fix this? Have downloaded latest version original file 3 times followed through the installation process to-the-letter. Grateful for any help Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 4, 2015 Share Posted June 4, 2015 I get the following message come up when I try to browse to the install file. Parse error: syntax error, unexpected '{' in mywebsite.com/public_html/install/index.php on line 29 Anyone any ideas on how to fix this? Have downloaded latest version original file 3 times followed through the installation process to-the-letter. Grateful for any help Can u post here your index.php file inside install folder? Link to comment Share on other sites More sharing options...
Two Bears Ceramics Posted June 7, 2015 Author Share Posted June 7, 2015 Hi tdarkangel Thanks for any help you can provide. This is the file. <?php/** 2007-2015 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Open Software License (OSL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/osl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]>* @copyright 2007-2015 PrestaShop SA* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)* International Registered Trademark & Property of PrestaShop SA*/require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'init.php');try { require_once(_PS_INSTALL_PATH_.'classes'.DIRECTORY_SEPARATOR.'controllerHttp.php'); InstallControllerHttp::execute();} catch (PrestashopInstallerException $e) { $e->displayMessage();} Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 8, 2015 Share Posted June 8, 2015 Are you using a windows or a linux server? Link to comment Share on other sites More sharing options...
Two Bears Ceramics Posted June 14, 2015 Author Share Posted June 14, 2015 I believe its a windows server. Amend that to Unix sorry Link to comment Share on other sites More sharing options...
tdarkangel4141 Posted June 21, 2015 Share Posted June 21, 2015 You solved it so? ^^ Link to comment Share on other sites More sharing options...
Two Bears Ceramics Posted June 22, 2015 Author Share Posted June 22, 2015 no still not solved Link to comment Share on other sites More sharing options...
Delene Posted June 24, 2015 Share Posted June 24, 2015 I'm having the same problem... I just downloaded v1.6.0.14, I've got the same index.php. I'm on a Linux CentOS server, everything is updated to supported versions (php, mysql, etc.) It appears that something is "stuck" repeating the /install directory - the error is ERR_TOO_MANY_REDIRECTS. I captured the console, it's included below and hope this helps. GET http://nikkomsgchannel/e?006b0055002900220046004100190025005e0056005e005700…470032002e005d0014002000290044005a000d005e002d0058002d002e005d005b002a002a rapport_nikko_send_focus_event @ VM646:62rapport_nikko_on_focus @ VM646:72 jquery-1.11.0.min.js:4 GET http://www.mytestingstuff.com/install/install/install/install/install/insta…l/install/install/install/install/install/install/install/install/install/ net::ERR_TOO_MANY_REDIRECTSn.ajaxTransport.send @ jquery-1.11.0.min.js:4n.extend.ajax @ jquery-1.11.0.min.js:4(anonymous function) @ database.js:44n.event.dispatch @ jquery-1.11.0.min.js:3n.event.add.r.handle @ jquery-1.11.0.min.js:3 VM646:49 GET http://nikkomsgchannel/e?006b0055002900220046004100190025005e0056005e005700…320035005c005c0060002000590045005d000d002a005a002d002a005c005c002f002a005a rapport_nikko_on_blur @ VM646:49 VM646:62 GET http://nikkomsgchannel/e?006b0055002900220046004100190025005e0056005e005700…470032002e005d0014002000290044005a000d005e002d0058002d002e005d005b002a002a rapport_nikko_send_focus_event @ VM646:62rapport_nikko_on_focus @ VM646:72 VM646:49 GET http://nikkomsgchannel/e?006b0055002900220046004100190025005e0056005e005700…320035005c005c0060002000590045005d000d002a005a002d002a005c005c002f002a005a Link to comment Share on other sites More sharing options...
Delene Posted June 29, 2015 Share Posted June 29, 2015 I fixed the problem (I use a different ISP hosting than what was recommended, that could have been some of the problems - I use HostGator) Here's how I fixed the problem: 1) FTP the contents of the prestashop folder to where ever you would normally put your domain (sub-domain), etc. 2) Create a generic php.ini file (put it in the directory of where you just put your domain), my file contains these 4 lines: allow_url_fopen = ON allow_url_include = ON allow_call_time_pass_reference = ON file_uploads = On 3) Create a generic .htaccess file (put it in the directory of where you just put your domain), my file contains these 4 lines: <Files php.ini> Order allow,deny Deny from all </Files> 4) Clear all of your web browser's cache and cookies 5) Run the install (from your web browser) www.yourdomainname.com/install/index.php After doing this, prestashop finally installed and is running beautifully! 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