Upgrade from RC2->3.01: Additional step to fix Users

Author Message

Bruce Morrison

Wednesday 09 April 2003 5:35:23 pm

After upgrading a site from RC2->3.01 I found that the Roles link was not available in the admin section of the site.

Before attempting this make sure you backup your database.

This procedure assumes you have already updated RC2->3.01

To fix this issue you need to
1. Create a new section called users with a "navagation part" of "Users" and record the new section id
2. run the following SQL on the database
UPDATE ezcontentobject SET section_id=X WHERE section_id=0

Where X is the section id of the from step 1.

Possibility a safer way of doing this is
UPDATE ezcontentobject SET section_id=X WHERE contentclass_id IN (3,4)

3. clear out the cache and things should be working fine.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Sergiy Pushchin

Friday 11 April 2003 7:27:03 am

Better is to assign that section to users thrue the eZ publish. When you click assign section link you will get to browse/2/ page. Change 2 to 5 and select users node. It will work after it

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