IndexPage set, no change

Author Message

Olaf Fichtner

Tuesday 18 May 2010 11:18:38 am

During my quest to understand ez Publish, the docs revealed another very nice feature, the IndexPage setting in site.ini. So I followed the docs and set it to the node ID of an article, but there is absolutely no change. I can view the article just fine using .../view/full/ID, but the browser still shows me the demo block as index page. (all caches were flushed, more than once)

This is on ez Publish 4.3 with ezflow, but without demo content.

Bertrand Dunogier

Tuesday 18 May 2010 12:45:52 pm

Are you 100% sure the setting has been declared correctly ? With all the overrides it's easy to misplace it... check with setup / INI settings for your siteaccess, this will show you the final value.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Olaf Fichtner

Tuesday 18 May 2010 1:33:23 pm

The corresponding line says

<table class="list" border="0" width="100%"><tbody><tr><td width="50%">IndexPage</td><td width="1">siteaccess</td><td width="50%">"/content/view/full/75"</td></tr></tbody></table>

At least it looks like the docs said - or is something wrong with it? I also set DefaultPage to the same node after IndexPage did not yield any change, but still the same...

Olaf Fichtner

Tuesday 18 May 2010 1:35:35 pm

Sorry for that, I had hoped this would be a way to display INI settings... Here is the line again, without fancy formatting:

IndexPage siteaccess "/content/view/full/75"

Olaf Fichtner

Thursday 20 May 2010 7:23:13 am

Got it. I compared to a second installation _with_ demo content and found that there was a trailing slash that was omitted in the docs (EZP 4.0 tech manual p1698). Without that slash, nothing happens. Naughty doc bug...

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 11:25:05
Script start
Timing: Jan 18 2025 11:25:05
Module start 'layout'
Timing: Jan 18 2025 11:25:05
Module start 'content'
Timing: Jan 18 2025 11:25:06
Module end 'content'
Timing: Jan 18 2025 11:25:06
Script end

Main resources:

Total runtime1.4269 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9063152.6250
Module start 'layout' 0.00540.0037 740.531339.4453
Module start 'content' 0.00921.4160 779.9766560.1016
Module end 'content' 1.42510.0017 1,340.078112.1641
Script end 1.4268  1,352.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2284160.0002
Check MTime0.00140.0981160.0001
Mysql Total
Database connection0.00070.050710.0007
Mysqli_queries1.367195.8111630.0217
Looping result0.00070.0465610.0000
Template Total1.388397.320.6941
Template load0.00220.153820.0011
Template processing1.386197.141020.6930
Template load and register function0.00020.012810.0002
states
state_id_array0.00100.068710.0010
state_identifier_array0.00220.152720.0011
Override
Cache load0.00190.1312210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.046820.0003
Fetch class attribute name0.00260.185360.0004
XML
Image XML parsing0.00060.045520.0003
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00190.1348160.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/td.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/td.tplEdit templateOverride template
1content/datatype/view/ezxmltags/tr.tpl<No override>extension/community/design/community/templates/content/datatype/view/ezxmltags/tr.tplEdit templateOverride template
1content/datatype/view/ezxmltags/table.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/table.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs