Forums / Setup & design / strange behaviour with adding location

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

eZ debug

Timing: Jan 18 2025 19:29:12
Script start
Timing: Jan 18 2025 19:29:12
Module start 'content'
Timing: Jan 18 2025 19:29:13
Module end 'content'
Timing: Jan 18 2025 19:29:13
Script end

Main resources:

Total runtime0.7890 sec
Peak memory usage4,096.0000 KB
Database Queries192

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.8281180.8281
Module start 'content' 0.00710.6597 768.6563507.1563
Module end 'content' 0.66680.1222 1,275.8125332.7578
Script end 0.7889  1,608.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5137210.0002
Check MTime0.00150.1944210.0001
Mysql Total
Database connection0.00070.094010.0007
Mysqli_queries0.725091.89071920.0038
Looping result0.00180.22401900.0000
Template Total0.760896.420.3804
Template load0.00200.253620.0010
Template processing0.758896.166220.3794
Template load and register function0.00010.010110.0001
states
state_id_array0.00080.105610.0008
state_identifier_array0.00080.104220.0004
Override
Cache load0.00160.2074140.0001
Sytem overhead
Fetch class attribute can translate value0.00190.243220.0010
Fetch class attribute name0.00090.114940.0002
XML
Image XML parsing0.00070.088020.0003
class_abstraction
Instantiating content class attribute0.00000.001360.0000
General
dbfile0.00180.2292290.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs