Strange siteaccess problem

Author Message

Nebojsa Eric

Wednesday 21 March 2007 10:23:48 am

Hi to all.

eZ version: 3.9.1
Platform: Fedora Core 2

I've started building web site normally with a plain interface (from scratch). Siteaccess is plain_site by default. I've created some folders and articles and everything worked fine. Then I've started to follow this article

http://ez.no/community/articles/new_features_in_ez_publish_3_8/translating_and_displaying_multi_lingual_content

to implement multilanguage with 3 different site accesses on the web site and I've ended up with the following problem. I can access an URL from a browser, for example, www.mywebsite.com/gb and everything is working fine, debug output doesn't complaining, but admin interface still shows plain_site as a siteaccess setting every time I try to override something. None of my defined siteaccess are shown. Only plain_site and site_admin. I've tried everything exactly the same way on my Windows XP and everything is OK. I've checked all site.ini.append.php (override and siteaccess) files for, at least, 3 times to be sure that I didn't missed something, but I did not.

I've also tried to clear cache 10 times -> nothing happens.
Manually delete cache files -> nothing happens.

I repeat, completelly the same configuration works perfectly on my Windows XP.

These are configuration settings in the overriden site.ini.append.php file:

[SiteSettings]
DefaultAccess=gb
SiteList[]=gb
SiteList[]=hr
SiteList[]=sr

[SiteAccessSettings]
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
CheckValidity=false
AvailableSiteAccessList[]=gb
AvailableSiteAccessList[]=hr
AvailableSiteAccessList[]=sr
AvailableSiteAccessList[]=site_admin
HostMatchMapItems[]

No plain_site in the AvailableSiteAccessList[] as you can see.

Any ideas?
Tnx.

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 10:53:10
Script start
Timing: Jan 18 2025 10:53:10
Module start 'layout'
Timing: Jan 18 2025 10:53:10
Module start 'content'
Timing: Jan 18 2025 10:53:10
Module end 'content'
Timing: Jan 18 2025 10:53:10
Script end

Main resources:

Total runtime0.0208 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.0234152.6250
Module start 'layout' 0.00790.0032 741.648439.4453
Module start 'content' 0.01110.0075 781.093889.2891
Module end 'content' 0.01850.0023 870.382830.3047
Script end 0.0208  900.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002712.7579140.0002
Check MTime0.00115.4757140.0001
Mysql Total
Database connection0.00094.454010.0009
Mysqli_queries0.003717.894930.0012
Looping result0.00000.077810.0000
Template Total0.00188.510.0018
Template load0.00104.732010.0010
Template processing0.00083.767510.0008
Override
Cache load0.00073.354510.0007
General
dbfile0.002913.691480.0004
String conversion0.00000.052640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs