Forums / Setup & design / Website Interface problem
Jon Staines
Friday 16 November 2007 7:20:39 am
Before raising a bug I thought I'd better both that I'm not doing something stupid and whether anybody else had encountered this.
I'm trying to have a setup where there are multiple sites sharing the Exponential install. So the structure is:
RootRode -Home -Folder1 -Folder2 -Another Home -Folder1 -Folder2
Where Home and Another Home would be different sites.
Everything works until I try editing the Home node (or the Another Home) using the website interface. Then on publishing that node, all the links to parts of the site break. What used to be: http://localhost/ez310/index.php/eng/Folder1 becomes:http://localhost/ez310/index.php/eng/2/Folder1
With that 2 inserted between the siteaccess part (eng in my case) and the name of the node. To fix it I have to go into the admin interface and send the Home node for publishing again (then clear the cache).
Any ideas what I'm doing wrong?
Friday 16 November 2007 7:24:28 am
If it helps to shed any light on it. If I don't fix that siteaccess's Home and then go repeat the same on another Home node, it gets a 3 instead of a 2 ie: http://localhost/ez310/index.php/anothersite/Folder1 becomes:http://localhost/ez310/index.php/anothersite/3/Folder1
Monday 19 November 2007 1:15:17 am
====PROBLEM FIXED====
Talk about a jumbo sized order of the stupids with extra cream. It turns out that I'd used both RootNodeDepth and PathPrefix/PathPrefixExclude in my site.ini. This produces the above symptoms. Removing the PathPrefix/PathPrefixExclude pairing has fixed it.