Jump to content

Installation error 45% prestashop 1.6.0.14


Recommended Posts

Hi,

 

I encounter an issue with the installation process.

After populate the database, the installation stop with a message : "An error occured"

No much info about the error.

I tried to change the unix rights on the config folder but no change.

chmod 777 /var/www/html/prestashop/config/

Here the error I get in /var/log/httpd/whatever.log :

[Tue Apr 28 12:11:35 2015] [error] [client 192.168.1.40] PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Property Tab->name length (72) must be between 0 and 64' in /var/www/html/prestashop/classes/ObjectModel.php:913\nStack trace:\n#0 /var/www/html/prestashop/classes/ObjectModel.php(319): ObjectModelCore->validateFieldsLang()\n#1 /var/www/html/prestashop/classes/ObjectModel.php(669): ObjectModelCore->getFieldsLang()\n#2 /var/www/html/prestashop/classes/Tab.php(507): ObjectModelCore->update(false)\n#3 /var/www/html/prestashop/controllers/admin/AdminTranslationsController.php(649): TabCore->update()\n#4 /var/www/html/prestashop/classes/Language.php(910): AdminTranslationsControllerCore::addNewTabs(Object(SimpleXMLElement), Array)\n#5 /var/www/html/prestashop/classes/LocalizationPack.php(317): LanguageCore::downloadAndInstallLanguagePack(Object(SimpleXMLElement), NULL, Object(SimpleXMLElement))\n#6 /var/www/html/prestashop/classes/LocalizationPack.php(66): LocalizationPackCore->_installLanguages(Object(SimpleXMLElement), true)\n#7 /var/www/html/prestashop/install/model in /var/www/html/prestashop/classes/ObjectModel.php on line 913, referer: http://192.168.1.104/install/index.php?restart=true

I created a VM with Virtualbox, install a CentOS 6 with minimal install.

Updated the system.

I followed the requirement and the installation guide.

I set the owner to all files from the zip to "apache"

chown -R apache: /var/www/html/prestashop/

packages versions :

[root@localhost config]# rpm -qa |grep php
php-cli-5.3.3-40.el6_6.x86_64
php-pdo-5.3.3-40.el6_6.x86_64
php-gd-5.3.3-40.el6_6.x86_64
php-common-5.3.3-40.el6_6.x86_64
php-5.3.3-40.el6_6.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
php-xml-5.3.3-40.el6_6.x86_64
[root@localhost config]# rpm -qa |grep mysql
mysql-5.1.73-3.el6_5.x86_64
mysql-libs-5.1.73-3.el6_5.x86_64
mysql-server-5.1.73-3.el6_5.x86_64
php-mysql-5.3.3-40.el6_6.x86_64
[root@localhost config]# rpm -qa |grep httpd
httpd-2.2.15-39.el6.centos.x86_64
httpd-tools-2.2.15-39.el6.centos.x86_64

All packages come from base repository.

 

I tried to install on a CentOs 7 before but couldn't make it work, blank page with  a php error :/

 

Best regards,

Link to comment
Share on other sites

Hi,

still not working.

I remove all the old folder and install a new one with the version 1.6.0.11

Same error at 45%.

I disableled SELINUX and shutdown the firewalll, but nothing change :'(

192.168.1.40 - - [10/May/2015:18:18:21 +0700] "POST /install/index.php HTTP/1.1" 200 11221
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/theme/js/process.js HTTP/1.1" 200 6205
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/theme/img/visu_boBlock.png HTTP/1.1" 200 7922
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/theme/img/visu_foBlock.png HTTP/1.1" 200 10815
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/theme/img/help.png HTTP/1.1" 200 2156
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/theme/img/print.png HTTP/1.1" 200 175
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/index.php?compile_templates=1&bo=0 HTTP/1.1" 200 -
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/index.php?compile_templates=1&bo=1 HTTP/1.1" 200 -
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/index.php?generateSettingsFile=true&_=1431256713704 HTTP/1.1" 200 29
192.168.1.40 - - [10/May/2015:18:18:33 +0700] "GET /install/index.php?installDatabase=true&_=1431256713705 HTTP/1.1" 200 29
192.168.1.40 - - [10/May/2015:18:18:36 +0700] "GET /install/index.php?installDefaultData=true&_=1431256713706 HTTP/1.1" 200 29
192.168.1.40 - - [10/May/2015:18:19:06 +0700] "GET /install/index.php?populateDatabase=true&_=1431256713707 HTTP/1.1" 200 29
192.168.1.40 - - [10/May/2015:18:19:09 +0700] "GET /install/index.php?configureShop=true&_=1431256713708 HTTP/1.1" 500 -

 

Everything okay until the configuration process.

 

Any help would be welcome.

 

Best regards,

 

Link to comment
Share on other sites

Problem solved.

Because the issue was about the configuration, I changed my shop configuration on the beginning of installation.

I changed the shop name from "shop" to "bigshop" and the password from "123456789" to "HelloWorld2015".

It could come from a too weak password but that would be so much simple with a real error message.

 

Anyway, thanks for your help and for this great soft.

 

Bye

Link to comment
Share on other sites

 

 

PHP Fatal error: Uncaught exception 'PrestaShopException' with message 'Property Tab->name length (72) must be between 0 and 64' in /var/www/html/prestashop/classes/ObjectModel.php:913

 

This line means that PS is trying to save something to the database; in this case probably a module. The module tab-name is 72 characters, and can only be 64 as the message reads. Perhaps you were installing some modules?

Link to comment
Share on other sites

Hi,

 

 

No additional modules, just unziped the files provide here.

The probleme was about the shop name or the password.

You can reproduce the error, I provide all informations of my environment above.

 

Best regards,

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