Siteaccess wont work!

Author Message

Claus Jensen

Thursday 25 September 2003 5:16:36 am

Cheers,
I've been trying to get to work properly for a while, but it just wont cooperate. Im using 3.2.0-1.
Here is the setting:
I want to have 4 different sites on the same server. I have configured apache with virtual_hosts like this:

<VirtualHost www.xxx.no:8888>
<Directory /opt/ezpublish/3.2.0-1>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png)$ /opt/ezpublish/3.2.0-1/index.php

ServerAdmin root@localhost
DocumentRoot /opt/ezpublish/3.2.0-1
ServerName www.xxx.no
</VirtualHost>

It seems to work, but only for 2 of the sites (xxx and yyy) and not the newly added ones xxx_GB and yyy_GB.

Now here is what i have in my site.ini (I also have a override/site.ini.append but it isnt ovveriding these settings):
[SiteAccessSettings]
# Set to true if you want the setup system to be activated
CheckValidity=false
# Set the true if you don't want anonymous access to your site
RequireUserLogin=false
AvailableSiteAccessList[]=yyy
AvailableSiteAccessList[]=yyy_GB
AvailableSiteAccessList[]=xxx
AvailableSiteAccessList[]=xxx_GB

MatchOrder=uri;index
SiteAccessList[]=yyy
SiteAccessList[]=xxx
SiteAccessList[]=xxx_GB
SiteAccessList[]=yyy_GB

[DesignSettings]
# The standard design, is used as fallback design
# if the element is not in the sitedesign
StandardDesign=standard
# The design of the site
SiteDesign=yyy

I have made the appropriate settings/siteaccess/xxx/site.ini.append, settings/siteaccess/xxx_GB/site.ini.append, settings/siteaccess/yyy/site.ini.append and settings/siteaccess/yyy_GB/site.ini.append. BUT, ez wont use the folder used in the site.ini.append for 2 of the sites, the newly added xxx_GB and yyy_GB sites.

Even though I just want to translate the sites from nor-NO to eng-GB I have also tried to add new designfolders for the sites, but that wont help, ez is just falling back to the SiteDesign anyway.
DEBUGINFO:
eZ debug
Debug: access.php
Sep 25 2003 15:50:31

Updated settings to use siteaccess 'yyy'
Timing:
Sep 25 2003 15:50:31

Module start 'content'
Warning: eZModuleOperationInfo::execute
Sep 25 2003 15:50:31

Missing main operation memento for key: ef2c959d932405d6e464bf3d593732f8
Notice:
Sep 25 2003 15:50:31

eZTemplate: Loading template "node/view/full.tpl" with resource "design"
Notice:
Sep 25 2003 15:50:31

design/yyy/override/templates/full_node_2.tpl, iso-8859-1
Notice: eZLocale::localeFile
Sep 25 2003 15:50:31

Requesting nor-NO.ini
Notice: eZLocale::localeFile
Sep 25 2003 15:50:31

Requesting nor-NO.ini
Warning: ezi18n
Sep 25 2003 15:50:31

No translation for file(translation.ts) in context(/design/yyy/templates): 'Frontpage' with comment()

Does somebody have a clue on what is going on here, and why it wont do what its told? Please help me, as I dont have a clue anymore...

cheers,
claÜs

Claus Jensen

Thursday 25 September 2003 6:22:00 am

It seems there is a problem using CAPITAL/UPPERCASE letters in the SiteAccess variables. I changed mine to lowercase, and it went through. This has got to be a bug.

best,
claÜs

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 31 2025 08:08:55
Script start
Timing: Jan 31 2025 08:08:55
Module start 'layout'
Timing: Jan 31 2025 08:08:55
Module start 'content'
Timing: Jan 31 2025 08:08:56
Module end 'content'
Timing: Jan 31 2025 08:08:56
Script end

Main resources:

Total runtime1.1496 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.0061 588.1328151.2109
Module start 'layout' 0.00610.0034 739.343836.6484
Module start 'content' 0.00951.1393 775.9922873.0703
Module end 'content' 1.14880.0008 1,649.062511.8594
Script end 1.1496  1,660.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2775160.0002
Check MTime0.00130.1109160.0001
Mysql Total
Database connection0.00070.064910.0007
Mysqli_queries1.090194.8269520.0210
Looping result0.00040.0380500.0000
Template Total1.116997.220.5584
Template load0.00160.141020.0008
Template processing1.115297.009920.5576
Template load and register function0.00160.139910.0016
states
state_id_array0.00150.126710.0015
state_identifier_array0.00360.314120.0018
Override
Cache load0.00150.1278760.0000
Sytem overhead
Fetch class attribute can translate value0.00070.060310.0007
Fetch class attribute name0.00250.216220.0012
XML
Image XML parsing0.00010.009610.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00080.0653100.0001
String conversion0.00000.000840.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
17content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 37
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs