New Zenner
- Join Date:
- Mar 2010
- Location:
- Nottingham UK
- Posts:
- 90
- Plugin Contributions:
- 0
Email Archive Manager
I stand corrected... my functions_email.php file didn't overwrite properly, so ignore my post.
I've tested it and all is ok now.
Thanks!
Views: 65,743
New Zenner
I stand corrected... my functions_email.php file didn't overwrite properly, so ignore my post.
I've tested it and all is ok now.
Thanks!
Administrator
Updated README file to remove obsolete instructions.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Administrator
Updated zip file to bring in the latest includes/functions/functions_email.php.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
New Zenner
I just installed Email Archive Manager this morning into new Zen Cart version 1.56 and everything to send email stopped working in the shopping cart, with a "Internal Server Error". I tried it and sending email elsewhere in the Admin area several times and no email would send out from the shopping cart. The website is on Netfirms hosting, and I checked the Error Logs and nothing listed. But, I got lucky and picked: MyStore/includes/functions/functions_email.php first, and replaced it only with the original shopping cart copy of that file. Then tested before doing anything else. The email worked again in the shopping cart, including the Email Archive Manager too, as I had done nothing with the other files for it. I'm not much of writer for PHP, but that one file did not work with 1.56, it caused the "Internal Server Error". So until an update for 1.56, maybe don't install MyStore/includes/functions/functions_email.php and see if it works for you otherwise.
Administrator
Email Archive Manager is only up to 1.5.5. You could do the merge yourself for the file in question - it just allows you to preserve HTML mail in the archive.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
Update - I have the newest version **1.8d **working well on 3 carts/3 separate Linux servers running:
Zen Cart 1.55f (b)
MySQL 5.55
PHP **7.1
**
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian
New Zenner
Installed with cart 1.5.5f. When I try to preview HTML, all I get is body tag with style code.
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;} .content-line {padding:5px;} #checkout .content-line { font-size: 10px; } .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;} .extra-info {background-color:#cccc99; border:1px solid #9a9a9a; font-size:10px; margin-top:10px; padding:5px; width:550px;} .extra-info-bold {font-weight:bold;} .unsubscribe {border-bottom:1px solid #9a9a9a; padding:5px;} .gv {background-color:#66FF99; border:1px #9a9a9a; width:550px; padding:2px; font-size:10px; } .gv-amount {font-weight:bold; color:#669966;} .gv-code {font-weight:bold; color:#66CC66;} .store-name {font-size:13px; padding:5px;} .coupon-block { padding: 5px; border: 1px #cccccc solid; background-color: #FFFF99; } .coupon-code {font-weight:bold;} .gv-block { padding: 5px; border: 1px #cccccc solid; background-color: #99FF99; } .content-line-title {font-weight:bold; font-size:11px; padding-top:3px;} .order-detail-area {background-color:#CCCC99; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .product-details {font-size:10px;} .product-details-num {font-size:10px; font-weight:bold;} .order-totals-text {font-size:10px; font-weight:bold;} .order-totals-num {font-size:10px; } .comments {background-color:#FF6699; border:1px #9a9a9a; width:542px; padding:2px; font-size:10px; } .address-block {background-color:#E4E8F3; border:1px solid #9a9a9a; margin-top:3px;} .address {font-size:10px;} .payment-detail, .payment-footer {font-size:10px;} .delivery-block, .billing_block { width: 50%; vertical-align: top; } @media only screen and (max-width:640px){ .extra-info, .delivery-block, .billing-block {width:100%; margin:0; } .holder, .header, .content, .footer, .disclaimer, .gv { width: 100%; } .comments, .order-detail-area { width: 95%; } .billing-block, .delivery-block { float:left; } .billing-block { border-top:1px solid #9a9a9a; margin-top:5px; } }
Zen-Cart stores: www.GratitudeAndLoveBottles.com
Portfolio: www.weeksdesign.com
Administrator
Only HTML emails sent after you installed this module will be available. Before that you will have to use the text emails.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
New Zenner
OK. Thanks for the quick reply.
Zen-Cart stores: www.GratitudeAndLoveBottles.com
Portfolio: www.weeksdesign.com
Zen Follower
ZC156a PHP 7.3.1
Resending msg from E-mail Archive manager resulted in "Illegal string offset 'EMAIL_TO_NAME' errors + others".
To correct I applied the patch discussed in https://www.zen-cart.com/showthread.php?220755-Done-v160-Illegal-String-Offset-Errors-in-functions_email
and available from GitHub https://github.com/zencart/zencart/pull/1151/files
environment Dev: Zen Cart 156a; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10
OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB
Totally Zenned
I am working on an updated module, right now.
This update wil include, maybe more:
I am not going to provide support for Zen Cart versions lower then 1.5.6
Development can be followed here on GitHub
Zen cart installation / maintenance / customisation / hosting
Supported Modules: Dutch language pack, Multi site, Dynamic Price Updater and more.
Totally Zenned
If installing on ZC V1.5.6c do I need to merge any changes from includes/functions/functions_email.php that is included in the download?
I know in the past it was needed to preserve the HTML but I'm not sure if it is needed with 1.5.6c as some of the original code is now already in the stock includes/functions/functions_email.php and the version in the download my now be redundant?
Administrator
you are correct - the mod's changes to functions_email.php are not required for people who are up to date.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Totally Zenned
Thanks Scott :thumbsup:
Totally Zenned
The installation instructions state that their are no overrides, but /includes/functions/functions_email.php already exists in 1.5.6c. Can you clarify?
Administrator
This isn't an override; it's a replacement of a core file.
But as of 1.5.6c 1.5.6b it's not needed any more.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Administrator
Email Archive Manager was just updated to allow you to resend the text version of an email with the resend button. (In prior versions, this wouldn't work well if you had HTML email turned on.)
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Zen Follower
i runing 157
and i just uploaded this and this is my debug files. can it be fixed.. thank you
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: print_format in /angRy-SZm-trusT/email_archive_manager.php on line 23.
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: start_date in /angRy-SZm-trusT/email_archive_manager.php on line 73.
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: end_date in /angRy-SZm-trusT/email_archive_manager.php on line 74.
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: start_date in /angRy-SZm-trusT/email_archive_manager.php on line 139.
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: end_date in /angRy-SZm-trusT/email_archive_manager.php on line 140.
[11-Apr-2021 02:58:32 UTC] Request URI: /shop/angRy-SZm-trusT/index.php?cmd=email_archive_manager, IP address: 24.113.216.190
#1 require(/angRy-SZm-trusT/email_archive_manager.php) called at [/angRy-SZm-trusT/index.php:11]
--> PHP Notice: Undefined index: module in /angRy-SZm-trusT/email_archive_manager.php on line 350.
My Multi_Site Zen Carts
http://herasonlinemarket.com
Zen Follower
I have had this running for some time in my test systems and have made changes to line 23; line 75; line 481 485
line 23 is undefined index -> insert @ as first character in the line
lines 73 & 74 undefined index -> comment the lines out
lines 481 and 485 have undefined variables html_button ->insert @ as first character on the lines
Hope this helps
OldNGrey
ZC222 PHP 8.4.16
MySQL 11.8.5-MariaDB
New Zenner
OldNGrey:
I have had this running for some time in my test systems and have made changes to line 23; line 75; line 481 485
line 23 is undefined index -> insert @ as first character in the line
lines 73 & 74 undefined index -> comment the lines out
lines 481 and 485 have undefined variables html_button ->insert @ as first character on the linesHope this helps
I just installed this addon too (zen 1.5.7c and plugin version 1.9) I am getting these debug files every time I load the Email Archive Manager page.
I see this might be a solution (I hope without breaking the function of the addon) and I do understand "comment the lines out" I can do that easy enough.
However I do not understand what the "insert @ as the first character on the lines" means. How would do I do that in the code?
Tell staff why this post should be reviewed.