InMotion Hosting Support Center

During our PrestaShop 1.5 testing, we came upon the following error when attempting to install PrestaShop 1.5:

prestashop-an-error-occurred-during-installationConfigure shop information

An error occurred during installation

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

In this file, install/error_log, we found the following error:

[14-May-2012 13:54:30] PHP Warning:  simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 1: parser error : Space required after the Public Identifier in /home/userna5/ on line 41

Therefore, we reviewed this file - classes/LocalizationPack.php - and saw the problem was with the $file variable being passed here:

public function loadLocalisationPack($file, $selection, $install_mode = false)
if (!$xml = simplexml_load_string($file))
return false;

During our troubleshooting we emailed ourselves the $file variable (using the php mail function) and found out the problem was in this file - install/models/install.php - at line 401:

$localization_file_content = @Tools::file_get_contents(''.$version.'/'.$data['shop_country'].'.xml');

What was happening is that $localization_file_content was set to, however that file did not exist. At the time of this writing, that URL was resulting in a 404 error. To resolve this issue, we added the following line in install/models/install.php:

$localization_file_content = @Tools::file_get_contents(''.$version.'/'.$data['shop_country'].'.xml');

The unset function deleted the variable, and therefore ran the following code, which creates the contents based upon files already stored within PrestaShop 1.5 (instead of trying to download them from - which is resulting in a 404 error)

if (!$localization_file_content)
$localization_file = _PS_ROOT_DIR_.'/localization/default.xml';
if (file_exists(_PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml'))
$localization_file = _PS_ROOT_DIR_.'/localization/'.$data['shop_country'].'.xml';
$localization_file_content = file_get_contents($localization_file);

Continued Education in Course Prestashop 1.5
You are viewing Section 56: 302: PrestaShop 1.5 - Configure shop information - an error occurred during installation
Section 55: 312: How to configure the 1-click Upgrade module in PrestaShop 1.5

Support Center Login

Social Media Login

Social Login Joomla

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!
Ask a Question
n/a Points
2014-10-14 3:13 pm

Shopping cart does not work.  I am getting an error stating invalid address at line 359. Please let me know how to resolve this problem or please take care of it for me.

11,186 Points
2014-10-14 3:15 pm
Could you provide the exact and full error as well as the information that you have on that line and the surrounding lines?
n/a Points
2015-01-15 2:07 am

I am installing through GODADDY. belo werror i have got STORE INSTALLTION Tab. could you please guide me.


  1. Create file

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

31,565 Points
2015-01-15 10:47 am
Hello Sunil,

Have you tried going back to the previous step and then retrying? Does it do the same? Are there any other issues with the install? Error messages? Have you tried this on a completely clean folder structure or are you trying to overwrite some files? Which specific version are you trying to install?

Kindest Regards,
Scott M
n/a Points
2015-09-21 4:41 am


I keep getting this message: - An error occurred during installation... once i get to the 53% on installtion. Please help. I am using Prestashop

31,565 Points
2015-09-21 3:12 pm
Hello Naomi,

Have you tried the fix described above?

Kindest Regards,
Scott M
n/a Points
2015-10-20 11:49 pm

I was getting this error at store installation (45%) tried your fix and now it wont get past create default shop (23%)

n/a Points
2015-10-21 12:26 am

Also i'm not getting the error above in my error log.


Mine says

/ssv3_installer_payload-cyE04EE2Az.php startup/ssv3_installer_payload-ZMfmBDB2If.php startup/ssv3_installer_payload-8crYgRD7v9.php startup


I also tried Mojos one-click install and that doesn't work either

28,447 Points
2015-10-21 11:53 am
Hello Trish,

I'm sorry you're having problems with the installation of PrestaShop. We need a little more information in order to determine what's happening. What version of PrestaShop are you loading? Are you hosting with InMotion Hosting, or are you trying to load this elsewhere? If you're not hosting with us, please make sure you meet the minimum installation requirements. When you're reviewing your system configuration for the installation requirements, please make sure that you match with the installation type (on a computer, or to a server on the internet). We are hosting company and support the server hosted on the internet type of installation.

If you could please provide us this information then we can investigate the issue in more depth.

If you have any further questions or comments, please let us know.

Arnel C.
n/a Points
2015-10-21 3:05 pm

Hi Arnel


My server information is:

Platform Type Debian MySQL Version 5.5.44 Perl Version 5.8.8 PHP Version 5.3


Hosted by ipage.  I assume this is acceptable otherwise why do they offer PrestaShop script via Mojo one-click installs?


Anyway, Mojo couldn't install it (but that's nothing new, Mojo often crashes on installs) So I also downloaded PrestaShop v1.6.1.1from your website and uploaded it via ftp.

28,447 Points
2015-10-21 8:14 pm
Hello Trish,

Sorry for the problems with the installation. I'm guessing it should be okay on iPage. I couldn't tell you why it would be crashing there as that is not our hosting environment and we do not have access to them. PrestaShop offers a very complete installation guide that you can find here: Installing PrestaShop. If you continue to have installation problems, please contact iPage technical support or provide more specific error details at the time of the crash so that we can investigate the issue further. You can also always post installation issues directly on the PrestaShop support forums page. Many of users would be happy to help.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.

Post a Comment

Email Address:
Phone Number:

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

14 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!