Override/section problem (bug?): "Undefined index: node in ..."

Author Message

Lars Arne Brekken

Tuesday 08 July 2003 1:23:03 am

My new site was working wonderfully. It was structured into five folders with a couple of objects in each.

Then I decided to assign a section to each of the folders. My site stopped working, it seemed like the whole override system stopped working.

Please note that I had no Match[section]=id in override.ini.append, the sections were only made in case they could be useful later.

I was getting error messages like this:

Undefined index: node in /ez/var/cache/override/override_[big ugly number] on line 678

Where 678 would be something like
if ( $matchKeys['node'] == '51' )

After a lot of debugging, checking my override.ini.append etc, I gave up and removed the sections (everything is section 1 now).

Now it works again.

Since I don't really need sections here I can live with this, but I would like to know if anyone has experienced the same thing. Is it a feature, a bug or have I misunderstood something?

Lars

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 15:55:12
Script start
Timing: Jan 18 2025 15:55:12
Module start 'layout'
Timing: Jan 18 2025 15:55:12
Module start 'content'
Timing: Jan 18 2025 15:55:13
Module end 'content'
Timing: Jan 18 2025 15:55:13
Script end

Main resources:

Total runtime1.0052 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.2891152.6563
Module start 'layout' 0.00610.0030 741.945339.5078
Module start 'content' 0.00910.9941 781.4531401.5547
Module end 'content' 1.00320.0019 1,183.00788.0938
Script end 1.0051  1,191.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3681160.0002
Check MTime0.00160.1583160.0001
Mysql Total
Database connection0.00090.091110.0009
Mysqli_queries0.964995.9880460.0210
Looping result0.00040.0425440.0000
Template Total0.970496.520.4852
Template load0.00190.186320.0009
Template processing0.968696.355720.4843
Template load and register function0.00010.014810.0001
states
state_id_array0.00140.137610.0014
state_identifier_array0.00060.059220.0003
Override
Cache load0.00150.1493140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.071010.0007
Fetch class attribute name0.00060.055110.0006
XML
Image XML parsing0.00010.011210.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0647100.0001
String conversion0.00000.000840.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs