Spoke too soon - Still getting the following errors
ZenCart version: 1.5.6c - PHP 7.2 - Square Payment module
Code:
[07-Jan-2020 12:46:44 Europe/London] Request URI: /****/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:141]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_FILENAME - assumed 'EMAIL_LOGO_FILENAME' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 494.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:141]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_ALT_TITLE_TEXT - assumed 'EMAIL_LOGO_ALT_TITLE_TEXT' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 496.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:141]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_WIDTH - assumed 'EMAIL_LOGO_WIDTH' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 497.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:141]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_HEIGHT - assumed 'EMAIL_LOGO_HEIGHT' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 498.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:161]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_FILENAME - assumed 'EMAIL_LOGO_FILENAME' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 494.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:161]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_ALT_TITLE_TEXT - assumed 'EMAIL_LOGO_ALT_TITLE_TEXT' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 496.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:161]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_WIDTH - assumed 'EMAIL_LOGO_WIDTH' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 497.
[07-Jan-2020 12:46:44 Europe/London] Request URI: /exampleadmin/orders.php?oID=12105&action=update_order, IP address: 910.198.106.185
#1 zen_build_html_email_from_template() called at [/home/CpanelID/public_html/includes/functions/functions_email.php:108]
#2 zen_mail() called at [/home/CpanelID/public_html/includes/functions/functions_osh_update.php:161]
#3 zen_update_orders_history() called at [/home/CpanelID/public_html/exampleadmin/orders.php:158]
--> PHP Warning: Use of undefined constant EMAIL_LOGO_HEIGHT - assumed 'EMAIL_LOGO_HEIGHT' (this will throw an Error in a future version of PHP) in /home/CpanelID/public_html/includes/functions/functions_email.php on line 498.
email_extras.php contains the following code
Code:
define ('EMAIL_LOGO_FILENAME', 'logo.png'); //-File is present in /email folder
define ('EMAIL_LOGO_WIDTH', '351');
define ('EMAIL_LOGO_HEIGHT', '91');
define ('EMAIL_LOGO_ALT_TITLE_TEXT', 'Brinley Williams Ltd');
functions_email.php, functions_osh_update.php and admin/orders.php are all the same as the files originally downloaded.
any help would be appreciated.
Cheers
Brinley
Bookmarks