The latest version of Prestashop 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.


prestashop15-error-messageThe 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(''.$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(''.$version.'/'.$data['shop_country'].'.xml'); */

After making this change, save the file and then attempt the installation again.

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!

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
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.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2014-07-10 12:15 am
You save my life mannnnnnnn thankssssssssssssssss:) you are Bigg

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.