Hi there,
I have OneAll working on my Zen Cart v1.51 and the only problem I have is I get the following Debug errors.
[04-Jul-2017 08:57:32 America/Detroit] PHP Warning: Illegal string offset 'EMAIL_TO_NAME' in /home/magnolia/public_html/includes/functions/functions_email.php on line 96
[04-Jul-2017 08:57:32 America/Detroit] PHP Warning: Illegal string offset 'EMAIL_TO_ADDRESS' in /home/magnolia/public_html/includes/functions/functions_email.php on line 97
[04-Jul-2017 08:57:32 America/Detroit] PHP Warning: Illegal string offset 'EMAIL_SUBJECT' in /home/magnolia/public_html/includes/functions/functions_email.php on line 98
[04-Jul-2017 08:57:32 America/Detroit] PHP Warning: Illegal string offset 'EMAIL_FROM_NAME' in /home/magnolia/public_html/includes/functions/functions_email.php on line 99
[04-Jul-2017 08:57:32 America/Detroit] PHP Warning: Illegal string offset 'EMAIL_FROM_ADDRESS' in /home/magnolia/public_html/includes/functions/functions_email.php on line 100
After successfully logging in via OneAllSocialLogin, the situation is:
- The customer DOES get the "Welcome to the store" type email but it's only in TEXT format not HTML and I suspect the above errors are part of the problem
- The new customers get registered as TEXT Only for their email preference and not the system wide default setting of HTML
The above file affected functions_email.php is identical to the newer version of Zen Cart v1.55 so I ruled that out.
What I desire is to send the Welcome email and all future emails to the customer in HTML format and not have the log errors listed above.
Can anyone help?
Thanks!
Brandon
Answers
I really appreciate it, everything looks great and now uses the HTML format account welcome and all order status emails.
I'll let you know if I encounter any bugs through today's testing.
I checked to make sure I have both Pre-Text and Post-Text configuration fields populated, and both Pre-HTML and Post-HTML fields populated for my preset.
I checked the customers email preferences in Zen Cart Customers to ensure they are set to receive HTML messages.
Is there anything during your last modification above that would bypass or force the Text version to be sent out?
As I mentioned I no longer get the debug errors as listed above thanks to your fix.
Thanks!
Brandon