All seems to work just fine. however i do have this one error when i try and delete emails older than 6months old. I also tried to DEL orders older than 12 months, but get the same error
---------------------------------
Warning: Cannot modify header information - headers already sent by (output started at /homepages/23/d173543998/htdocs/admin/email_history.php:62) in /homepages/23/d173543998/htdocs/admin/includes/functions/general.php on line 34
----------------------------------------
can anyone help me
i couldnt find an active topic for this contrib. if im posting in the wrong spot, please inform me.
thanks in advance
Benjamin
It seems that the purge features of the contribution should probably be handled at the top of the file instead of in the middle.
Either way, I suspect, based on the code, that when you received that error, the delete/purge you request has actually been completed, and it was simply attempting to redraw the page and show you the success message. (but, due to order-of-operations, it failed because content was already showing on the screen.)
Thanks so much for the contrib!! I am using it to try and figure out why, suddenly, no emails seem to be getting sent from my cart. I tested by sending an email via "contact us" and then went to this utility. It shows up in the email archive search, but when I try to resend I get this error message:
Warning: Invalid argument supplied for foreach() in xxx/shopping/includes/functions/functions_email.php on line 342
Warning: Cannot modify header information - headers already sent by (output started at xxx/shopping/includes/functions/functions_email.php:342) in xxx/shopping/admin/includes/functions/general.php on line 34
Any idea what that means? And could it have anything to do with why my emails aren't going through as well?
Signs,
Getting that error does not necessarily explain a problem with sending emails.
That error should not be happening, but will only happen if you are attempting to re-send an email that has no HTML-based component tied to it.
As to your email problems with "not sending", please discuss those in another thread, and leave this one for the email archive tool. You may open another topic for this purpose. I suggest you start by upgrading from v1.3.0.2 to at least v1.3.6 as a starting point. The line-number in your post above suggests you're using an out-of-date set of code.
My apologies, I was searching for the error in email archive search that I was experiencing and posted to another thread about it so this may count as a duplicate, if so sorry. I snipped and put it here hoping it would be found.
I just put this module in as per instructions, it works fine when previewing the emails in text, but in html it shows all the code:
And when I resend the email I get the same error as I saw in A previous post:
"
MYLOGO (image is missing I get an X)
$EMAIL_SUBJECT
$EMAIL_MESSAGE_HTML
$EMAIL_FOOTER_COPYRIGHT
$EMAIL_DISCLAIMER
$EMAIL_SPAM_DISCLAIMER
$EXTRA_INFO
"
I've looked through my settings and html mime email is enabled.
I've read through the code for email_history.php but can't find any obvious errors. (As if a newbie like me could :) I don't get any errors or issues from the resend, the mailserver, the spam killer or antivirus filters, etc,...
I've tried the html template, checked my variables, Etc,... as described in the previous posts but I still get the $EMAIL_* in html format. When I send the original email ^ as if placing or updating the order, I get a nice html format with image and message, just as would be expected.
I'm wondering if it's something in the extraction of the message from the database, because I see the email excerpt looks correct as far as the message data goes (when looking in the email archive function) ^ but the email looks to be going out without the data from the original email inserted.
BTW, I'm using ZC 1.3.6, MySQL 5.0.20, PHP 5.1.6, Apache 2.2,...
If any other info would help... I'd be happy to solve this one.
but of course, I forgot to update the help as suggested. After I submitted the change, I realized this and I updated my local copy, so the next time I change this mod, the help will be updated.
I renamed this contribution "Email Archive Manager," which I think is a more accurate representation of what it does now. Thanks to the folks who reported this bug.
Hi all
I was using old version of the mod and alls was fine, but with the new version (email archive manager 1.3), i can view sent messages in txt format, but not in html. I see:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <base href="http://www.xxxs.com/shop/" /> <style type="text/css"> body {background-color:#ffffff; color:#000000; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center;} a:link {color:#0066cc;} a:hover {background-color:#eeeecc; color:#0066cc;} a:visited {color:#0066cc;} .holder {background-color:#f9f9f9; border:1px solid #9a9a9a; font-size:9px; text-align:left; width:550px;} .header {font-size:10px; padding:0px; width:550px;} .content {font-size:10px; padding:5px; width:550px;} .footer {border-top:1px solid #9a9a9a; font-size:9px; margin-top:10px; text-align:center; width:550px;} .disclaimer {background-color:#f9f9f9; border:1px solid #cccccc; font-size:10px; margin-top:10px; padding:5px; width:550px;} .disclaimer1 {color:#666666; padding:5px;} .disclaimer1 a:link {color:#666666;} .disclaimer1 a:visited {color:#666666;} .disclaimer2 {color:#666666; padding:5px;} .copyright {border-bottom:0px solid #9a9a9a; padding:5px;} </style> </head> <body> <div class="holder"> <!-- Header Section --> <div class="header"> <img src="email/header.jpg" alt="logo" /> </div> <!-- ,
,etc,...
I think this is not afecting sending emails but, what can i do to resolve it?