Thursday 04 September 2008 4:41:08 am
If you're running eZ Publish 4.0.1 there's an update script you can run to fix remote-ids, so the direct SQL update statements may not be needed if you have an up to date base. Here's the page:- http://ez.no/doc/ez_publish/upgrading/upgrading_to_4_0/from_4_0_x_to_4_0_y Here's some vitals from the webpage:- <i>The following example shows how to run the script:
1.
Navigate into the eZ Publish 4.0.1 directory. 2. Run the script (replace "example" with the actual name of your siteaccess): php update/common/scripts/4.0/fixobjectremoteid.php -s example The script will search for objects with non-unique remote IDs. Every time such an object is found, the script will suggest to either display more detailed information or fix the problem automatically. If you choose the first option, the script will display the list of objects that have the same remote ID and let you decide which one should remain unchanged; all other objects in the list will get new remote IDs. Otherwise, the script will fix the problem automatically based on the objects' creation dates. This means that the script will generate new remote IDs for all objects in the list except the one that was created first.</i>
|