Forums / Extensions / eZ Newsletter / embedded images

embedded images

Author Message

andre müller

Wednesday 03 October 2007 1:47:03 am

hello
uh, it used to work, but does not anymore. mails with images embedded come without attachments. no entry in ez error logs.
the funny thing is, that it works with preview sending, but stops working when i send via cronjob. does that give a clue to a possible solution? thanks!

i find this in my mail error log:

Oct 3 11:05:43 www pop3d:
Oct 3 11:05:56 www last message repeated 2 times
Oct 3 11:06:57 www last message repeated 3 times
Oct 3 11:08:17 www last message repeated 6 times
Oct 3 11:09:03 www last message repeated 6 times
Oct 3 11:09:27 www last message repeated 2 times
Oct 3 11:09:46 www qmail-queue-handlers[30916]: possible qmail-smtpd exited by timeout, reset connection or with "See http://pobox.com/~djb/docs/smtplf.html."

Tobias Struckmeier

Thursday 04 October 2007 1:34:35 am

do you execute the cronjob with in the context of your editing siteaccess?

like:

runcronjobs.php -s newsletter_editor send_newsletter

andre müller

Thursday 04 October 2007 5:20:55 am

sorry for spamming this forum with problems that seem to be very me-specific.
it was again a permission problem (at least i think so..). as soon as the var directory is owned by webserver nothing works correctly. i had to change the ownership to the www user.

Tobias Struckmeier

Friday 05 October 2007 2:50:14 am

Hi andre,

"as soon as the var directory is owned by webserver nothing works correctly. i had to change the ownership to the www user."

On most systems the webserver runs as "www" user. So imho "www=webserver".
Or did you meant as soon as its owned by the webserver everything works correctly?

andre müller

Monday 08 October 2007 2:51:25 am

dear tobias, thanks for the reply and sorry to be so confusing..now my var dir is not owned by www (webserver) anymore, but chmodded 777 (i know, not secure) and owned by me. and it's only now that ev. runs fine.
possibly i'm confusing stuff, but i think the cronjob system adds some complexity in ownership/permission stuff, especially on plesk servers, where by default the user is not in in the webserver group and vice versa..

Tobias Struckmeier

Tuesday 09 October 2007 1:12:19 am

Can you add a bug report to the ez publish issue tracker? Then this can be verified.

eZ debug

Timing: Jan 18 2025 10:23:17
Script start
Timing: Jan 18 2025 10:23:17
Module start 'content'
Timing: Jan 18 2025 10:23:17
Module end 'content'
Timing: Jan 18 2025 10:23:17
Script end

Main resources:

Total runtime0.1932 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.7344180.7891
Module start 'content' 0.00730.0196 768.523499.0547
Module end 'content' 0.02690.1662 867.5781528.7813
Script end 0.1931  1,396.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.7550200.0002
Check MTime0.00130.6958200.0001
Mysql Total
Database connection0.00100.525910.0010
Mysqli_queries0.127666.04721410.0009
Looping result0.00160.80401390.0000
Template Total0.165885.810.1658
Template load0.00090.449810.0009
Template processing0.164985.342310.1649
Override
Cache load0.00060.295510.0006
Sytem overhead
Fetch class attribute can translate value0.00080.399010.0008
XML
Image XML parsing0.00020.117510.0002
General
dbfile0.01025.2662200.0005
String conversion0.00000.005230.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.0001 secs