Forum notification problem

Author Message

Albert Hornos

Monday 30 January 2006 1:00:44 am

Hi, I'm back!
I've a little problem with a forum notification. I need a notification system for a forum. I've achived add the notification for a node but the problem is that no message is sent.
Other mails are sent like register confirmation or newsletter and the mail transport is set in "smtp".
I'm looking for the breakpoint but up to now I couldn't find nothing. Could anyone help me telling me where to begin to look for?

Thank you very much!

Ɓukasz Serwatka

Monday 30 January 2006 11:32:03 pm

Hi Albert,

Did you setup cronjob for eZ publish?

http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/installation/the_cronjob_script

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Albert Hornos

Tuesday 31 January 2006 1:00:59 am

Thank you very much!

I've solved the problem adding this at index.php

/* Run Notification Filters */

$notifyFilterLastRunTimeFile = 'ezfilternotify_last_runtime';

$filterAutoRunInterval = 7200; //2 hours

$runFilter = false;

if( file_exists($notifyFilterLastRunTimeFile) )

{

 if( time() - filemtime( $notifyFilterLastRunTimeFile ) > $filterAutoRunInterval )

 {

$runFilter = true;

 }

}

else

 $runFilter = true;

 

if( $runFilter )

{

 include_once( 'kernel/classes/notification/eznotificationeventfilter.php' );

 touch($notifyFilterLastRunTimeFile);

 eZNotificationEventFilter::process();

}

It runs automatically the cronjob for notification when someone access the site, but only every 2 hours.

All of this is explained at this link:

http://ez.no/products/ez_publish_open_source_enterprise_cms/documentation/configuration/configuration/cron_jobs

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

eZ debug

Timing: Jan 18 2025 19:23:57
Script start
Timing: Jan 18 2025 19:23:57
Module start 'layout'
Timing: Jan 18 2025 19:23:57
Module start 'content'
Timing: Jan 18 2025 19:23:57
Module end 'content'
Timing: Jan 18 2025 19:23:57
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9141152.6250
Module start 'layout' 0.00690.0088 740.539139.4453
Module start 'content' 0.01570.0052 779.984489.4453
Module end 'content' 0.02080.0035 869.429734.3047
Script end 0.0244  903.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.004518.3211140.0003
Check MTime0.00166.6420140.0001
Mysql Total
Database connection0.00187.202610.0018
Mysqli_queries0.003514.207030.0012
Looping result0.00000.074210.0000
Template Total0.00187.310.0018
Template load0.00103.892410.0010
Template processing0.00083.339610.0008
Override
Cache load0.00062.613810.0006
General
dbfile0.00041.639080.0001
String conversion0.00000.032240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs