strange behaviour with adding location

Author Message

Marko Žmak

Tuesday 14 February 2006 1:36:13 am

I have some problems with adding objects to locations. When I try to add an object to several loactions, in the moment when I check the checkboxes for new locations and klick OK, I often get the "Page not found" error (probably the script crashes). When it doesn't crash it takes a lot of time to add the locations. More locations I add, more often the script crashes.

Also when I try to remove locations for the same object, there always stays one location with no name that I cant delete (the cehckbox is disabled). I have to delete the entire object to get rid of this "phantom" location.

All other actions on the site work OK, and take a normal account of time to execute.

I'm using eZ 3.7.3, PHP 4.4.1 and I have turned all the template cache, compile, and view cache.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Tuesday 14 February 2006 3:06:43 am

I have just turned on SQL debug an noticed that adding locations to object produces a large amount of SQL queries. I think there are more than hundered of them. Also the execution of the queries lasts 6 seconds (which if about 50% of all execution). And all this only for adding 4 locations to an object. Is this really necessary? Is this som kind of bug or misconfiguration or this is normal eZ behaviour?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Wednesday 15 February 2006 5:34:23 am

Can anyone help me with this? My site is having serious problems because of this problem.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 22:35:24
Script start
Timing: Jan 18 2025 22:35:24
Module start 'layout'
Timing: Jan 18 2025 22:35:24
Module start 'content'
Timing: Jan 18 2025 22:35:25
Module end 'content'
Timing: Jan 18 2025 22:35:25
Script end

Main resources:

Total runtime0.8772 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0313152.6406
Module start 'layout' 0.00480.0027 740.671939.4766
Module start 'content' 0.00750.8680 780.1484502.0625
Module end 'content' 0.87550.0017 1,282.210912.1406
Script end 0.8771  1,294.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3520160.0002
Check MTime0.00140.1593160.0001
Mysql Total
Database connection0.00060.068210.0006
Mysqli_queries0.831694.8075550.0151
Looping result0.00050.0624530.0000
Template Total0.845196.320.4226
Template load0.00220.247220.0011
Template processing0.842996.094320.4215
Template load and register function0.00010.012010.0001
states
state_id_array0.00110.126910.0011
state_identifier_array0.00190.217120.0010
Override
Cache load0.00180.2020140.0001
Sytem overhead
Fetch class attribute can translate value0.00040.047110.0004
Fetch class attribute name0.00170.198140.0004
XML
Image XML parsing0.00040.049810.0004
class_abstraction
Instantiating content class attribute0.00000.004460.0000
General
dbfile0.00080.0929180.0000
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs