ipcomp1 Posted September 11, 2013 Share Posted September 11, 2013 Update product results error on prestashop 1.5.5.0 when you create new product , and after that want to modify it , when you hit save you receive error : "Internal Server Error" see picture Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 if you've got internal server error you need to run store under "error reporting" mode: open config/defines.inc.php find this line define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); then you will see error message (what and where doesnt work) Link to comment Share on other sites More sharing options...
ipcomp1 Posted September 11, 2013 Author Share Posted September 11, 2013 Hello vekia i did what you write , and change to define('_PS_MODE_DEV_', true); and receive no error message , have other idea ? Link to comment Share on other sites More sharing options...
J.Sahu Posted December 10, 2013 Share Posted December 10, 2013 I'm also going through same situation. did you find any idea? In my case the temporary solutions is clearing the cache. Some people are telling that changing the permission of cache folder is the solution but I wonder how and why ? Normally running a script to update product will take around 10 seconds in max. But my server time is 40 secs still I'm getting the error. Link to comment Share on other sites More sharing options...
vekia Posted December 10, 2013 Share Posted December 10, 2013 it's hard to say where the problem is without access to error log. turning on error reporting is more than necessary. if there is no error message: please check APACHE error log then (if you've got access to this file) Link to comment Share on other sites More sharing options...
stottycabanas Posted December 10, 2013 Share Posted December 10, 2013 I used to suffer with severe delays or timeouts when updating products/categories/etc. via back office (PS 1.5.4.1), and error reporting didn't return anything. Nowadays, if I want to update such information, I go to Advanced Parameters-> Performance and disable the Smarty cache. Then you need to clear the cache either by deleting all files/folders in /cache/smarty/cache except index.php using a file manager or FTP client; or if you have PS 1.5.5 or later, there is a button provided to clear the Smarty cache, so just click that. Then make all the changes you need to products, etc. - responses should (!) be normal. Once finished, go back and enable the Smarty cache again. Your issue may of course be unrelated to this, but it's worth a try, even if it's just to eliminate that possibility. Cheers, Dave Link to comment Share on other sites More sharing options...
J.Sahu Posted December 11, 2013 Share Posted December 11, 2013 (edited) Thank you @stottycabanas. I just did the same thing but the problem is not getting solved permanently. @vekia, When I look into my error log there is something like this. [Tue Dec 10 22:54:01 2013] [warn] [client 117.215.19.75] mod_fcgid: read data timeout in 40 seconds, referer: https://www.allworldfurniture.com/admin43813/index.php?controller=AdminProducts&id_product=8&updateproduct&token=cd9ec529d8897cb29c345frc499fdb58 [Tue Dec 10 22:54:01 2013] [error] [client 117.215.19.77] Premature end of script headers: index.php, referer: https://www.allworldfurniture.com/admin43813/index.php?controller=AdminProducts&id_product=8&updateproduct&token=cd9ec529d8897cb29c344r9c499fdb58 I talked with the hosting people and they said in fast cgi the execution time can't be more than 40 secs. Edited December 11, 2013 by J.Sahu (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 11, 2013 Share Posted December 11, 2013 it's werid that "update" of products take more than 40sec have you got possibility to increase this limit? Link to comment Share on other sites More sharing options...
J.Sahu Posted December 11, 2013 Share Posted December 11, 2013 No my hosting provider said that on fastcgi this is the max time. I still wonder why it takes so much time. I tested again and found that the server error not only occurring in product update but some other places like clearing cache etc. Another strange thing is why it's working after clearing cache. I don't get any logic. Link to comment Share on other sites More sharing options...
BandofHand Posted December 11, 2013 Share Posted December 11, 2013 It's really strange. I'm getting the same thing and not just when adding a product, it happens when adding a category too. Could it be that the cache is filled to the limit somehow? Link to comment Share on other sites More sharing options...
J.Sahu Posted December 12, 2013 Share Posted December 12, 2013 I don't know whether there is a limit of cache or not. I see many people are telling to clear the cache and changing the permission of the cache. Somehow clearing cache works for a temporary period, but what is the logic of changing the file permission of cache folder ? Link to comment Share on other sites More sharing options...
BandofHand Posted December 12, 2013 Share Posted December 12, 2013 I used to suffer with severe delays or timeouts when updating products/categories/etc. via back office (PS 1.5.4.1), and error reporting didn't return anything. Nowadays, if I want to update such information, I go to Advanced Parameters-> Performance and disable the Smarty cache. Then you need to clear the cache either by deleting all files/folders in /cache/smarty/cache except index.php using a file manager or FTP client; or if you have PS 1.5.5 or later, there is a button provided to clear the Smarty cache, so just click that. Then make all the changes you need to products, etc. - responses should (!) be normal. Once finished, go back and enable the Smarty cache again. Your issue may of course be unrelated to this, but it's worth a try, even if it's just to eliminate that possibility. Cheers, Dave I tried the cache trick today and it worked very nicely, thank you. However, I'm wondering why this error occure. Does anyone have a clue at all? Now that I know how to fix the problem, at least temporarly, I know what to look for but still... It seems to be a very wide based problem since some got it and others don't. What are we, those hit by it, doing that others doesn't?. Could it be a host problem? As for the "internal server error" message. I've had the PS_MODE_DEV turned on and it didn't throw up anything at all. When talking to the host support I get the answer that "the server doesn't show that error message when it's a shop". So, for some reason most of us can't see it because of that. How come and why? Link to comment Share on other sites More sharing options...
JeffV Posted March 7, 2014 Share Posted March 7, 2014 Has anyone resolved this issue? I'm currently unable to save any updated data after product creation. I'm using PS 1.5.6.1. This is really holding up the launch of my site and the reliability of PS or my current Hosting Provider. Link to comment Share on other sites More sharing options...
XJR100 Posted March 27, 2014 Share Posted March 27, 2014 When saving category it gives Error 500, after some manipulations it allows to save category and upload category image, but later it gives error 500 again. Same with products. Any solution? Link to comment Share on other sites More sharing options...
Recommended Posts