noodles57 Posted November 13, 2019 Share Posted November 13, 2019 I have updated my Prestashop site in a while. I do prefer the older version since it has much more customizing ability. The problem is now I can no longer add a new product! Adding name, descriptions, etc - all come back BLANK after submitting. Nothing has changed as far as the domain's php settings, and I have double checked that the database is as it should be. PLEASE HELP! 🤢 Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 1) activate debug mode and read errors. 2) read server error logs (from cPanel, Plesk or on FTP own log folder, or at least by asking your provider for that). Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 I did activate errors via php, no errors show. Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 3 minutes ago, noodles57 said: I did activate errors via php, no errors show. What exactly you did ? You should activate debug mode of Prestashop and read there the errors. There is no need to make changes on files. You can activate from BO. Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 ps - there is no debug mode on/off option in Prestashop 1.6.1.6, only: Disable non PrestaShop modules Yes No Disable all overrides Yes No Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 Oh, you are using old PS version. You activated debug mode in defines.inc file ? Server error logs are saying what ? Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 As I mentioned there isn't a debug on/off option from within PS 1.6.1.6 - just what I posted above. Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 3 minutes ago, noodles57 said: As I mentioned there isn't a debug on/off option from within PS 1.6.1.6 - just what I posted above. so you activated debug in defines.inc file correct ? What are server error logs saying ? Which php-version are you using ? Which are your settings from max_input_time, max_xecution_time, max_input_var and memory_limit ? Which SQL version are you using ? Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 I'm looking at that file: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } I'm guessing this should be changed to TRUE? Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 didnt' change anything. There are many references in the file to 'debug' Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 domain log doesn't show anything unusual, all GET and POST entries Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 10 minutes ago, noodles57 said: I'm looking at that file: /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', false); } I'm guessing this should be changed to TRUE? Change false to true and read errors in front and back-office. /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 20 minutes ago, selectshop.at said: so you activated debug in defines.inc file correct ? What are server error logs saying ? Which php-version are you using ? Which are your settings from max_input_time, max_xecution_time, max_input_var and memory_limit ? Which SQL version are you using ? ver 7.0.33 but I can update to latest which is 7.3.11 max_input_time: 60 max_execution_time: 30 memory_limit: 128M and in additional directives: max_input_vars = 5000 I can certainly change any of these parameters. Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 php 7.0.33 is highest version that works, other version display errors to screen Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 It depends on how big your site is, but for the other settings you should consider to change them to the one herein suggested: max_execution and max_input are too short set. max_input_vars as well. Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 2 minutes ago, noodles57 said: php 7.0.33 is highest version that works, other version display errors to screen This is good. Newer versions php will not work with PS 1.6.1.6 Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 Server cache/smarty cache also deleted ? Your webspace has any restrictions about sizing (database/ftp)? Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 3 minutes ago, selectshop.at said: Server cache/smarty cache also deleted ? Your webspace has any restrictions about sizing (database/ftp)? I have a dedicated server, so I can make any changes. I will continue to tweek what I can. Link to comment Share on other sites More sharing options...
noodles57 Posted November 13, 2019 Author Share Posted November 13, 2019 9 minutes ago, selectshop.at said: Server cache/smarty cache also deleted ? Your webspace has any restrictions about sizing (database/ftp)? Not sure about changing: Server cache/smarty cache Link to comment Share on other sites More sharing options...
selectshop.at Posted November 13, 2019 Share Posted November 13, 2019 Smarty cache you delete from your BO under performance. Make the changes which are suggested in the link I added before and try. Change also memory_limit. Restart then after the apache/nginx. Try also to add product with another browser. Blank site is always a server error and this is always recorded into the error logs. If you are using nginx, then in nginx error logs instead of apache Link to comment Share on other sites More sharing options...
noodles57 Posted November 14, 2019 Author Share Posted November 14, 2019 Seems after all the suggestions posted her, I made all changes and still no luck. I can't even change a product name or description. I could go directly into the db and update there, but the BO should work in this manner. 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