New Zenner
- Join Date:
- Feb 2019
- Location:
- Melbourne Australia
- Posts:
- 61
- Plugin Contributions:
- 0
fatal error when displaying the DETAILS page of a current order.
I'm using a fresh install of V2.1.0.
Server OS: Linux 6.6.63-MCIclouder663-c9
HTTP Server: Apache
PHP Version: 8.2.29 (Zend: 4.2.29-dev)
I just went live. Everything seemed to be working, and an order came through. The Invoice can be displayed but when I clicked on Details to update the customer details, only a blank page is displayed. This creates an error log with the following error.
[22-Jul-2025 01:45:06 UTC] PHP Fatal error: Uncaught Error: Undefined constant "TEXT_COPIED" in /myurl/myadmin/includes/javascript/orders.php:52
Stack trace:
#0 /myurl/myadmin/includes/javascript_loader.php(60): require()
#1 /myurl/myadmin/includes/admin_html_head.php(110): require('/home/customer/...')
#2 /myurl/myadmin/orders.php(398): require('/home/customer/...')
#3 /myurl/myadmin/index.php(16): require('/home/customer/...')
#4 {main}
thrown in /myurl/myadmin/includes/javascript/orders.php on line 52
line 52 in orders.php is
element.innerHTML = '<?= TEXT_COPIED ?>';
looks like the info was not copied to TEXT_COPIED
I'm also noticing the Zencart logo from the top left corner, and the admin login page is no longer showing. The image is definitely there in the images directory. I don't know if its related. The alt text shows BMH Trading.
Does anyone have any idea what this means?