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.

Problem:

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"

Solution:

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!

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 our Help Center:
Email Address
Optional, but our team may contact you for more information.
Did you find this article helpful?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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!

Help Center Search

Current Customers

Email: support@WebHostingHub.com 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.