Forums / Setup & design / notification problems

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

eZ debug

Timing: Jan 31 2025 00:41:06
Script start
Timing: Jan 31 2025 00:41:06
Module start 'content'
Timing: Jan 31 2025 00:41:06
Module end 'content'
Timing: Jan 31 2025 00:41:06
Script end

Main resources:

Total runtime0.2779 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0163 587.9219370.3047
Module start 'content' 0.01640.0474 958.22661,001.3906
Module end 'content' 0.06380.2140 1,959.61723,892.9141
Script end 0.2778  5,852.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00531.9246200.0003
Check MTime0.00140.5085200.0001
Mysql Total
Database connection0.00160.558610.0016
Mysqli_queries0.132647.73231410.0009
Looping result0.00160.56901390.0000
Template Total0.213476.810.2134
Template load0.00080.304110.0008
Template processing0.212676.499810.2126
Override
Cache load0.00060.211610.0006
Sytem overhead
Fetch class attribute can translate value0.00180.647010.0018
XML
Image XML parsing0.00030.101510.0003
General
dbfile0.028710.3192200.0014
String conversion0.00000.003730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs