send newsletter et userhash pb

Author Message

Anthony M.

Monday 10 March 2008 6:41:33 am

Hi,

when i click on the "send preview" button, it works, i can see my newsletter into the mail, but when i use the cronjob to send the newsletter, the mail is empty... do you know why ?

otherwise, what is the [userhash] in the url ?
for example : http://domain.com/newsletter/read/[userhash]/62
is it a number ? how it works ?

thanks for your help

Anthony

Sylvain Guittard

Monday 10 March 2008 7:03:15 am

Hi Anthony.

For the empty mail, I still have no solutions.

About userhash: it's a number that will be generated when sending the newsletter. This number is specific to the registered user.

http://www.vignevin-epicure.com
http://twitter.com/vignevinEPIcure

Anthony M.

Monday 10 March 2008 7:11:27 am

thanks Sylvain

is it normal that the hash isn't generated with the preview ? (ie when i click on the 'send preview' button)

for the blank mail, it's really strange that it's ok with the preview and not with the cronjob, maybe a pb of permissions ?

Anthony

Andrei H.

Monday 10 March 2008 12:27:11 pm

Hi Anthony,

please check your cronjob, if you have specified a siteaccess. Just look for the '-s' parameter.

/runcronjobs.php -s newsletter_editor send_newsletter

Without a siteaccess you will always see a blank page, because your cron-script have to know, which templates should be used.

See also: http://ez.no/download/add_ons/ez_newsletter/installation_instructions_for_ez_newsletter_1_5beta1

Anthony M.

Tuesday 11 March 2008 1:48:41 am

Hi,

i have specified the siteaccess "newsletter_editor" like that :

php runcronjobs.php -s newsletter_editor build_list

and

php runcronjobs.php -s newsletter_editor send_newsletter

but always nothing...

may i update the permissions for the users ?

Thanks

Anthony

Anthony M.

Tuesday 11 March 2008 2:39:09 am

i think that my problem is a bug, look at that :

http://issues.ez.no/IssueView.php?Id=10587&ProjectId=7&Anchor=Comment252196">http://issues.ez.no/IssueView.php?Id=10587&ProjectId=7&Anchor=Comment252196

there is a solution for that ? i don't see how can i resolve this pb...

Anthony

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 30 2025 19:35:06
Script start
Timing: Jan 30 2025 19:35:06
Module start 'layout'
Timing: Jan 30 2025 19:35:06
Module start 'content'
Timing: Jan 30 2025 19:35:06
Module end 'content'
Timing: Jan 30 2025 19:35:06
Script end

Main resources:

Total runtime0.0282 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 588.2813151.2266
Module start 'layout' 0.00530.0049 739.5078220.7188
Module start 'content' 0.01020.0162 960.22661,002.8984
Module end 'content' 0.02650.0017 1,963.125033.9922
Script end 0.0282  1,997.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.2196140.0002
Check MTime0.00124.1694140.0001
Mysql Total
Database connection0.00082.844410.0008
Mysqli_queries0.003111.023630.0010
Looping result0.00000.053210.0000
Template Total0.00134.610.0013
Template load0.00103.435510.0010
Template processing0.00031.126610.0003
Override
Cache load0.00062.302210.0006
General
dbfile0.00238.257780.0003
String conversion0.00000.031240.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