hzolika Posted June 18, 2014 Share Posted June 18, 2014 Hi, I'm having an error during installation at 45%. This is the Configure shop information stage. I've tried to reinstall it again, after deleted the tables in the database, and also tried to create a new database but the error always comes up at 45%. I've successfully installed 1.5 before on the same server with no issues. Any idea what causes it? Thanks Link to comment Share on other sites More sharing options...
MEG Venture Posted June 18, 2014 Share Posted June 18, 2014 I am in the same boat... Link to comment Share on other sites More sharing options...
SoloWay Posted June 18, 2014 Share Posted June 18, 2014 Same ... Link to comment Share on other sites More sharing options...
azziat Posted June 18, 2014 Share Posted June 18, 2014 +1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2014 Share Posted June 18, 2014 +1 Hello everyone, is everyone trying to install a fresh version of 1.6.0.7? Could you please let me know when you downloaded the software and what type of host/server you are using? Thank you! We'll get to the bottom of this. Cheers! Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2014 Share Posted June 18, 2014 One more question guys, what language has everybody installed with? Link to comment Share on other sites More sharing options...
MEG Venture Posted June 18, 2014 Share Posted June 18, 2014 I downloaded from the official prestashop website today and made a fresh install in English. BTW, before that, I tried to make an upgrade from 1.6.0.6, and got a blank page at the end. Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2014 Share Posted June 18, 2014 I downloaded from the official prestashop website today and made a fresh install in English. BTW, before that, I tried to make an upgrade from 1.6.0.6, and got a blank page at the end. Did you download it more than 13 hours ago? Link to comment Share on other sites More sharing options...
MEG Venture Posted June 18, 2014 Share Posted June 18, 2014 No, I downloaded within last 12 hours. Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 18, 2014 Share Posted June 18, 2014 I'm emailing you at info with a slightly older version. Please update this thread when you have a chance. It may take some time for the file to Email. Thanks Link to comment Share on other sites More sharing options...
azziat Posted June 18, 2014 Share Posted June 18, 2014 can u email me too older version to test it Link to comment Share on other sites More sharing options...
josan_oliva Posted June 18, 2014 Share Posted June 18, 2014 I have the same problem... can u email me too older version to test it Thanks.. Link to comment Share on other sites More sharing options...
sashshop Posted June 18, 2014 Share Posted June 18, 2014 Same problem, any solutions? Link to comment Share on other sites More sharing options...
suziechs Posted June 19, 2014 Share Posted June 19, 2014 Same error message, after reinstalling 3 times it's glad to hear I am not the only sufferer.... Link to comment Share on other sites More sharing options...
hzolika Posted June 19, 2014 Author Share Posted June 19, 2014 I downloaded it on the 18th at 9:16 GMT May I have the email too? Thanks Link to comment Share on other sites More sharing options...
SoloWay Posted June 19, 2014 Share Posted June 19, 2014 (edited) Some investigation results...FireBug: URL Status GET index.php?configureShop=true&_=1403169508793 500 Internal Server Error And from error log:[19-Jun-2014 12:18:41] PHP Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /var/www/domain.com/classes/controller/AdminController.php on line 3101 Hope this helps. Thank You. Edited June 19, 2014 by SoloWay (see edit history) Link to comment Share on other sites More sharing options...
SoloWay Posted June 19, 2014 Share Posted June 19, 2014 Changing$fields = $class::$definition['fields']; to$fields = $class->$definition['fields']; in /classes/controller/AdminController.php on line 3101 fixes the problem with installation.Dear developers, is this correct solution? Link to comment Share on other sites More sharing options...
hzolika Posted June 19, 2014 Author Share Posted June 19, 2014 Changing $fields = $class::$definition['fields']; to $fields = $class->$definition['fields']; in /classes/controller/AdminController.php on line 3101 fixes the problem with installation. Dear developers, is this correct solution? Thanks for this. Yes, it fixes the problem in a way that the installation will finish, but then for me both the front and back office dies with an Internal Server Error. It might be something else, related to the server setting. Let's see what the others say. Link to comment Share on other sites More sharing options...
SoloWay Posted June 19, 2014 Share Posted June 19, 2014 (edited) but then for me both the front and back office dies with an Internal Server Error. Works fine for me. Default back and front are ok. Test other solution... Replace this: $class = get_class($object); $fields = $class::$definition['fields']; With this: $class_vars = get_class_vars(get_class($object)); $fields = $class_vars['fields']; Works fine for me too. P.S. My PHP Version: 5.2.6-1+lenny13 Edited June 19, 2014 by SoloWay (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 19, 2014 Share Posted June 19, 2014 Hello everyone, please enable mode_dev on your website and provide me the install URL through PM. We will take a look into this issue asap. Thank you! To enable mode_dev follow the instructions below. open: config/defines.inc.php find this line: define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
Gregory Roussac Posted June 19, 2014 Share Posted June 19, 2014 Changing $fields = $class::$definition['fields']; to $fields = $class->$definition['fields']; in /classes/controller/AdminController.php on line 3101 fixes the problem with installation. Dear developers, is this correct solution? Hi, Thank you for your feedback. I wonder why this function from an admin controller is called while installing. And I wonder which $class is causing this ! Can you please mail me a temporary access to your ftp so that I can run few tests on it ? [email protected] Best regards Link to comment Share on other sites More sharing options...
Gregory Roussac Posted June 19, 2014 Share Posted June 19, 2014 (edited) Works fine for me. Default back and front are ok. Test other solution... Replace this: $class = get_class($object); $fields = $class::$definition['fields']; With this: $class_vars = get_class_vars(get_class($object)); $fields = $class_vars['fields']; Works fine for me too. P.S. My PHP Version: 5.2.6-1+lenny13 Hi, Thank you for your fix but I believe by doing this , one level of the array is missing in your code, ie 'definition'. Regards Edited June 19, 2014 by Gregory Roussac (see edit history) Link to comment Share on other sites More sharing options...
hzolika Posted June 19, 2014 Author Share Posted June 19, 2014 Works fine for me. Default back and front are ok. Test other solution... Replace this: $class = get_class($object); $fields = $class::$definition['fields']; With this: $class_vars = get_class_vars(get_class($object)); $fields = $class_vars['fields']; Works fine for me too. P.S. My PHP Version: 5.2.6-1+lenny13 Thanks, this one worked! :-) Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 19, 2014 Share Posted June 19, 2014 If you are having this problem, please send me FTP Access. Link to comment Share on other sites More sharing options...
Gregory Roussac Posted June 19, 2014 Share Posted June 19, 2014 Dear all, I commited this https://github.com/PrestaShop/PrestaShop/commit/0d312f463c33ae726f890cf4017607b140ddc707 Thanks SoloWay for the workaround. Best regards Link to comment Share on other sites More sharing options...
SoloWay Posted June 19, 2014 Share Posted June 19, 2014 Thank You, PrestaTeam. Link to comment Share on other sites More sharing options...
benjamin utterback Posted June 19, 2014 Share Posted June 19, 2014 Thank you for your help. Also, this fix will be included in the upcoming version 1.6.0.8 which should be released this week. A very minor update. Link to comment Share on other sites More sharing options...
ttrreewwqq Posted June 20, 2014 Share Posted June 20, 2014 (edited) Hi The fix solves the 45% issue, but now I get stuck at 67%. Install modules undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined Any ideas? I'm using Windows Server 2003. Edited June 20, 2014 by steveryan (see edit history) Link to comment Share on other sites More sharing options...
SoloWay Posted June 20, 2014 Share Posted June 20, 2014 The fix solves the 45% issue, but now I get stuck at 67%. Hi. Try this: http://www.prestashop.com/forums/topic/242658-solved-install-modules-error-on-initial-install/ or this: https://github.com/PrestaShop/PrestaShop/commit/00addeef5766979b62ef9ab5cd6104a111ef64e7 Link to comment Share on other sites More sharing options...
WalTig Posted November 18, 2014 Share Posted November 18, 2014 I noticed that Prestashop Installation Error at x % still is a popular topic. As a heavy user / developer for own use I have done quite some installs (versions 1.5 and 1.6 in dutch language). And every now and then I am also facing the Prestashop Installation Error at x %. I can agree with the common opinion that it is not a bug in Prestashop (however, a more clear error message and error log would be nice). In case the error is not caused by permissions, the error is caused by server settings. Difficulty is that it is not always caused by server errors, so there is not always usefull info in the error logs. What I noticed today is: - SELinux might have an influence. Disabling SELinux gave a different behaviour (more progress in the installation process). Do not forget to enable SELinux again. - Permission 777 on all folders gave a different behaviour (more progress in the installation process). Do not forget to change the permissons back. - And most striking: after a partial installation it is worth trying to work with Prestashop. I ended up with a perfectly working Prestashop (including 63 installed modules) while the installation stopped at 63% during the installation of the modules. Removing the install folder and renaming the admin folder was enough to have a full functional Prestashop install. Link to comment Share on other sites More sharing options...
UrbanNoah Posted November 25, 2014 Share Posted November 25, 2014 I am installing prestashop 1.6.0.9 on cpanel and have this same problem right now. Is there any actual solution to fix this error? It stopped at 45% and it say configure shop information bla..bla.. Without any actual information where the problem lies After many try i finally give up and tried installing lower version of prestashop (1.4.7.3) and it succes. I still hope i will be able to install the newest version of prestashop. It would be great if someone will answer my question Thanks 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 error(45%) in 1.6.0.6 and solved by activate Mbstring on my host Link to comment Share on other sites More sharing options...
SyedaShah Posted March 15, 2019 Share Posted March 15, 2019 On 6/19/2014 at 1:50 AM, benjamin utterback said: i am using xampp server Link to comment Share on other sites More sharing options...
Juankiyo Posted October 17, 2019 Share Posted October 17, 2019 Hi, I know this is an old issue but I came across this 45% error - configure shop information while installing Prestashop 1.6.1.18 and wanted to share what fixed my issue. I did everything and reverted changes, but no matter if I made fresh installation with new database from scratch, the issue was still there. Fortunately I had made database backups (mysql) and after comparing and trying all steps again I found that sql_mode was messing up my Prestashop. So by running set global sql_mode=''; the issue was gone, and could complete the installation. No sure if this needs to be done inside the database you are using for PS. I had several databases, so before setting sql_mode I first run mysql> use prestashop. We should find out which value from sql_mode is breaking the installation, but it's worthy trying while you spot it. I noticed that 232 tables where created when reaching 45% and 268 total when installation is 100% Hope this helps . I spent the whole day to figure out what was going on, but finally worked. Cheers P.S. I also had some issues posted in this topic like installation fails when selecting a different Country. I normally install USA and then import lang packages I need. 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