Forums / Extensions / eZ Newsletter / possible bug in ezxnewsletter

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.

eZ debug

Timing: Jan 18 2025 02:47:00
Script start
Timing: Jan 18 2025 02:47:00
Module start 'content'
Timing: Jan 18 2025 02:47:01
Module end 'content'
Timing: Jan 18 2025 02:47:01
Script end

Main resources:

Total runtime0.8620 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 587.8594180.7734
Module start 'content' 0.00880.6786 768.6328548.0000
Module end 'content' 0.68740.1746 1,316.6328337.3828
Script end 0.8620  1,654.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5380210.0002
Check MTime0.00170.1917210.0001
Mysql Total
Database connection0.00100.119710.0010
Mysqli_queries0.771389.47092050.0038
Looping result0.00200.23522030.0000
Template Total0.825195.720.4125
Template load0.00260.297920.0013
Template processing0.822595.413720.4113
Template load and register function0.00020.024910.0002
states
state_id_array0.00100.117210.0010
state_identifier_array0.00100.116820.0005
Override
Cache load0.00210.2446380.0001
Sytem overhead
Fetch class attribute can translate value0.00150.174930.0005
Fetch class attribute name0.00310.354970.0004
XML
Image XML parsing0.00100.116930.0003
class_abstraction
Instantiating content class attribute0.00000.002380.0000
General
dbfile0.00470.5447270.0002
String conversion0.00000.000930.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs