override.ini.append problems

Author Message

Jason Wehmhoener

Monday 10 November 2003 12:02:36 pm

Hello,

I have installed eZ Publish 3.1-1 on my laptop (localhost) and a client's website (www.website.com). All the eZ Publish files are identical on each machine with the exception of database settings in site.ini, etc.

One other difference between the two installations is the content in the database. The client has been updating and editing content on the live site, so the database content is no longer in synch.

As a result, there is one minor difference in my override.ini.append. Here are excerpt's from the two files:

localhost override.ini.append
=========================
[snip]

[pagelayout_whitebox]
Source=pagelayout.tpl
MatchFile=pagelayout_whitebox.tpl
Subdir=templates
Match[section]=2

[snip]

[folder]
Source=node/view/full.tpl
MatchFile=folder.tpl
Subdir=templates
Match[class]=1

[snip]

[node_gallery]
Source=node/view/full.tpl
MatchFile=node/view/thumbnail.tpl
Match[node]=100

[snip]

www.website.com override.ini.append
==============================
[snip]

[pagelayout_whitebox]
Source=pagelayout.tpl
MatchFile=pagelayout_whitebox.tpl
Subdir=templates
Match[section]=2

[snip]

[folder]
Source=node/view/full.tpl
MatchFile=folder.tpl
Subdir=templates
Match[class]=1

[snip]

[node_gallery]
Source=node/view/full.tpl
MatchFile=node/view/thumbnail.tpl
Match[node]=138

[snip]

So far so good, but unfortunately, all other things being alike I am getting very different template output from the two systems:

http://www.website.com/index.php/demo/content/view/full/138/
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/override/templates/folder.tpl
design/standard/templates/content/datatype/view/ezxmltext.tpl
design/demo/override/templates/line_folder.tpl
design/standard/templates/node/view/line.tpl

http://localhost/index.php/demo/content/view/full/100/
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/templates/node/view/thumbnail.tpl
design/demo/templates/node/view/medium.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/demo/templates/node/view/medium.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/standard/templates/navigator/google.tpl

http://www.website.com/index.php/demo/content/view/thumbnail/138/
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/templates/node/view/thumbnail.tpl
design/standard/templates/image/layer.tpl
design/demo/templates/node/view/medium.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/standard/templates/navigator/google.tpl

http://localhost/index.php/demo/content/view/thumbnail/100/
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/templates/node/view/thumbnail.tpl
design/demo/templates/node/view/medium.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/demo/templates/node/view/medium.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/standard/templates/navigator/google.tpl

http://www.website.com/index.php/demo/content/view/slideshow/138/offset/0
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/templates/node/view/slideshow.tpl
design/standard/templates/image/layer.tpl
design/standard/templates/image/layer.tpl
design/demo/templates/node/view/large.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/standard/templates/content/datatype/view/ezxmltext.tpl
design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl
design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl

http://localhost/index.php/demo/content/view/slideshow/100/offset/0
design/demo/override/templates/pagelayout_whitebox.tpl
design/demo/templates/node/view/slideshow.tpl
design/demo/templates/node/view/large.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
design/standard/templates/content/datatype/view/ezxmltext.tpl
design/standard/templates/content/datatype/view/ezxmltags/paragraph.tpl

Can anyone think of a reason why this would be happening?

Thanks!
Jason Wehmhoener

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 19 2025 04:17:56
Script start
Timing: Jan 19 2025 04:17:56
Module start 'layout'
Timing: Jan 19 2025 04:17:56
Module start 'content'
Timing: Jan 19 2025 04:17:57
Module end 'content'
Timing: Jan 19 2025 04:17:57
Script end

Main resources:

Total runtime0.7675 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.0058 589.1563152.6250
Module start 'layout' 0.00580.0025 741.781339.4453
Module start 'content' 0.00830.7576 781.2266437.9297
Module end 'content' 0.76590.0016 1,219.156312.1641
Script end 0.7675  1,231.3203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3914160.0002
Check MTime0.00120.1603160.0001
Mysql Total
Database connection0.00130.170710.0013
Mysqli_queries0.710492.5520460.0154
Looping result0.00030.0432440.0000
Template Total0.736796.020.3684
Template load0.00190.250020.0010
Template processing0.734895.734920.3674
Template load and register function0.00020.021710.0002
states
state_id_array0.00140.180210.0014
state_identifier_array0.00090.115220.0004
Override
Cache load0.00170.2251970.0000
Sytem overhead
Fetch class attribute can translate value0.00050.064810.0005
Fetch class attribute name0.00070.092510.0007
XML
Image XML parsing0.00010.011010.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00070.0906100.0001
String conversion0.00000.001340.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
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
15content/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: 34
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs