The latest version of Prestashop 1.5.0.9 is currently in beta, and may therefore have some problems during installation. During our testing, we ran into one of those bugs, An error occurred during installation. This article has more information about the error we faced and how we resolved it.
The installation stops during installation at 50% with the following error:
"An Error occurred during installation..." - further detail on the issue shows this: "1. SQL errror on query Table "xxx_xxxxx" already exists"
The solution to this problem involves editing /install/models/install.php
Open that file for edit, and at line 400, you'll see the following:
$localization_file_content = @Tools::file_get_contents('http://api.prestashop.com/download/localization/'.$version.'/'.$data['shop_country'].'.xml');
Comment out this code by added /* to the begging of the line and */ to the end of the line, as in:
/* $localization_file_content = @Tools::file_get_contents('http://api.prestashop.com/download/localization/'.$version.'/'.$data['shop_country'].'.xml'); */
After making this change, save the file and then attempt the installation again.
NOTE:
If you continue to get the "table already exists error", simply change the prefix you're using or delete the database and start over. You installation will now complete!
n/a Points
|
2014-07-10 12:15 am
You save my life mannnnnnnn thankssssssssssssssss:) you are Bigg
|
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!