Jump to content

instalation error on VPS


Recommended Posts

Hello,

 

i try to install new version of PS 1.6.1.1 and when is all set there is an error during installation.

PS: when I try install PS 1.6.1.0 instalation is withou any error.

 

Pleas, where can be problem?

 

Bellow is info from instalation process:

 

The database was successfully connected

 
 
 
34%
  1. creating file settings.inc
  2. Creating a database table
  3. Creating shop and its translation
  4. Filling the database table
An error occurred during the installation ...

 

info from error log:

PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Property Carrier->delay is empty' in /www/new-partykostym/classes/ObjectModel.php:954\nStack trace:\n#0 /www/new-partykostym/classes/ObjectModel.php(295): ObjectModelCore->validateFieldsLang()\n#1 /www/new-partykostym/classes/ObjectModel.php(511): ObjectModelCore->getFieldsLang()\n#2 /www/new-partykostym/classes/Carrier.php(201): ObjectModelCore->add(true, false)\n#3 /www/new-partykostym/install/classes/xmlLoader.php(447): CarrierCore->add(true, false)\n#4 /www/new-partykostym/install/classes/xmlLoader.php(305): InstallXmlLoader->createEntity('carrier', 'carrier_1', 'Carrier', Array, Array)\n#5 /www/new-partykostym/install/classes/xmlLoader.php(212): InstallXmlLoader->populateEntity('carrier')\n#6 /www/new-partykostym/install/models/install.php(236): InstallXmlLoader->populateFromXmlFiles()\n#7 /www/new-partykostym/install/controllers/http/process.php(179): InstallModelInstall->populateDatabase(false)\n#8 /www/new-partykostym/install/controllers/http/process.php(91 in /www/new-partykostym/classes/ObjectModel.php on line 954, referer: http://new.partykostym.cz/install/index.php

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

info from error log:

PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Property Carrier->delay is empty' in /www/new-partykostym/classes/ObjectModel.php:954\nStack trace:\n#0 /www/new-partykostym/classes/ObjectModel.php(295): ObjectModelCore->validateFieldsLang()\n#1 /www/new-partykostym/classes/ObjectModel.php(511): ObjectModelCore->getFieldsLang()\n#2 /www/new-partykostym/classes/Carrier.php(201): ObjectModelCore->add(true, false)\n#3 /www/new-partykostym/install/classes/xmlLoader.php(447): CarrierCore->add(true, false)\n#4 /www/new-partykostym/install/classes/xmlLoader.php(305): InstallXmlLoader->createEntity('carrier', 'carrier_1', 'Carrier', Array, Array)\n#5 /www/new-partykostym/install/classes/xmlLoader.php(212): InstallXmlLoader->populateEntity('carrier')\n#6 /www/new-partykostym/install/models/install.php(236): InstallXmlLoader->populateFromXmlFiles()\n#7 /www/new-partykostym/install/controllers/http/process.php(179): InstallModelInstall->populateDatabase(false)\n#8 /www/new-partykostym/install/controllers/http/process.php(91 in /www/new-partykostym/classes/ObjectModel.php on line 954, referer: http://new.partykostym.cz/install/index.php

What is your PHP timeout? Are you using PHP DSO, fCGI, etc? I think the installer is dying before it has finished loading all the settings into the database.

Edited by Denver Prophit Jr. (see edit history)
Link to comment
Share on other sites

  • 1 month later...

I have exactly the same problem with prestashop 1.6.1.1, also on VPS... 

 

Also I checked the database (MySQL) and it actually STARTS to fill the database - there ARE some stored rows, so this seem to be more of a PHP-side problem.

 

Then I tried to set permissions of all files&directories to 755  - still nothing... I won't ever do something like setting permissions to 777 - since that is a major security issue and something that needs it is bad designed.

 

Few weeks ago I've installed PS 1.6.0.14 with no problems...

 

My sets:

  • memory_limit is set to -1 (no limitation, server has at least 1GB to use)
  • max_execution_time is 30 (seconds)
  • mysql.connect_timeout is 60

Are these OK? If so, where could be the problem? 

 

IMPORTANT NOTE - I just tried previous stable version - PrestaShop 1.6.1.0, there was some little module installation error - fixed by simply using link to restart installation process - otherwise it went fine - I got to 1.6.1.1 version by installing module "1-Click Upgrade - AutoUpgrade Module" with no problems.

Edited by jave.web (see edit history)
Link to comment
Share on other sites

I have exactly the same problem with prestashop 1.6.1.1, also on VPS... 

 

Also I checked the database (MySQL) and it actually STARTS to fill the database - there ARE some stored rows, so this seem to be more of a PHP-side problem.

 

Then I tried to set permissions of all files&directories to 755  - still nothing... I won't ever do something like setting permissions to 777 - since that is a major security issue and something that needs it is bad designed.

 

Few weeks ago I've installed PS 1.6.0.14 with no problems...

 

My sets:

  • memory_limit is set to -1 (no limitation, server has at least 1GB to use)
  • max_execution_time is 30 (seconds)
  • mysql.connect_timeout is 60

Are these OK? If so, where could be the problem? 

 

IMPORTANT NOTE - I just tried previous stable version - PrestaShop 1.6.1.0, there was some little module installation error - fixed by simply using link to restart installation process - otherwise it went fine - I got to 1.6.1.1 version by installing module "1-Click Upgrade - AutoUpgrade Module" with no problems.

 

memory_limit is set to 256

max_execution_time should be 600

mysql.connect_timeout is 600

 

and try again.

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