• News
  • Developer information
  • Projects & contributions
  • Forum
  • Issue tracker
  • Open Funding
  • Security
  • User groups
  • Support
  • Store
  • Company

  • Path

    ez.no / exponential / documentation / development / scripting / supplied scripts / update remote id


    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

    When I tried to run this script, I got the following message:

    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.

    Contents

    Development

    Extensions
    Exponential datamodel
    Exponential tuning and stability
    Importing attribute data
    Kernel
    Libraries
    Scripting
        Script classes
        Supplied scripts
           Database Diffing Tool
           Template compiler
           Update search index
           Update remote ID
        PHP CLI
    Standards
    System overview
    Test Suite
    Using Doxygen to create API documenta...


    Created

    14/07/2004
    11:34:54 am
    by Kåre Køhler Høvik

    Last updated

    14/07/2004
    3:27:11 pm
    by Kåre Køhler Høvik

    Authors

    Kåre Køhler Høvik



    This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.