I am having an odd issue.
Code:
Version Installed: v5.0.2
My install is an upgraded Zen cart from 158a to 210:
Code:
Server OS: Linux 6.12.0-55.38.1.el10_0.x86_64
Server Date: 10/17/2025 20:35:14
Server Up Time: 20:35:14 up 6 days, 9:43, 2 users, load average: 0.06, 0.02, 0.00
HTTP Server: Apache
PHP Version: 8.4.13 (Zend: 4.4.13)
PHP File Uploads: On
Upload Max Size: 64M
PHP Memory Limit: 128M
POST Max Size: 64M
Database Engine: MySQL 8.4.6
Database Host: 127.0.0.1 (127.0.0.1)
Database Date: 10/17/2025 20:35:14
Database Data Size: 839,011 kB
Database Index Size: 21,357 kB
MySQL Slow Query Log Status: Off
MySQL Slow Query Log File: /var/lib/mysql/dev-slow.log
MySQL Mode: ONLY_FULL_GROUP_BY, STRICT_TRANS_TABLES, NO_ZERO_IN_DATE, NO_ZERO_DATE, ERROR_FOR_DIVISION_BY_ZERO, NO_ENGINE_SUBSTITUTION
Code:
Database Patch Level: 2.1.0
v2.1.0 [2025-10-09 21:05:33] (Version Update 2.0.0->2.1.0)
v2.0.0 [2025-10-09 21:05:13] (Version Update 1.5.8->2.0.0)
When I click on "Edit" from the Orders page I get re-directed back to the Admin home page. URL looks like this:
Code:
https://store.com/shop/admin/index.php?cmd=edit_orders&page=1&action=edit&oID=17849
I saw the part of code that does a re-direct if oID is invalid.., but 17849 in my case is a valid order ID. I don't see any logs getting dumped out from ZenCart..
Code:
$oID = (int)($_GET['oID'] ?? '0');
if ($oID === 0) {
zen_redirect(zen_href_link(FILENAME_ORDERS));
}
How best to debug what is happening?