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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Arnel Custodio, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Add a note field to order page in Prestashop 1.5
  2. how to make new website with single account.
  3. Site under brute force attack

Support 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.