Upgrading issue: Sitelist is empty in 3.9.1 admin interface

Author Message

Marco Zinn

Tuesday 03 April 2007 4:25:14 am

Hi,
i am upgrading some sites from ez 3.4.4 to 3.9.1.
After quite some work with the "incremental upgrade procedure" (3.4.4 -> 3.5.0/1/2 -> 3.6.0 -> 3.8.0 -> 3.9.0/1 ) and all those scripts, the 3.9.1 site looks quite good now.

I have several issues left, where i could need your help.

The main issue: Although the site works as expected (URI based siteaccesses), i cannot select the (4) siteaccesses in the admin interface in the dropdown boxes.
This applies to
- Template edit/list
- INI file editing
- Debug options developer tool
and possibly other places.
The dropdown boxes there are empty or just show "global" (debug options tool), but do not show any of my siteaccesses (neither anything like "admin").

Debug output and logs don't show anything special.
I defined the array AvailableSiteAccessList[] in settings/override/site.ini.append.php and -as i said- all siteaccesses are accessable through their URI.
Default Siteacces works, too.
I did NOT define "SiteAccessList[]", as this is deprecated, AFAIK. "SiteList[]" also is not defined, as this is only used for WebDAV.
I had a look in the cached ini files and the Siteaccess array looks fine there, too.
I also checked and changed owner and group of the settings directory and files, currently, they belong to wwwrun:www and are chmod to 777.

Can anybody tell me, what else might be wrong, which settings i should double-check or how i could check the effective setting of ini files in the Admin Site?

I really could need a hint here, as i wasted some hours with this and ran out of ideas.
Without the siteaccess list, the admin interface and thus the site is useless :(

Cheers,
Marco

Marco
http://www.hyperroad-design.com

Kristof Coomans

Tuesday 03 April 2007 4:40:30 am

Did you try
[SiteAccessSettings]RelatedSiteAccessList[] ?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Marco Zinn

Wednesday 04 April 2007 3:17:57 am

No, not yet, as the documentation says, that this setting would only be related to the caching system.
But i'll give it a try...

Marco
http://www.hyperroad-design.com

Kristof Coomans

Wednesday 04 April 2007 4:22:35 am

Related issues:
http://issues.ez.no/9461
http://issues.ez.no/10549

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Marco Zinn

Wednesday 04 April 2007 4:23:45 am

Hi Kristof,

thanks for the hint. This works fine now.
Seems as the Templates use this INI setting.

Very nice... Either the code is wrong (why does it not use AvailableSiteAccessList anymore?) or the documentation is incomplete.

@ez: Will you please review
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/siteaccesssettings/relatedsiteaccesslist
and
include the comment on the upgrade page http://ez.no/doc/ez_publish/technical_manual/3_8/installation/upgrading/from_3_6_x_or_3_7_x_to_3_8_0#comment6641 into "Step 4: Updating the system configuration" ???

And maybe check the code before you do this?? Why did you introduce the "RelatedSiteAccessList" array, documented as beeing used for caching and the use this in other places, in favour or the other array?
:-((

EDIT:
Thanks again Kristof.
After reading http://issues.ez.no/IssueView.php?Id=9461 , i understand, why this was changed. So, the documentation is not up to date!

Marco
http://www.hyperroad-design.com

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

Main resources:

Total runtime0.0296 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.6250151.2734
Module start 'layout' 0.00850.0059 739.8984220.7500
Module start 'content' 0.01440.0138 960.64841,005.8828
Module end 'content' 0.02810.0015 1,966.531337.9922
Script end 0.0296  2,004.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00258.5569140.0002
Check MTime0.00103.4860140.0001
Mysql Total
Database connection0.00144.767410.0014
Mysqli_queries0.005919.944630.0020
Looping result0.00000.063610.0000
Template Total0.00113.810.0011
Template load0.00092.886410.0009
Template processing0.00030.939310.0003
Override
Cache load0.00051.735410.0005
General
dbfile0.00206.839280.0003
String conversion0.00000.088540.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