Forums / Install & configuration / Upgrading issue: Sitelist is empty in 3.9.1 admin interface

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