Forums / Developer / Siteaccess Empty after Upgradation

Siteaccess Empty after Upgradation

Author Message

John Smith

Monday 14 August 2006 2:21:57 am

Hi there,

I have upgraded ezpublish 3.6.1 to ezpublish 3.8.3 I followed all the steps as instructed by article "Upgrading from 3.6.x (3.7.x) to 3.8.0". All went very well. No errors at all.

The step I followed:

1. Upgrading the distribution files to 3.8.3
2. Upgrading the database to 3.8.3
3. Running the 3.8.3 upgrade script (only multilingual.php for sitename and sitename_admin).
4. Updating INI settings for multi-language.
5. Clearing the cache.

Admin site working very fine. but the user site giving the error Access denied. When I checked the Roles and Permissions for the anomonous user, the policies are coming like:

Anonymous user login SiteAccess( )

Nothing in SiteAccess.

I also checked other Roles, same thing is happening. I am getting nothing in the SiteAccess.

Is it a bug or do i need to run another update scripts.

Smith

Marko Žmak

Monday 14 August 2006 2:30:25 am

Have you maybe changed your siteacces name? Similar thing happened to me when I changed the name of a siteacces that was used in the anonymous role.

Also, check your site.ini in override if you have your siteacces listed there properly.

P.S. I didn't quite understand, to which version did you upgrade eZpublish, to 3.6.8 or 3.8.0?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

John Smith

Monday 14 August 2006 3:13:19 am

Sorry my fault; it is upgradation from 3.6.1 to 3.8.3.

I have checked my site.ini in the \settings\override\

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=<siteaccess_name>
AvailableSiteAccessList[]=<siteaccess_name>_admin
MatchOrder=uri
HostMatchMapItems[]

But there is nothing in \settings\siteaccess\<siteaccess_name>\site.ini.append.php

It is something like

[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false

Thanks

John Smith

Monday 14 August 2006 4:41:23 am

In ezpublish 3.6.1, I made changes to site.ini.append.php files in both <siteaccess_name> and <siteaccess_name_admin>

[SiteAccessSettings]
RequireUserLogin=true
ShowHiddenNodes=true
AvailableSiteAccessList[]
AvailableSiteAccessList[]=admin
AvailableSiteAccessList[]=<siteaccess_name>
AvailableSiteAccessList[]=<siteaccess_name>_admin

Then ran the upgrade script to ezpublish 3.8.3. Siteaccess in roles and permissions still coming empty.

Anybody else who can confirm this as bug, or my mistake.

Regards

Smith...