Forums / Addon Admin Tools / Email Archive Manager

Email Archive Manager

Views: 65,744

Results 141 to 160 of 209
28 Nov 2013, 4:27 AM
#141
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Email Archive Manager

mcpisik:

Thanks. How could I empty the emails it has archived, as it only deletes a month back? (quite large)
I imagine your prior post was proposing to use phpMyAdmin to drop the table. Instead, click the button that says "empty", which will run the SQL "truncate" command on the table, which completely purges that table's entire contents.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Nov 2013, 5:44 AM
#142
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Email Archive Manager

Oh of course, thank you for that. I had originally meant that when writing previously, but as I wasn't viewing the phpmyadmin had forgotten the terms.
Appreciate the correct fix.

27 May 2014, 3:02 AM
#143
haostaff avatar

haostaff

Zen Follower

Join Date:
Oct 2007
Location:
Hong Kong
Posts:
112
Plugin Contributions:
0

Re: Email Archive Manager

Simple problem: I have uploaded all the files to server. I have double checked that. But the Archiver is not showing in my Admin under the Tools. I am using Version 1.3.7 (old I know).

Thanks for quick help.

27 May 2014, 4:47 AM
#144
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Email Archive Manager

haostaff:

Simple problem: I have uploaded all the files to server. I have double checked that. But the Archiver is not showing in my Admin under the Tools. I am using Version 1.3.7 (old I know).

Thanks for quick help.

Besides possibley (probably) not being compatible with that version of ZC, installation to such an older version is a little different, requiring atleast one file I thought that is no longer routinely created to appear on the admin panel.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

27 May 2014, 8:52 AM
#145
haostaff avatar

haostaff

Zen Follower

Join Date:
Oct 2007
Location:
Hong Kong
Posts:
112
Plugin Contributions:
0

Re: Email Archive Manager

mc12345678:

Besides possibley (probably) not being compatible with that version of ZC, installation to such an older version is a little different, requiring atleast one file I thought that is no longer routinely created to appear on the admin panel.

Thank you, MC. I have gone back to re-install the latest version (1.6) that worked with Zencart 1.3.x, and it is now working for me as intended.

24 Jun 2014, 11:24 PM
#146
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Email Archive Manager

Hi
when I use the automatic email send function in the "recover cart sales" add on I get multiple identical error logs, see below. It seems to work OK, the email is sent and I see a copy here in the archive.

Log is; [22-Jun-2014 15:43:40 Europe/Zurich] PHP Warning: substr() expects parameter 3 to be long, string given in /home/httpd/vhosts/simmar.ch/httpdocs/catalog/..............admin/email_archive_manager.php on line 435

26 Jun 2014, 1:38 PM
#147
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Email Archive Manager

marton_1:

Hi
when I use the automatic email send function in the "recover cart sales" add on I get multiple identical error logs, see below. It seems to work OK, the email is sent and I see a copy here in the archive.

Log is; [22-Jun-2014 15:43:40 Europe/Zurich] PHP Warning: substr() expects parameter 3 to be long, string given in /home/httpd/vhosts/simmar.ch/httpdocs/catalog/..............admin/email_archive_manager.php on line 435

That tells me that either you're missing the /admin/includes/**languages/(your_language_here)/**admin_archive_manager.php file from your server (for EACH language you've got on your site), or you've changed that file's contents and adjusted the define('SUBJECT_SIZE_LIMIT', 25); to be a non-numeric value. Make sure it's a number.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Jun 2014, 2:21 PM
#148
marton_1 avatar

marton_1

Totally Zenned

Join Date:
Apr 2013
Location:
eglisau switzerland
Posts:
568
Plugin Contributions:
0

Re: Email Archive Manager

Great, thanks for your fast reply.

I am using the German language pack as well as English. I have copied the file into the German language part and it now works fine; no error messages.

Thanks again

18 Oct 2014, 4:00 PM
#149
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Email Archive Manager

myDEBUG: email archive manager

Is this a problem or one of those myDEBUG files to ignore?

TNX Rick

I do not know if this is new to zc1.5.3

zc v1.5.3 with database updated from v1.3.9 and charset converted from latin1 to utf8

[18-Oct-2014 07:54:26 America/Los_Angeles] #1  zen_mail() called at [/home/CPANELaccount/public_html/MYADMINFOLDER/email_archive_manager.php:33]

[18-Oct-2014 07:54:26 America/Los_Angeles] PHP Warning:  Illegal string offset 'EMAIL_TO_NAME' in /home/CPANELaccount/public_html/includes/functions/functions_email.php on line 99
[18-Oct-2014 07:54:26 America/Los_Angeles] #1  zen_mail() called at [/home/CPANELaccount/public_html/MYADMINFOLDER/email_archive_manager.php:33]

[18-Oct-2014 07:54:26 America/Los_Angeles] PHP Warning:  Illegal string offset 'EMAIL_TO_ADDRESS' in /home/CPANELaccount/public_html/includes/functions/functions_email.php on line 100
[18-Oct-2014 07:54:26 America/Los_Angeles] #1  zen_mail() called at [/home/CPANELaccount/public_html/MYADMINFOLDER/email_archive_manager.php:33]

[18-Oct-2014 07:54:26 America/Los_Angeles] PHP Warning:  Illegal string offset 'EMAIL_SUBJECT' in /home/CPANELaccount/public_html/includes/functions/functions_email.php on line 101
[18-Oct-2014 07:54:26 America/Los_Angeles] #1  zen_mail() called at [/home/CPANELaccount/public_html/MYADMINFOLDER/email_archive_manager.php:33]

[18-Oct-2014 07:54:26 America/Los_Angeles] PHP Warning:  Illegal string offset 'EMAIL_FROM_NAME' in /home/CPANELaccount/public_html/includes/functions/functions_email.php on line 102
[18-Oct-2014 07:54:26 America/Los_Angeles] #1  zen_mail() called at [/home/CPANELaccount/public_html/MYADMINFOLDER/email_archive_manager.php:33]

[18-Oct-2014 07:54:26 America/Los_Angeles] PHP Warning:  Illegal string offset 'EMAIL_FROM_ADDRESS' in /home/CPANELaccount/public_html/includes/functions/functions_email.php on line 103

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

3 May 2015, 10:02 PM
#150
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Email Archive Manager

Almost done with a fresh rebuild of the site on ZC 1.5.4 using the (among others) email archive manager 1-7b_zc1.5 . Superuser can access, but no other profile can. Have tried checking every box for that profile, only checking that box, building new profiles, re-registering the page all to no avail. In the DB it all looks right. This may hold me up from going live so if anyone has ANY ideas, please let me know!

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

4 May 2015, 12:11 PM
#151
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,111
Plugin Contributions:
56

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.

4 May 2015, 11:11 PM
#152
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

Re: Email Archive Manager

That did it, thanks lat9!

2 + 2 = 5 for extremely large values of 2

Pez Collectors Store •••••••• My Plugins List

5 May 2015, 10:30 AM
#153
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,111
Plugin Contributions:
56

Re: Email Archive Manager

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.

10 Nov 2015, 3:41 PM
#154
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

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

10 Nov 2015, 6:59 PM
#155
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Email Archive Manager

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) =

10 Nov 2015, 7:10 PM
#156
congerman avatar

congerman

Zen Follower

Join Date:
Oct 2008
Posts:
392
Plugin Contributions:
0

Re: Email Archive Manager

I have looked in the database and they are truncated there as well.????????

23 Nov 2015, 3:14 AM
#157
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

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):

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.

23 Nov 2015, 3:51 AM
#158
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

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.

23 Nov 2015, 4:46 AM
#159
s_mack avatar

s_mack

Totally Zenned

Join Date:
Jun 2005
Location:
Kelowna, BC Canada
Posts:
1,033
Plugin Contributions:
4

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.

10 May 2016, 11:10 PM
#160
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

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.

    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.

DentalPlanet Designed/Administrated by Falls Geek