TimPSDev Posted November 24, 2016 Share Posted November 24, 2016 (edited) Hi,We've recently finished developing our prestashop site and are now experiencing issues with adding products.When we add a product on the catalog page in the BO, it sometimes adds the product directly and other times just returns the same page again with all fields blank (so all the fields are empty again and nothing is saved). This is ofcourse really annoying and I'm not sure why it's happening.To debug I tried:- Enabling MySQL verbose logging, no INSERT INTO when the bug occurs.- Downgrading PHP 7 to PHP 5.6 - Downgrading MySQL 10 to 5.5- Disabling cache / removing cache- Checking Nginx error.log/access.log I only see the ajax requests but no errors. When I change _PS_MODE_DEV_ to true I don't see any output either.It happens both in Opera and Safari and also on two different machines. It happens on editing product pages as well, especially when I insert a tag for example It simply won't add (anytime). Your support would be great, thanks in advance! PS Version: 1.6.1.7PHP Version: 7.0.13-1 Memory Limit: 256MBMySQL Version: 10.0.28 (MariaDB) Edited November 24, 2016 by TimPSDev (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted November 24, 2016 Share Posted November 24, 2016 I suggest to try PHP 5.6. I'm not sure if PrestaShop 1.6.1.7 and all your modules are compatible with PHP 7. Link to comment Share on other sites More sharing options...
TimPSDev Posted November 24, 2016 Author Share Posted November 24, 2016 I suggest to try PHP 5.6. I'm not sure if PrestaShop 1.6.1.7 and all your modules are compatible with PHP 7. I did try that as well, I'm having the same issue there. Link to comment Share on other sites More sharing options...
TimPSDev Posted November 24, 2016 Author Share Posted November 24, 2016 Okay, so I googled some more and finally find a topic that fixed the issue although I couldn't find it at first, in PS 1.6.17 you have to remove the three lines as listed here:https://www.prestashop.com/forums/topic/300347-cannot-edit-product-save-or-save-and-stay-not-work/?p=2429099 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now