possible bug in ezxnewsletter

Author Message

Olivier Ricordeau

Wednesday 23 May 2007 11:44:55 pm

Hi,

I'm working on a site with ezxnewsletter installed. In the "user_settings" page when a user changes its html/text preference and clicks "update", it unsubscribes him from the newsletter! :(
The important file seems to be modules/newsletter/user_settings.php. I've made a diff of that file and the file from 1.0 and they are the same. I've made a recursive diff on all the extension and there are some differences between 1.0 and the code I have. It seems that
a) my version is a bit older than 1.0
or
b) the extension has been hacked

What do you think I should do? Try to install 1.0 and see if the bug is still here? Try to fix the bug? Use another version (is there a svn somewhere?)? Is it a known bug?

Cheers,

Olivier

Tobias Struckmeier

Thursday 24 May 2007 7:20:50 am

Hi Olivier,

there was a preview version of the newsletter in the early days when it was in development. I don't know maybe you took that one.
But anyway, in the current version 1.5.1 we tried to make it much easier to use the extension. So that for the most things you don't have to customize much to fit your needs. Currently the setup is aimed to be installed as stand alone system (that of work together with another system by linking) or that you install it manually.
For the manual installation on an existing site a guide will follow describing this process.
The bug you've mentioned I wasnt able to reproduce yet with the 1.5 version.

Cheers,
Tobias

Olivier Ricordeau

Thursday 24 May 2007 8:33:51 am

Ok, I didn't know about the 1.5.1 version. This page:
http://ez.no/community/contribs/applications/ez_newsletter/
says the last version is 1.0. Before making my diffs, I've downloaded the extension by clicking "Download contribution" on the previous page. I think I got the 1.0 version.

I'll try 1.5.1 and see if the bug disapears.

Thx for your time,
Olivier

Olivier Ricordeau

Thursday 07 June 2007 6:29:47 am

Is ezxnewsletter 1.5.1 supposed to be compatible with ezpublish 3.8.4??

Tobias Struckmeier

Friday 08 June 2007 5:37:04 am

Hi Oliver,

have you problems by using it with 3.8.4? Can you these problems in the issue tracker? Then I will look into the problems asap.

Cheers,
Tobias

Olivier Ricordeau

Friday 08 June 2007 5:54:37 am

So far so good. No issue to report.

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 05:22:38
Script start
Timing: Jan 18 2025 05:22:38
Module start 'layout'
Timing: Jan 18 2025 05:22:38
Module start 'content'
Timing: Jan 18 2025 05:22:38
Module end 'content'
Timing: Jan 18 2025 05:22:38
Script end

Main resources:

Total runtime0.5259 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 588.0625152.6406
Module start 'layout' 0.00740.0032 740.703139.4766
Module start 'content' 0.01060.5137 780.1797542.9063
Module end 'content' 0.52430.0017 1,323.085912.1406
Script end 0.5259  1,335.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.6664160.0002
Check MTime0.00160.2970160.0001
Mysql Total
Database connection0.00080.150210.0008
Mysqli_queries0.447985.1513680.0066
Looping result0.00100.1962660.0000
Template Total0.474090.120.2370
Template load0.00190.358320.0009
Template processing0.472189.759620.2360
Template load and register function0.00060.106810.0006
states
state_id_array0.00100.199010.0010
state_identifier_array0.00150.287320.0008
Override
Cache load0.00160.3014380.0000
Sytem overhead
Fetch class attribute can translate value0.00080.158920.0004
Fetch class attribute name0.00180.339470.0003
XML
Image XML parsing0.00060.123420.0003
class_abstraction
Instantiating content class attribute0.00000.003580.0000
General
dbfile0.01763.3462160.0011
String conversion0.00000.002040.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs