notification problems

Author Message

Frode Marton Meling

Wednesday 11 February 2004 2:26:04 am

Hello
I have following setup:
- Windows 2003 server standard
- eZ Publish 3.3-3 (installer version)
- Windows 2000 server with MS Exchange server

I try to use our Exchange server for notification. Everything seems to be correct in eZ publish settings:

I changed these settings:

[MailSettings]
Transport=SMTP
TransportServer=my.exchange.server
TransportPort=25
TransportUser=
TransportPassword=
AdminEmail=nospam@forme.thankU
# The address which will be set at the sender of the e-mail as default
EmailSender=nospam@forme.thankU

When I the add notification to a user and change for instance an article, and then run the runcronjobs.php : php -C runcronjobs.php -s mysite -d
The debug then dumps:

Timing: ()
Script cronjobs/notification.php starting

Warning: (PHP)
Undefined offset: 6 in C:\eZ\ezpublish\kernel\classes\notification\handler\ezsubtree\ezsubtreehandler.php on line 201

Warning: (PHP)
Undefined index: use_digest in C:\eZ\ezpublish\kernel\classes\notification\handler\ezsubtree\ezsubtreehandler.php on line 207

Error: (eZINI)
Undefined group: 'TransportSettings'

Error: (eZSMTPTransport::sendMail())
Error sending SMTP mail: 5.5.2 Need Mail From: first

Timing: ()
Script cronjobs/notification.php done

Any Ideas any1?

MartOn

Frode Marton Meling

Thursday 12 February 2004 6:56:29 am

If you look in: kernel\classes\notification\eznotificationtransport.php

you will find the following from line 55:
...
function &instance( $transport = false, $forceNewInstance = false )
{
$ini =& eZINI::instance( 'notification.ini' );
if ( $transport == false )
{
$transport = $ini->variable( 'TransportSettings', 'DefaultTransport' );
}
As you can see it refereres to TransportSettings. It does not exist in any notification.ini.

Maybe it has nothing to do with the error?

Here is updated error messages from my cronjob:
Timing: ()
Script cronjobs/notification.php starting

Warning: (PHP)
Undefined offset: 6 in C:\eZ\ezpublish\kernel\classes\notification\handler\ezsu
btree\ezsubtreehandler.php on line 201

Error: (eZINI)
Undefined group: 'TransportSettings'

Error: (eZMailNotificationTransport::send())
Error with receiver

Warning: (PHP)
Undefined offset: 6 in C:\eZ\ezpublish\kernel\classes\notification\handler\ezsu
btree\ezsubtreehandler.php on line 201

Same settings as in last post.

MartOn

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 18:24:56
Script start
Timing: Jan 18 2025 18:24:56
Module start 'layout'
Timing: Jan 18 2025 18:24:56
Module start 'content'
Timing: Jan 18 2025 18:24:57
Module end 'content'
Timing: Jan 18 2025 18:24:57
Script end

Main resources:

Total runtime0.8251 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9063152.6250
Module start 'layout' 0.00520.0036 740.531339.4453
Module start 'content' 0.00880.8147 779.9766446.2578
Module end 'content' 0.82350.0015 1,226.23448.1719
Script end 0.8250  1,234.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4577160.0002
Check MTime0.00150.1851160.0001
Mysql Total
Database connection0.00090.106310.0009
Mysqli_queries0.768093.0817520.0148
Looping result0.00050.0600500.0000
Template Total0.778394.320.3892
Template load0.00240.284920.0012
Template processing0.776094.048820.3880
Template load and register function0.00020.022110.0002
states
state_id_array0.00170.211510.0017
state_identifier_array0.00190.226220.0009
Override
Cache load0.00210.2499640.0000
Sytem overhead
Fetch class attribute can translate value0.00060.072710.0006
Fetch class attribute name0.00130.157120.0006
XML
Image XML parsing0.00010.013210.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00270.3252100.0003
String conversion0.00000.000840.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
15content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs