Sunday 23 November 2008 6:07:41 am
Hi guys, My experience with notifications is fairly limited, so I thought I would try it out on our own site. However, I'm running into some problems that I was hoping someone could help me out with. Here's what I did (on a 4.0.0 install). 1. Added two site folders as items to my notifications list. 2. Ran the runcronjobs.php script with the frequent flag, using the following command: cd /home/path/to/ez;/usr/local/bin/php -C /home/path/to/ez/runcronjobs.php frequent When I do, I get the following message:
===
Running cronjob part 'frequent'
Running cronjobs/notification.php Starting notification event processing Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 491520 bytes) in /home/nm/public_html/ezpublish-4.0.0/var/ezwebin_site/cache/template/compiled/plain-cc0c8da99c82bcf15a6210dfd8c38a86.php on line 335
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below. === When I open the cache file in question, the first few lines look like this:
===
// URI: design:notification/handler/ezsubtree/view/plain.tpl
// Filename: design/base/templates/notification/handler/ezsubtree/view/plain.tpl
// Timestamp: 1205407378 (Thu Mar 13 12:22:58 CET 2008) === ...and lines 334 and 335 look like this:
===
$var2 = ( array_key_exists( $rootNamespace, $vars ) and array_key_exists( 'object', $vars[$rootNamespace] ) ) ? $vars[$rootNamespace]['object'] : null;
$var3 = compiledFetchAttribute( $var2, 'main_node_id' ); === Also, I receive 100+ emails containing notifications of nodes that were changed a long time ago. So there's two specific problems here:
1. The script won't execture successfully. 2. I would image that I should only get notifications from the point of which I subscribed. As of now, the notifications seem to have a retroactive effect. Thanks in advance !
Sincerely,
Eirik Alfstad Johansen
http://www.netmaking.no/
|