problem in eztemplatenodetool.php?

Author Message

Terry Grossman

Sunday 25 July 2004 4:51:13 pm

Hey folks,

I'm using the user counts described in
http://ez.no/community/blog/session_user_relation

in order to generate the number of people currently on-line, using the following code

<td align=left width="50%"> 
  {sum(fetch( user, anonymous_count ), fetch( user, logged_in_count))} people online
 </td>

This seems to be working, but I noticed I'm getting debug messages now:

Module end 'content'
Warning: PHP Jul 25 2004 19:42:33
Undefined offset: 0 in /home/ftkfztae/public_html/content/lib/eztemplate/classes/eztemplatenodetool.php on line 300
Warning: PHP Jul 25 2004 19:42:33
Undefined offset: 0 in /home/ftkfztae/public_html/content/lib/eztemplate/classes/eztemplatenodetool.php on line 290
Warning: PHP Jul 25 2004 19:42:33
Undefined offset: 0 in /home/ftkfztae/public_html/content/lib/eztemplate/classes/eztemplatenodetool.php on line 300
Warning: PHP Jul 25 2004 19:42:33
Undefined offset: 0 in /home/ftkfztae/public_html/content/lib/eztemplate/classes/eztemplatenodetool.php on line 290

I'm not going to worry too much about this since the code works but I thought I'd mention it FYI.

Terry

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.