Forums / General / Problem with trying to edit a product in webshop

Problem with trying to edit a product in webshop

Author Message

Corinne Collins

Tuesday 07 December 2010 1:25:02 am

Hi,

I'm new to using the backend of ezpublish. Someone else set this shop up and did not give instructions on how to use it. I've figured out how to add products and edit them. But I have run across this particular error when trying to edit one of the products that was added to the shop before I started working on it.

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 3872 bytes) in /home/content/f/a/r/farsheed/html/ezpublish/lib/ezimage/classes/ezimagegdhandler.php on line 171
Fatal error: eZ Publish did not finish its request

 

The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/*

Please advise as to the steps I need to take to fix this problem. This is the only product edit that I am having trouble with so far.

Thanks in advance for any and all help.

Igor Vrdoljak

Tuesday 07 December 2010 6:33:27 am

The error indicates that you need to increase the memory limit (for example, to 160M) that PHP script can allocate (via php.ini or .htaccess directive):

in htaccess, you can put:

php_value memory_limit 160M

or, via php.ini:

memory_limit = 160M

http://www.netgen.hr/eng
http://twitter.com/ivrdoljak

Corinne Collins

Tuesday 07 December 2010 7:35:42 am

Thank you for your response. I will take care of this and come back if anything further happens.