Jump to content

Error Installing PrestaShop 1.5.4


Recommended Posts

I am trying to install PrestaShop and get the following error on the last installation screen with the status bar at 50%:

  1. Create settings.inc file
  2. Create database tables
  3. Create default shop and languages
  4. Populate database tables
  5. Configure shop information - (RED X ON THIS STEP)

 

An error occured 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.

 

I have dropped all the tables on my MySQL database and gone through the installation again multiple times to no avail, the installation still fails. Any help would be greatly appreciated.

 

I am running PHP v5.3 and MySQL v5.5.21

Link to comment
Share on other sites

I deleted all files from the server, re-uploaded using filezilla, and got the exact same error.

 

I checked the logs, I get a php error saying:

 

PHP Warning: file_get_contents(C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\admin\themes\default\template\controllers\products\informations.tpl): failed to open stream: No such file or directory in C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\tools\smarty\sysplugins\smarty_internal_resource_file.php on line 65

 

I also verified that tools\smarty\sysplugins\smarty_internal_resource_file.php does exist in that directory, and appears to be a complete copy of the file. I recopied that specific file just to be safe, but am still getting the error.

 

I also found this error in the logs:

 

 
PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Group->name is empty' in C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php:874
Stack trace:
#0 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(306): ObjectModelCore->validateFieldsLang()
#1 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(490): ObjectModelCore->getFieldsLang()
#2 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\Group.php(147): ObjectModelCore->add(true, false)
#3 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php(427): GroupCore->add(true, false)
#4 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\LocalizationPack.php(396): ObjectModelCore->save()
#5 C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\LocalizationPack.php(54): LocalizationPackCore->updateDefaultGroupDisplayMethod(Object in C:\DWASFiles\Sites\proactivechatdemo\VirtualDirectory0\site\wwwroot\classes\ObjectModel.php on line 874

Edited by JustinY17 (see edit history)
Link to comment
Share on other sites

I am trying to install PrestaShop and get the following error on the last installation screen with the status bar at 50%:

  1. Create settings.inc file
  2. Create database tables
  3. Create default shop and languages
  4. Populate database tables
  5. Configure shop information - (RED X ON THIS STEP)

 

An error occured during installation...

This is the same issue I reported yesterday. It has nothing to do with corrupt files. I downloaded the prestashop_1.5.4.0.zip from the official download URL directly to my hosted server root by using wget and unzip over ssh.

I had additional problems because of file name case issues, but once I fixed those myself I get to the same stage as you are.

All it would take is that the developers try the installation process on a Linux server and they would see for themselves., but nobody seems to care, as I reported it a day ago and nobody answered so far.

Link to comment
Share on other sites

OK, sorry for the confusion.

The blame is clearly on 1and1, as described in my other post: http://www.prestashop.com/forums/index.php?/topic/240814-fix-to-installation-errors/page__view__findpost__p__1194870.

This is clearly an problem caused by 1and1, but maybe it is a good idea to remove the sticky "Issues with 1and1" thread, and just instruct new users to unalias the unzip command, which solves the issue.

Link to comment
Share on other sites

  • 4 weeks later...

I am getting the same "Uncaught exception 'PrestaShopException' with message 'Property Group->name is empty' in ObjectModel.php:874 error as JustinY17 when I install the latest Prestashop 1.5.4.1. I have installed Prestashop on the same server in the past without issues, and even have past stores I setup in the past running just fine on this same server.

 

So what I decided to do was to try installing a older version that worked fine in the past. In this case I installed Prestashop 1.5.2.0. When I tried this version it worked fine without any issues. I did not get the error above. I was even able to use the "1 Click Upgrade" to upgrade from 1.5.2.0 to 1.5.4.1 without any issues. So I think the issue is something introduced to the installer in a later version of Prestashop (my guess maybe the 1.5.4 series) that might effect specific hosting environments.

 

I opened a bug report at "http://forge.prestashop.com/browse/PSCFV-9183".

Link to comment
Share on other sites

  • 3 months later...

I ended up finding out in my case the issue was with auto_increment_increment on the MySQL database not being set to 1. Prestashop requires that the MySQL creates autoincrements in numeric order. Prestashop is the only E-commerce solution I have used that had this requirement. I find it interesting that the software is written to expect IDs to increment by 1. Overall I have found lots of various issues with Prestashop, and I think the code needs a lot of cleaning up (as others have agreed in other posts). I hope you find better success using Prestashop then I have. So have my experience has been tracking down bug after bug.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...