Jump to content

Error in saving products. PHP Fatal Error: Call to a member function rowCount (in DbPDO)


Recommended Posts

Hello

 

after upgrading from 1.6.1.4 to 1.6.1.7 i can't save any product

 

 

ERROR 500 - Internal Server Error!

 

 

 

LOG:

FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function rowCount() on boolean in /var/www/clients/clientx/webx/web/classes/db/DbPDO.php on line 208" while reading response header from upstream

 

 

SERVER INFORMATION:

Linux #1 SMP Debian 3.16.7-ckt25-2+deb8u2 (2016-06-25) x86_64

Server software version nginx/1.10.1

PHP version 5.6.24-0+deb8u1

Memory limit 768M

Max execution time 300

 

I checked the database there is no corrupted tables

In the same server other prestashop installations, works fine

 

Any idea?!

Thanks for your help

 

 

 

 

 

PS. Please edit the title to:

Error in saving products. PHP Fatal Error: Call to a member function rowCount (in DbPDO)

Edited by endriu107
Edit title. (see edit history)
Link to comment
Share on other sites

I have the same problem, I can't upload new products or edit existing ones for some time now.

I have turned the debug mode on and this is the error I see: 
 

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
 
http://roxpets.nl/admin123/index.php?controller=AdminProducts&token=1897b23…=1&action=Shipping&updateproduct&ajax=1&rand=1474825074103&_=1474825069775 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
products.js:177 Uncaught TypeError: Cannot read property 'replace' of undefined
 
This is the code from product.js
if (typeof(contentOnly) !== 'undefined')
{
if (!contentOnly && !!$.prototype.fancybox) {
$('li:visible .fancybox, .fancybox.shown').fancybox({
'hideOnContentClick': true,
'openEffect'    : 'elastic',
'closeEffect'   : 'elastic'

 

I hope someone can help me!  :)

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