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.

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

Main resources:

Total runtime0.0222 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1563151.2109
Module start 'layout' 0.00490.0037 739.3672220.6875
Module start 'content' 0.00850.0122 960.05471,002.9766
Module end 'content' 0.02070.0015 1,963.031337.9922
Script end 0.0222  2,001.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002611.7589140.0002
Check MTime0.00104.5646140.0001
Mysql Total
Database connection0.00083.747310.0008
Mysqli_queries0.00229.797330.0007
Looping result0.00000.045010.0000
Template Total0.00115.010.0011
Template load0.00083.747310.0008
Template processing0.00031.187310.0003
Override
Cache load0.00062.870010.0006
General
dbfile0.00020.898880.0000
String conversion0.00000.030040.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