Forums / General / Different fetch results for non logged in users

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Different fetch results for non logged in users

Author Message

Brendan Pike

Friday 04 March 2005 12:56:52 am

I'm using a simple fetch over a user folder to count the users, as below:

let membercount=fetch( 'content',
                  'tree_count',
                  hash( 'parent_node_id', 115,
                  'class_filter_type', 'include',
                  'class_filter_array', array( 'user' ) ) )

Logged in users see the correct number, anonymous users see zero, why is this?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Eivind Marienborg

Friday 04 March 2005 1:01:16 am

Check your permissions. Perhaps anonymous users aren't allowed to see the user class.