Jump to content

Update product error on presta 1.5.5.0


Recommended Posts

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

  • 2 months later...

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

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

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 by J.Sahu (see edit history)
Link to comment
Share on other sites

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

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

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

  • 2 months later...

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

  • 3 weeks later...
×
×
  • Create New...