Collaboration notifications are not being sent

Author Message

Gabriel Finkelstein

Thursday 03 June 2010 2:30:50 pm

Hi,
I can't seem to get the collaboration (ezapprove) notification to work.

I'm using the default cronjob.ini settings:

[CronjobPart-frequent]
Scripts[]=notification.php
Scripts[]=workflow.php

This settings in site.ini

[MailSettings]
Transport=sendmail
AdminEmail=me@mydomain.com
EmailSender=me@mydomain.com

And I have "Approval" checked in Dashboard > My notification settings.

And when i run

 php -C runcronjobs.php -s siteaccess_admin frequent

I get the following output

Using siteaccess siteaccess_admin for cronjob
Running cronjob part 'frequent'
Running cronjobs/notification.php at: 03/06/2010 21:26
Starting notification event processing
Done
Completing cronjobs/notification.php at: 03/06/2010 21:26
Elapsed time: 00:00:00

Running cronjobs/workflow.php at: 03/06/2010 21:26
Checking for workflow processes
Status list
Evento del flujo de trabajo ha sido prorrogado a una tarea programada (cron job)(4): 4

0 out of 4 processes was finished
Completing cronjobs/workflow.php at: 03/06/2010 21:26
Elapsed time: 00:00:01

But I receive no email. I can confirm that the subtree notification emails are sent correctly, and that the items to be approved show up in Dashboard > Collaboration, but I get absolutely no emails regarding collaboration. I also checked in eZ Publish logs, syslog, and mail.log and I see no relevant information.

What am I missing?

Robin Muilwijk

Friday 04 June 2010 12:20:56 pm

Hi Gabriel,

Can you cehck the following topic; http://share.ez.no/forums/install-configuration/workflow-not-sending-e-mails.
Scroll down to the bottom, another user had a similar problem and he forgot to link a useraccount.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Gabriel Finkelstein

Friday 04 June 2010 1:22:03 pm

Thank you for answering.

Dashboard > Notifications > Approval is checked, so that's not it.

Nicolas OTTAVI

Tuesday 03 August 2010 3:52:41 am

Hi Gabriel,

I have the same problem as you ...Did you find any solution ?

Thank you,

Nico O

Gabriel Finkelstein

Tuesday 03 August 2010 9:12:28 am

No, I haven't.

Andy Caiger

Wednesday 01 December 2010 11:18:47 pm

"

Hi Gabriel,

Can you check the following topic; http://share.ez.no/forums/install-configuration/workflow-not-sending-e-mails.
Scroll down to the bottom, another user had a similar problem and he forgot to link a useraccount.

Regards Robin

"

I am that user! I hadn't set the user account to receive collaboration notifications. After doing so (Go to My Account -> My notification settings. Under Collaboration notification, make sure that the Approval checkbox is ticked) that user started to receive collaboration notifications. Great! But then we upgraded eZ Publish from 4.2 to 4.3 and the collaboration emails are no longer sent! Ordinary notification emails still work. What is going on?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Andy Caiger

Thursday 02 December 2010 2:36:19 am

Problem solved by searching ez.no more deeply! This is due to a bug introduced into eZ Publish versions 4.3 and 4.4.

The solution at http://issues.ez.no/IssueView.php?Id=17353 worked for me.

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Robin Muilwijk

Thursday 02 December 2010 11:08:26 am

Thanks for sharing the information Andy!

@Gabriel, can you check if the above also fixes your problem?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

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 11:32:14
Script start
Timing: Jan 18 2025 11:32:14
Module start 'layout'
Timing: Jan 18 2025 11:32:14
Module start 'content'
Timing: Jan 18 2025 11:32:16
Module end 'content'
Timing: Jan 18 2025 11:32:16
Script end

Main resources:

Total runtime1.2738 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1641152.6406
Module start 'layout' 0.00640.0028 741.804739.4766
Module start 'content' 0.00911.2632 781.2813701.4922
Module end 'content' 1.27230.0014 1,482.773420.1250
Script end 1.2737  1,502.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3210160.0003
Check MTime0.00200.1600160.0001
Mysql Total
Database connection0.00060.043210.0006
Mysqli_queries1.180092.6405760.0155
Looping result0.00090.0697740.0000
Template Total1.235497.020.6177
Template load0.00210.161620.0010
Template processing1.233396.824620.6167
Template load and register function0.00010.007910.0001
states
state_id_array0.00120.093710.0012
state_identifier_array0.00130.104720.0007
Override
Cache load0.00210.1624570.0000
Sytem overhead
Fetch class attribute can translate value0.00120.091740.0003
Fetch class attribute name0.00620.4868120.0005
XML
Image XML parsing0.00940.734140.0023
class_abstraction
Instantiating content class attribute0.00000.0025160.0000
General
dbfile0.00760.5998360.0002
String conversion0.00000.000940.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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
15content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 42
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs