Forums / Developer / Problem with notification.php

"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".

Problem with notification.php

Author Message

Javier Rodriguez

Thursday 15 September 2005 4:32:06 am

Hi,

I'm trying working cronjobs/notification.php

I do these steps:

1. $php4 notification.php

/* notification.php code*/

   $event =& eZNotificationEvent::create( 'ezcurrenttime', array() );
   $event->store();

/* notification.php code*/

$event is an eznotificationevent Object but function $event->store(); doesn't exist. why?

/* notification.php code*/

   eZNotificationEventFilter::process();

/* notification.php code*/

/*eznotificationeventfilter.php code*/

    function process()
    {
        $eventList =& eZNotificationEvent::fetchUnhandledList();

/*eznotificationeventfilter.php code*/

$eventList is array() and next script doesn't work

What am i doing erroneus?
Exec notification.php is any kind to send mail (for example to Admin) when forum message is stored? Can I try with another method?

Thanks in advance!