Jump to content

Install prestashop 1.5.6.2 Uncaught exception 'PrestaShopException'


Recommended Posts

Hi community, i'am new in Prestashop and i tries to install prestashop 1.5.6.2.

 

The web install send me a internal server error 500 with the next error in apache log don't appears nothing wrong.

 

And i try a clean install by command line and send me this:

 

PHP Fatal error:  Uncaught exception 'PrestaShopException' with message 'Property Order->total_discounts is not valid' in /home/usuario/www/classes/ObjectModel.php:837
Stack trace:
#0 /home/usuario/www/classes/ObjectModel.php(255): ObjectModelCore->validateFields()
#1 /home/usuario/www/classes/order/Order.php(277): ObjectModelCore->getFields()
#2 /home/usuario/www/classes/ObjectModel.php(455): OrderCore->getFields()
#3 /home/usuario/www/classes/order/Order.php(282): ObjectModelCore->add(true, false)
#4 /home/usuario/www/install/classes/xmlLoader.php(437): OrderCore->add(true, false)
#5 /home/usuario/www/install/classes/xmlLoader.php(310): InstallXmlLoader->createEntity('orders', 'orders_1', 'Order', Array, Array)
#6 /home/usuario/www/install/classes/xmlLoader.php(214): InstallXmlLoader->populateEntity('orders')
#7 /home/usuario/www/install/models/install.php(716): InstallXmlLoader->populateFromXmlFiles()
#8 /home/usuario/www/install/controllers/console/process.php(228): InstallModelInstall->installFixtures(NULL, Array)
#9 /hom in /home/usuario/www/classes/ObjectModel.php on line 837
 

the /tmp have permisson 777

 

user folder under www have persission 775 and the user is in the apache group.

 

what is my problem?

 

thanks for your help

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

thanks Nemo1, The web install showme now a the next error:

 

[sun Jan 26 18:18:14 2014] [error] [client 200.74.15.159] PHP Warning:  rename(/tmp/class_index.php.S5OuE7,/home/usuario/www/cache/class_index.php): Permission denied in /home/usuario/www/classes/Autoload.php on line 143
[sun Jan 26 18:18:15 2014] [debug] mod_deflate.c(615): [client 200.74.15.159] Zlib: Compressed 0 to 2 : URL /index.php
[sun Jan 26 18:18:16 2014] [error] [client 200.74.15.159] PHP Warning:  rename(/tmp/class_index.php.LN0fIq,/home/usuario/www/cache/class_index.php): Permission denied in /home/usuario/www/classes/Autoload.php on line 143
[sun Jan 26 18:18:16 2014] [error] [client 200.74.15.159] PHP Warning:  rename(/tmp/class_index.php.lsnfvR,/home/usuario/www/cache/class_index.php): Permission denied in /home/usuario/www/classes/Autoload.php on line 143
 

but /tmp have 777 permisson

and /www have 755 permisson

and the user is in the group www-data

 

 

New: i tried a clean web install and sendme a 500 error, but apache log only show next:

 

[sun Jan 26 18:25:47 2014] [debug] mod_deflate.c(615): [client 200.74.15.159] Zlib: Compressed 0 to 2 : URL /index.php
[sun Jan 26 18:28:21 2014] [debug] mod_deflate.c(615): [client 200.74.15.159] Zlib: Compressed 0 to 2 : URL /index.php
 

 

i dont understand the problem.

Edited by apoyomutuo (see edit history)
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...