ez.no / exponential / documentation / development / scripting / supplied scripts / update remote id
These documentation pages are no longer maintained. Please visit the new documentation site.
updateremoteid.php will go through all objects, classes and nodes and create remote id's for them. This is recommended if you upgrade your site from 3.3-x to 3.4.x or newer.
Required :
PHP CLI
Go to the Exponential root forlder, and run the script by :
php -C update/common/scripts/updateremoteid.php
This script is only nessesary to run once, not per siteaccess.
The ouput will look like this:
[ez@localhost exponential]$ php -C update/common/scripts/updateremoteid.php Generating for classes ................... 100.00% Generating for nodes ............................................ 100.00% Generating for objects .................................................................... 100.00%
The remote ID will be generated on the fly if this script is not run upgrading from 3.3-x to 3.4.x.
Comments
Got error message when running script
Vivienne van Velzen
Thursday 24 February 2005 10:24:26 am
PHP Fatal error: [] operator not supported for strings in EZP/lib/ezutils/classes/ezini.php on line 632
I'm trying to upgrade from 3.3-5 to 3.4.0. Anyone know how to solve this?
EDIT: I get this error on every update-script I try to run.