Problem with addlockstategroup.php

Author Message

cliffp pratt

Monday 08 November 2010 1:33:30 pm

I'm upgrading stepwise from 3.8 to 4.2.0. When I follow all the steps in the upgrade notes (without pausing at each level) I get a situation where access to all content is denied. I therefore went back and did the upgrade, but checked after each upgrade to see if content was still accessible. It turns out that the problem manifests itself in the upgrade to 4.1.4. So I started to go through the steps one by one, and found that when I ran the addlockstategroup.php step the problem appeared.

I redid the upgrade and skipped that step, but as I expected I then got other problems.

Can someone with some knowledge advise me what to do about this? If I run addlockstategroup.php the content is inaccessible. If I don't run it, I get other issues.

Cheers,

Cliff

cliffp pratt

Tuesday 09 November 2010 3:08:34 pm

Help! This is a real showstopper as regards my upgrade!

Cheers,

Cliff

Gaetano Giunta

Wednesday 10 November 2010 2:55:51 am

- when running addlockstategroup.php, use the options "--debug --logfiles" and look hard if there are any error messages or warnings emitted (raise the log level in Alwayslog settingh in site.ini to have as much logging as possible going on)

- before running the script, make sure your language configuration is correct, bot in RegionalSettings in site.ini and in the setup/languages page in the admin

- after the script ran, look in the db:

table ezcobj_state should have 2 rows, ezcobj_state 1 row, ezcobj_state_group_language 1 row, ezcobj_state_language 2 rows, ezcobj_state_link one row per object

Principal Consultant International Business
Member of the Community Project Board

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.