actiserver Posted May 6, 2012 Share Posted May 6, 2012 (edited) I have an error when trying to install 1.5 beta 4 It`s in step Configure shop information (45% progress) The file and folder permissions are correct Can you help me? Thnk´s!! Edited May 6, 2012 by actiserver (see edit history) 1 Link to comment Share on other sites More sharing options...
neor Posted May 7, 2012 Share Posted May 7, 2012 I have the same problem "Configuration de la boutique" no log info Link to comment Share on other sites More sharing options...
actiserver Posted May 8, 2012 Author Share Posted May 8, 2012 nothing? Link to comment Share on other sites More sharing options...
Sickboards Posted May 9, 2012 Share Posted May 9, 2012 Mine stops at 58%, same error Link to comment Share on other sites More sharing options...
joseespa Posted May 14, 2012 Share Posted May 14, 2012 same error, any solution? Link to comment Share on other sites More sharing options...
robkwal Posted May 14, 2012 Share Posted May 14, 2012 I also have the same issue, anyone resolved this? Link to comment Share on other sites More sharing options...
Raphaël Malié Posted May 14, 2012 Share Posted May 14, 2012 Hello guys, can you tell me with which version exactly you use this ? From a beta zip (which one ?) or from the SVN (which revision ?). Regards 1 Link to comment Share on other sites More sharing options...
Carl Favre Posted May 14, 2012 Share Posted May 14, 2012 Hi everyone, Do you have the same issue with MyISAM database engine when you try to install? Link to comment Share on other sites More sharing options...
robkwal Posted May 14, 2012 Share Posted May 14, 2012 Hello guys, can you tell me with which version exactly you use this ? From a beta zip (which one ?) or from the SVN (which revision ?). Regards I use the latest .0.9! Link to comment Share on other sites More sharing options...
robkwal Posted May 14, 2012 Share Posted May 14, 2012 Hi everyone, Do you have the same issue with MyISAM database engine when you try to install? In the config this is disabled, but says I'm fine to proceed "Is PHP magic quotes option deactivated (recommended) ?" and I have to use MyISAM instead of InnoDB, but that hasn't prevented me installing the older versions of 1.5! Regards, Rob 1 Link to comment Share on other sites More sharing options...
imh-bradm Posted May 14, 2012 Share Posted May 14, 2012 I was working on installing PrestaShop 1.5 today, and was running across the same exact issues that were being reported here. I dug a little through the code and was able to resolve the problem. The problem is that the prestashop installer was trying to download a file from api.prestashop.com: http://api.prestasho...ation/15/us.xml That URL is resulting in a 404 error, so the team at Prestashop will need to look into that further (unless I'm wrong). I resolve the issue by making the following change: line 401 in models/install.php $localization_file_content = @Tools::file_get_contents('http://api.prestashop.com/download/localization/'.$version.'/'.$data['shop_country'].'.xml'); unset($localization_file_content); if (!$localization_file_content) { $localization_file = _PS_ROOT_DIR_.'/localization/default.xml'; if (file_exists(_PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml')) $localization_file = _PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml'; $localization_file_content = file_get_contents($localization_file); } Basically, after that first line fails due to a 404 file not found, unset the variable so that the next few lines of code will run and instead grab us.xml locally instead of from api.prestashop.com. I hope that makes sense, I documented the full details on my site here: PrestaShop - Configure shop information - an error occurred during installation Thanks, - Brad 1 Link to comment Share on other sites More sharing options...
robkwal Posted May 14, 2012 Share Posted May 14, 2012 I was working on installing PrestaShop 1.5 today, and was running across the same exact issues that were being reported here. I dug a little through the code and was able to resolve the problem. The problem is that the prestashop installer was trying to download a file from api.prestashop.com: http://api.prestasho...ation/15/us.xml That URL is resulting in a 404 error, so the team at Prestashop will need to look into that further (unless I'm wrong). I resolve the issue by making the following change: line 401 in models/install.php $localization_file_content = @Tools::file_get_contents('http://api.prestashop.com/download/localization/'.$version.'/'.$data['shop_country'].'.xml'); unset($localization_file_content); if (!$localization_file_content) { $localization_file = _PS_ROOT_DIR_.'/localization/default.xml'; if (file_exists(_PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml')) $localization_file = _PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml'; $localization_file_content = file_get_contents($localization_file); } Basically, after that first line fails due to a 404 file not found, unset the variable so that the next few lines of code will run and instead grab us.xml locally instead of from api.prestashop.com. I hope that makes sense, I documented the full details on my site here: PrestaShop - Configure shop information - an error occurred during installation Thanks, - Brad Could you upload a copy of the file edited please? Link to comment Share on other sites More sharing options...
imh-bradm Posted May 15, 2012 Share Posted May 15, 2012 Hi robkwal, The only change I made was adding this line: unset($localization_file_content); ... to models/install.php around line 401. If you look at the code I pasted initially (above), it should just take a moment to make this change. I hope that helps! Keep us updated and let us know if this helps. Thanks, - Brad Link to comment Share on other sites More sharing options...
robkwal Posted May 15, 2012 Share Posted May 15, 2012 Hi robkwal, The only change I made was adding this line: unset($localization_file_content); ... to models/install.php around line 401. If you look at the code I pasted initially (above), it should just take a moment to make this change. I hope that helps! Keep us updated and let us know if this helps. Thanks, - Brad Hi, I thought I had made the change correctly, but still faced with the problem! Link to comment Share on other sites More sharing options...
imh-bradm Posted May 15, 2012 Share Posted May 15, 2012 If you're still getting errors, I would suggest looking at your php error log, which for me was found at: /install/error_log Our errors looked like this: [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : Space required after the Public Identifier in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : SystemLiteral " or ' expected in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 [14-May-2012 13:54:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in /home/inmoti6/prestashop.inmotiontesting.com/classes/LocalizationPack.php on line 41 Do your error messages look similar? Link to comment Share on other sites More sharing options...
Joe Michael Posted May 19, 2012 Share Posted May 19, 2012 [19-May-2012 07:54:32 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 07:55:16 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 07:55:54 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 07:59:08 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 08:02:40 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 08:24:45 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 08:44:49 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 08:47:04 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 [19-May-2012 08:48:50 UTC] PHP Parse error: syntax error, unexpected $end, expecting '{' in /home/gmgla/public_html/bulzine/tools/smarty/sysplugins/smarty_internal_data.php on line 426 I have tryed to make the change suggested for install.php but no goood Please help, i need this beta working ! Link to comment Share on other sites More sharing options...
Dev On Web Posted May 21, 2012 Share Posted May 21, 2012 Hi guys, Have you try the last SVN version (1.5.0.12) ? Is this bug is again here ? Link to comment Share on other sites More sharing options...
imh-bradm Posted May 21, 2012 Share Posted May 21, 2012 @Joe Michael The errors you're receiving are syntax errors, a little different then the other errors listed on this page. Have you made any changes to the code or have you tried by chance adding any extensions? @Dev On Web The problem I was having is that the PrestaShop installation was trying to load an xml file here: http://api.prestashop.com/download/localization/15/us.xml That URL is still returning a 404 error, which is breaking the install. I haven't testing 1.5.0.12, but do you know if any changes regarding that code have been changed? Link to comment Share on other sites More sharing options...
Carl Favre Posted May 22, 2012 Share Posted May 22, 2012 Hi imh-bradm, This issue has been fixed on the SVN. Can you try and tell us if it is OK for you? Thanks. Link to comment Share on other sites More sharing options...
Sickboards Posted May 25, 2012 Share Posted May 25, 2012 Hi I tried 1.5.0.12, I came further than last time (made a completely new server space and database), 78% Install modules Cannot install module "homeslider" 1 Link to comment Share on other sites More sharing options...
imh-bradm Posted May 25, 2012 Share Posted May 25, 2012 Hi CarlFavre, I'm having a hardtime finding the newest 1.5 version. The changelog hasn't been updated and I'm not too familiar with sub version. If you wanted to help me find the right files, I'd be happy to test further. This URL is still not working, http://api.prestashop.com/download/localization/15/us.xml so I will assume that the code has been updated to know the call to that XML file was a 404? Link to comment Share on other sites More sharing options...
Sickboards Posted May 28, 2012 Share Posted May 28, 2012 Now my local install is not working anymore either, 72% Create settings.inc file Create database tables Create default shop and languages Populate database tables Configure shop information Install modules Cannot install module "homeslider" An error occured during installation... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. Link to comment Share on other sites More sharing options...
Raphaël Malié Posted May 28, 2012 Share Posted May 28, 2012 Hi Sickboards, which version / revision do you use ? Regards Link to comment Share on other sites More sharing options...
Sickboards Posted May 29, 2012 Share Posted May 29, 2012 I was the version of a few days ago, but hear hear, yesterdays version worked!! Link to comment Share on other sites More sharing options...
bhatti420 Posted June 1, 2012 Share Posted June 1, 2012 I got the same error, but I thought its the server problem.... Link to comment Share on other sites More sharing options...
elfstone Posted June 7, 2012 Share Posted June 7, 2012 I tried yesterdays SVN and todays also, but i am still getting same error. Link to comment Share on other sites More sharing options...
Carl Favre Posted June 8, 2012 Share Posted June 8, 2012 Hi everyone, You can now download RC1 version. It is available in Community\Dev versions. Link to comment Share on other sites More sharing options...
elfstone Posted June 8, 2012 Share Posted June 8, 2012 great news, thanks Presta team Link to comment Share on other sites More sharing options...
cafetango Posted June 12, 2012 Share Posted June 12, 2012 Hello, I just attempted to do a fresh install of 1.5.0.13 and the installation process stopped at 50% (screen print attached). Haven't had time to find the cause of the error yet but will keep you up-to-date with my investigation. Cheers, Cha Link to comment Share on other sites More sharing options...
Carl Favre Posted June 12, 2012 Share Posted June 12, 2012 Hi cafetango, Do not forget to post your issue in the bug tracker too . Thanks! Link to comment Share on other sites More sharing options...
tomasur Posted June 12, 2012 Share Posted June 12, 2012 I have the same problem in Internet Expolorer 9 and Mozilla Firefox. Link to comment Share on other sites More sharing options...
Mehrshad Zakerian Posted July 26, 2012 Share Posted July 26, 2012 I have the same problem in prestashop 1.5.0.13 on many hosts. (Installing demonstration data failed) Link to comment Share on other sites More sharing options...
shokinro Posted August 17, 2012 Share Posted August 17, 2012 Just downloaded the latest RC2(1.5.0.15) and tried installation , the same error occurs. It fails even without demo products. Link to comment Share on other sites More sharing options...
iAlex Posted August 17, 2012 Share Posted August 17, 2012 I have the same error in RC2 Link to comment Share on other sites More sharing options...
iAlex Posted August 29, 2012 Share Posted August 29, 2012 How can i solve this problem? I use wamp server Link to comment Share on other sites More sharing options...
shokinro Posted August 29, 2012 Share Posted August 29, 2012 Actually, when I re-download the package and tried again, it was installed successfully. I guess some files are missing at the package I downloaded first. Link to comment Share on other sites More sharing options...
iAlex Posted August 31, 2012 Share Posted August 31, 2012 (edited) I solved the problem. When i tried to install Prestashop with Google Chrome browser i have an errors. Then I tried to install with Opera and have a successful intastalation. Edited August 31, 2012 by iAlex (see edit history) 1 Link to comment Share on other sites More sharing options...
mraspor Posted September 4, 2012 Share Posted September 4, 2012 Try changing php directive in php.ini to: max_execution_time = 300 #5 mins 1 Link to comment Share on other sites More sharing options...
ask Posted September 21, 2012 Share Posted September 21, 2012 I'm trying to install the latest a version and I get the same error, although I have already unset the localization file. It's a 500 Internal Server Error at 45% Configure Shop Information. What should I do? Link to comment Share on other sites More sharing options...
subarufor Posted September 21, 2012 Share Posted September 21, 2012 (edited) I have an error when trying to install 1.5.0.5 - 1.5.0.15. But I have not problems during 1.5.0.17 final installation. Edited September 21, 2012 by subarufor (see edit history) Link to comment Share on other sites More sharing options...
simmenu Posted September 22, 2012 Share Posted September 22, 2012 Same problem (1.5.0.17 )..Google chrome and firefox "An error occured during installation." %67 Link to comment Share on other sites More sharing options...
gsv1982 Posted September 25, 2012 Share Posted September 25, 2012 1.5.0.15 - install no problems at loсalhost 1.5.0.17 - PROBLEM!!! x Create settings.inc file An error occured during installation ... You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. Link to comment Share on other sites More sharing options...
gsv1982 Posted September 25, 2012 Share Posted September 25, 2012 Install Prestashop 1.5.0.17 in Internet Explorer 8. All good install - ok 100% Link to comment Share on other sites More sharing options...
kipme Posted September 27, 2012 Share Posted September 27, 2012 I tried all browsers) ( FF, Chrome, Opera, E8 ). There are other ideas? thnx Link to comment Share on other sites More sharing options...
Twinkles Posted September 27, 2012 Share Posted September 27, 2012 same for me - does not work. Link to comment Share on other sites More sharing options...
shokinro Posted September 27, 2012 Share Posted September 27, 2012 I don't think the issue is related to browser, it is caused on server side. I recommended you to re-download the packages. maybe the package you download is not completed, some files was missing. Link to comment Share on other sites More sharing options...
kipme Posted September 28, 2012 Share Posted September 28, 2012 I fix my problem. I did not have enough server resources, and I changed: max_execution_time = 1800 memory_limit = 1024M Max. size of the request 120М )) Max. file size 100М. and I add to phpmyadmin/config.inc.php this: $cfg['ExecTimeLimit'] = 0; to nginx.conf this: proxy_read_timeout 120; proxy_connect_timeout 120; I do not know whether this is set up, but they helped me. Link to comment Share on other sites More sharing options...
alocin82 Posted October 1, 2012 Share Posted October 1, 2012 some problem....1.5.0.17 stop to instal at 34%....any solution... i am installing it on server on-line ( i mean no wamp ) Link to comment Share on other sites More sharing options...
nickwaind Posted October 1, 2012 Share Posted October 1, 2012 I'm having a similar issue to a few others on this particular topic. An error occured during installation... Fails at 45% - Configure shop information My version is: 1.5.0.17, I am installing on a Windows 2008 R2 Web Edition Server, I initially got an error regarding the "settings.inc" which was resolved as a permissions issue on the /config folder, following that I got an error regarding "Create default shop and languages", this was resolved again with a permissions issue with the /img folder. These errors were picked up in the /log folder, however nothing is being reported for this particular error. Any feedback would be gratefully received. Link to comment Share on other sites More sharing options...
justoneweek Posted October 3, 2012 Share Posted October 3, 2012 I had the same problem with google chrome.. I tryed again with IE and works.. Link to comment Share on other sites More sharing options...
nickwaind Posted October 3, 2012 Share Posted October 3, 2012 Thanks for the reply, I've tried this also, see attached Screen Grab, but regrettably it's the same outcome. I'm wondering if it's a folder permissions issue, being a Windows server I don't quite have the luxury of setting the permissions via Filezilla, it refuses to do it. I wonder if anybody has considered creating a BAT file similar to the one that Umbraco contributors have done for their CMS: http://our.umbraco.o...om-command-line Any further feedback would be gratefully received especially from anyone who has successfully installed on IIS 7. Thanks Nick Link to comment Share on other sites More sharing options...
awan89 Posted May 22, 2013 Share Posted May 22, 2013 Now has been Fixed dude...... Link to comment Share on other sites More sharing options...
Bejo Posted July 1, 2013 Share Posted July 1, 2013 I fix my problem. I did not have enough server resources, and I changed: max_execution_time = 1800 memory_limit = 1024M Max. size of the request 120М )) Max. file size 100М. and I add to phpmyadmin/config.inc.php this: $cfg['ExecTimeLimit'] = 0; to nginx.conf this: proxy_read_timeout 120; proxy_connect_timeout 120; I do not know whether this is set up, but they helped me. where did you change this? Link to comment Share on other sites More sharing options...
neerajsk24 Posted July 27, 2014 Share Posted July 27, 2014 0 % Create settings.inc file An error occured during installation...You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. i am having the same problem : : ( Link to comment Share on other sites More sharing options...
Mahdi Shad Posted December 19, 2014 Share Posted December 19, 2014 I had the same problem (45%) and it solved by activate Mbstring in my host Link to comment Share on other sites More sharing options...
jamesfu Posted April 9, 2015 Share Posted April 9, 2015 Just wanted to chip in, if none of the above fixed your problem, have a look in your error_log. For me it was a timeout issue. Error: [Thu Apr 09 10:44:23 2015] [warn] [client xx.xx.xx.xx] mod_fcgid: read data timeout in 30 seconds, referer: http://xxx.com/install/index.php [Thu Apr 09 10:44:23 2015] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php, referer: http://xxx.com/install/index.php Increasing in httpd.conf: FcgidIOTimeout 60 And then reloading Apache fixed it. (You will need to drop all the tables Prestashop created in the first failed attempt.) Link to comment Share on other sites More sharing options...
syed.obaid Posted September 1, 2016 Share Posted September 1, 2016 im facing the trouble while installation process of prestashop at my hosting and presta shop version 1.6.0.6 PrestaShop version: 1.6.0.6 Shop URL: http://apparelprime.com/OT/ Current theme in use: ot_sexyqueen at 54 % Create settings.inc file Create database tables Create default shop and languages Populate database tables Configure shop information Install demonstration data An error occured during installation...You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. some one can help me out. my email id is : [email protected] s You can use the links on the left column to go back to the previous steps, or restart the installation process by Link to comment Share on other sites More sharing options...
Sam1988 Posted October 20, 2016 Share Posted October 20, 2016 I am trying to install latest version of Prestashop and it fails when installing modules. I get no error description, just that modules could not be installed and that I can try again. Link to comment Share on other sites More sharing options...
Mahdi Shad Posted October 28, 2016 Share Posted October 28, 2016 I am trying to install latest version of Prestashop and it fails when installing modules. I get no error description, just that modules could not be installed and that I can try again. you must check your error_log file Link to comment Share on other sites More sharing options...
jhonzz007 Posted July 26, 2017 Share Posted July 26, 2017 try to use differe I solved the problem.When i tried to install Prestashop with Google Chrome browser i have an errors.Then I tried to install with Opera and have a successful intastalation. Yes.. it works. Try to use different browser, it works 100% Link to comment Share on other sites More sharing options...
Recommended Posts