Path

ez.no / ezpublish / documentation / configuration / troubleshooting / mixing up node id and object id


Mixing up node id and object id

These documentation pages are no longer maintained. Please visit the new documentation site.

Are you sure the ID is an Object ID and not a Node ID? The object ID is the one used in content/edit while the node ID is the one used for content/view. If you try to fetch object related info by referencing a node ID you will most likely not get what you want.

Example

{let test=fetch('content',object,hash(object_id,217))}

{$test|attribute(show,1)}

{/let}

217 must be the object number and not the node number. Check which number is used in the admin site if you edit the object.

Comments

Contents

Configuration

Configuration
Security
Optimization
Backup & Restore
Troubleshooting
    404 - Page not found
    Change the right configuration file
    Debug popup window infinite loops
    eZ publish 3 and Apache 2
    Getting looped back when logging in
    Giving you back the admin rights
    I need to reindex my site for search.
    Images do not work
    Mixing up node id and object id
    Not enough PHP memory
    Open_basedir restriction
    Permissions of cache files
    Problems with the translation function
    Process cache enabled reduces perform...
    User site instead of admin site
    Warning: Failed to write session data...
    What not to do with eZ


Created

06/05/2003
1:56:33 pm
by Karsten Jennissen

Last updated

04/07/2003
5:25:43 pm
by Bård Farstad

Authors

Karsten Jennissen
Bård Farstad



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