Notitications not working

Author Message

Clive Flatau

Thursday 03 February 2005 6:00:45 am

I just want to get notifications for adding content to a subtree - which I set up for example by using the admin interface My Account/My Notification settings/Notifications.

I select the subtree I'm interested in. Publish an e-mail there and don't get a notification. The email config is ok (i.e.

[TransportSettings]
DefaultTransport=SMTP

[MailSettings]
Transport=SMTP
TransportServer=my.smtp.server.com
TransportUser=
TransportPassword=
AdminEmail=my@adress.com
EmailSender=my@adress.com

And this works for user registration.

Any ideas please?

Frederik Holljen

Thursday 03 February 2005 6:10:44 am

My guess is that you have forgotten to set up the cronjob that does the actual notification work: http://ez.no/ez_publish/documentation/installation/the_cronjob_script

Clive Flatau

Thursday 03 February 2005 6:23:30 am

I should have added that I am running the runcronjobs.php script and I can see the event appear in eznotiticationevent and being cleared after the event is run. Also I can see the rule in ezsubtree_notification_rule for the correct user id.

Any more ideas anyone?

Eivind Marienborg

Thursday 03 February 2005 10:01:24 am

I had lots of trouble setting up notifications.. What solved my problems was making sure that I had specified which cronjobs to actually run (in override/cronjob.ini.append), and setting up the cronjob-table. This might be a clue.

Clive Flatau

Thursday 03 February 2005 10:06:05 am

I know it's running the cronjob because I'm running the script on a windows system (for development) amd I run it by command-line with the following results:

Running cronjobs/workflow.php
Checking for workflow processes
Status list

0 out of 0 processes was finished

Running cronjobs/notification.php
Starting notification event processing
Done

Running cronjobs/unpublish.php

Running cronjobs/indexcontent.php
Starting processing pending search engine modifications
Done

As mentioned in my previous post I see the event added to the db table, so it must to do with the sending process.

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 19 2025 03:40:09
Script start
Timing: Jan 19 2025 03:40:09
Module start 'layout'
Timing: Jan 19 2025 03:40:09
Module start 'content'
Timing: Jan 19 2025 03:40:10
Module end 'content'
Timing: Jan 19 2025 03:40:10
Script end

Main resources:

Total runtime1.5096 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.1563152.6250
Module start 'layout' 0.00610.0035 741.781339.4453
Module start 'content' 0.00961.4985 781.2266569.8672
Module end 'content' 1.50810.0014 1,351.093812.1641
Script end 1.5095  1,363.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2166160.0002
Check MTime0.00140.0911160.0001
Mysql Total
Database connection0.00110.072910.0011
Mysqli_queries1.455596.4175650.0224
Looping result0.00070.0438630.0000
Template Total1.473797.620.7369
Template load0.00200.131220.0010
Template processing1.471797.492820.7359
Template load and register function0.00030.017210.0003
states
state_id_array0.00310.204810.0031
state_identifier_array0.00090.061820.0005
Override
Cache load0.00160.1083290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.038730.0002
Fetch class attribute name0.00190.126670.0003
XML
Image XML parsing0.00120.082030.0004
class_abstraction
Instantiating content class attribute0.00000.001170.0000
General
dbfile0.00110.0710220.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs