Re: Email Archive Manager
There's going to be a file in /YOUR_ADMIN/includes/extra_datafiles that's named something like email_archive_manager_filenames.php. Look in there for a definition named something like FILENAME_EMAIL_ARCHIVE_MANAGER.
Does that definition set the value with .php at the end? If so, remove the .php from the definition.
Re: Email Archive Manager
That did it, thanks lat9!
Re: Email Archive Manager
Quote:
Originally Posted by
gothstone
That did it, thanks lat9!
That's great (kind of)! It was a bit of a shot-in-the-dark because I thought that v1.5.4 had introduced a change that provided a work-around for that mis-coding.
Re: Email Archive Manager
Hi I did post this elsewhere and then found this thread so re posted here. Sorry to forum admin in advance
Hi, I have installed email archive manager as some emails where not being received. When in the archive manager I have found that when I ask it to send again the order confirmation that it sends is truncated just after the first product
How do I fix this please?
Congerman
Re: Email Archive Manager
Quote:
Originally Posted by
Congerman
Hi I did post this elsewhere and then found this thread so re posted here. Sorry to forum admin in advance
Hi, I have installed email archive manager as some emails where not being received. When in the archive manager I have found that when I ask it to send again the order confirmation that it sends is truncated just after the first product
How do I fix this please?
Congerman
This is what I am getting, this order actually had 5 products but resend only show 1 and without a price
Order Confirmation / Invoice from BuyExtinguishersOnline.co.uk
My customers name here
Thanks for shopping with us today!
The following are the details of your order. Our Vat reg number is **********
------------------------------------------------------
Order Number: BEO- 2648
Date Ordered: 04/11/2015
Detailed Invoice:
http://buyextinguishersonline.co.uk "standard acct info here"
Products
------------------------------------------------------
2 x 2kg Carbon Dioxide (FXC2) =
Re: Email Archive Manager
I have looked in the database and they are truncated there as well.????????
Re: Email Archive Manager
I'm having some weirdness with this contrib too... is it simply not compatible with 1.5.4?
When I tried resending an email, it throws these errors (which means nothing to me):
Code:
22-Nov-2015 20:00:15 MST] PHP Warning: Illegal string offset 'EMAIL_TO_NAME' in /home/smartiep/public_html/shop/includes/functions/functions_email.php on line 99
[22-Nov-2015 20:00:15 MST] PHP Warning: Illegal string offset 'EMAIL_TO_ADDRESS' in /home/smartiep/public_html/shop/includes/functions/functions_email.php on line 100
[22-Nov-2015 20:00:15 MST] PHP Warning: Illegal string offset 'EMAIL_SUBJECT' in /home/smartiep/public_html/shop/includes/functions/functions_email.php on line 101
[22-Nov-2015 20:00:15 MST] PHP Warning: Illegal string offset 'EMAIL_FROM_NAME' in /home/smartiep/public_html/shop/includes/functions/functions_email.php on line 102
[22-Nov-2015 20:00:15 MST] PHP Warning: Illegal string offset 'EMAIL_FROM_ADDRESS' in /home/smartiep/public_html/shop/includes/functions/functions_email.php on line 103
I tried looking up that vague "illegal string offset" error and it typically has something to do with treating a string like an array, but when I look at those lines there's no array magic going on at all?!?
This isn't my only issue. Previewing in HTML shows me nothing. I *must* preview in text to see anything. My admin is set to HTML, if that matters.
I suspect the two above problems are related since the error-throwing code chunk has something to do with the html block for sending an email.
Re: Email Archive Manager
Yeah it must be something to do with how HTML is handled because if I manually go in the DB and delete the HTML entry for a particular archived email, then send works fine.
Re: Email Archive Manager
OK, so now I'm thinking it has something to do with how the email is encoded/stored/retrieved/decoded
The reason is when I look at the "preview" of an HTML message, I see nothing. No error, just no message. I inspected the output and I see some strangeness. In the database, it looks like the <html> tags were all (properly) encoded to _HTML_ tags. After this contrib tries to display it to me in the preview, SOME of the _HTML_ type tags are properly decoded (<HTML>) while some are partly decoded (<HTML_) and many are simply not decoded (_HTML_).
If I manually finish the decoding job, magically the preview displays properly. I suspect this has something to do with both my preview and failure to send issues.
Re: Email Archive Manager
I don't think this fixes your problem s_mack but I have found why I have the same error even though my HTML is shut off in admin.
Code:
if($email->email_html == 'HTML disabled in admin') $email->email_html = array();
I ended up putting that line of code right above the zen_mail in the beginning of email_archive_manager.php. This prevents a string from being entered into zen_mail when an array is expected and fixes this error.