Multisite setup with URLs becoming invalid depending on the siteaccess used to edit

Author Message

Mark Emms

Friday 12 August 2011 8:52:55 am

I have an installation of 42011 running multiple domains and ONE database.

One of the site accesses is a master access with access to the entire database / content tree.

Each of the sub sites has a folder in the content tree (beneath the master root node) of its own with a Media library folder and a Frontpage which is the Home of the subsite with everything else beneath it.

Each sub-site has its own admin siteaccess restricted to its own section of the content tree.

Everything works beautifully except when the Home frontpage is edited from the sub-site's site access.

If you do this then on publication the sub-pages become unreachable and the /Home/ is removed from the URL of the sub page. Manually entering the old URL does not allow you to access the page

If you do the same thing from the master site access then you fix the problem - a simple Edit - Republish, clearing the cache sorts it out.

This problem does not affect other object types as far as I can tell - or it may be that it only affects the item at this level in the hierarchy.

Help greatly appreciated.

Mark Emms

Monday 15 August 2011 10:21:21 am

it may help that you know the following:
1.  I am using host mapping for the different sites
2.  I have a Path-Prefix set for each site to hide a part of the URL

I am beginning to suspect that this is something to do with site settings rather than to do with the frontpage itself - though I have not proved this yet.  Further info to follow once we've run a few tests.

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 17 2025 21:47:32
Script start
Timing: Jan 17 2025 21:47:32
Module start 'layout'
Timing: Jan 17 2025 21:47:32
Module start 'content'
Timing: Jan 17 2025 21:47:33
Module end 'content'
Timing: Jan 17 2025 21:47:33
Script end

Main resources:

Total runtime1.2130 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 588.4063152.6875
Module start 'layout' 0.00650.0032 741.093839.5938
Module start 'content' 0.00971.2020 780.6875461.0859
Module end 'content' 1.21180.0012 1,241.77348.2188
Script end 1.2130  1,249.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2837160.0002
Check MTime0.00140.1116160.0001
Mysql Total
Database connection0.00090.071310.0009
Mysqli_queries1.167496.2347520.0224
Looping result0.00040.0354500.0000
Template Total1.182697.520.5913
Template load0.00210.175220.0011
Template processing1.180597.317720.5902
Template load and register function0.00010.008810.0001
states
state_id_array0.00060.052910.0006
state_identifier_array0.00080.068920.0004
Override
Cache load0.00180.1443190.0001
Sytem overhead
Fetch class attribute can translate value0.00070.061210.0007
Fetch class attribute name0.00100.084030.0003
XML
Image XML parsing0.00060.051510.0006
class_abstraction
Instantiating content class attribute0.00000.002640.0000
General
dbfile0.00090.0722160.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs