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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 01:58:15
Script start
Timing: Jan 18 2025 01:58:15
Module start 'layout'
Timing: Jan 18 2025 01:58:15
Module start 'content'
Timing: Jan 18 2025 01:58:16
Module end 'content'
Timing: Jan 18 2025 01:58:16
Script end

Main resources:

Total runtime1.3186 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 588.0391152.6406
Module start 'layout' 0.00740.0029 740.679739.4844
Module start 'content' 0.01021.3069 780.1641531.2266
Module end 'content' 1.31720.0014 1,311.390612.1250
Script end 1.3186  1,323.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2416160.0002
Check MTime0.00130.0965160.0001
Mysql Total
Database connection0.00140.102410.0014
Mysqli_queries1.264695.9041570.0222
Looping result0.00060.0437550.0000
Template Total1.273496.620.6367
Template load0.00200.148420.0010
Template processing1.271596.425720.6357
Template load and register function0.00020.012010.0002
states
state_id_array0.00110.082110.0011
state_identifier_array0.00200.150020.0010
Override
Cache load0.00160.1233240.0001
Sytem overhead
Fetch class attribute can translate value0.00090.068920.0005
Fetch class attribute name0.00150.113540.0004
XML
Image XML parsing0.00190.144220.0010
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00220.1705160.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs