Github has a Super Orders version that is updated to v1.5.4
Printable View
Github has a Super Orders version that is updated to v1.5.4
One error shows this: The error log shows this [07-Mar-2019 15:47:25 UTC] PHP Fatal error: Cannot redeclare class order in /home/f4v2tpa9vpps/public_html/includes/classes/order.php on line 1117
Then when i clear that and log in and go through the process I get this:
[07-Mar-2019 17:01:07 UTC] Request URI: /adminsection123/orders.php?page=1&oID=6364&action=edit, IP address: 68.81.65.173
#1 mysql_query() called at [/home/f4v2tpa9vpps/public_html/adminsection123/orders.php:1217]
[07-Mar-2019 17:01:07 UTC] PHP Warning: mysql_query(): Access denied for user 'f4v2tpa9vpps'@'localhost' (using password: NO) in /home/f4v2tpa9vpps/public_html/adminsection123/orders.php on line 1217
[07-Mar-2019 17:01:07 UTC] Request URI: /adminsection123/orders.php?page=1&oID=6364&action=edit, IP address: 68.81.65.173
#1 mysql_query() called at [/home/f4v2tpa9vpps/public_html/adminsection123/orders.php:1217]
[07-Mar-2019 17:01:07 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/f4v2tpa9vpps/public_html/adminsection123/orders.php on line 1217
[07-Mar-2019 17:01:07 UTC] Request URI: /adminsection123/orders.php?page=1&oID=6364&action=edit, IP address: 68.81.65.173
#1 mysql_fetch_array() called at [/home/f4v2tpa9vpps/public_html/adminsection123/orders.php:1218]
[07-Mar-2019 17:01:07 UTC] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/f4v2tpa9vpps/public_html/adminsection123/orders.php on line 1218
PHP Fatal error: Cannot redeclare class order in /home/f4v2tpa9vpps/public_html/includes/classes/order.php on line 1061
The real odd part I am not understanding is that 1061 is also the last line in the order.php
The code being used is not updated to use ZC basic functions and/or is using mysql_ functions that have become deprecated. They should use mysqli_ related functions and/or call formatting if not using ZC functions.
Also, it is possible that in replacing files that somehow the order class is being called an additional time. If I recall, this was likely to happen if admin files were put into catalog locations.
i was doing some further research and found the error. As Dr. Byte always says, check the files for duplicate entries. I had a dupe entry at the account history folder. I searched out the line : require(DIR_WS_CLASSES . 'order.php') and found that there were a number of entries that had this. So yes, this mod works for 1.55e. I am doing some more research on this issue and will report back my findings.
The largest issue with this mod is that you have to pay attention to the error, but also look at the address where the page is pointing. I noticed that the account history.php seemed to come up a number of times. I believe is was caused from having edit orders installed. As many would say on these threads, check for repeat files. It is easily overlooked.
Now I am trying to fix this next issue on the admin side. I dont understand why this is coming up as the back end is working.. well as far as I can see.
It is throwing this error message still:
[09-Mar-2019 16:56:30 UTC] Request URI: adminside/ orders.php?page=1&oID=6371&action=edit, IP address: 68.81.65.173
#1 mysql_query() called at [/home/f4v2tpa9vpps/public_html/adminside/orders.php:1217]
[09-Mar-2019 16:56:30 UTC] PHP Warning: mysql_query(): Access denied for user 'f4v2tpa9vpps'@'localhost' (using password: NO) in /home/f4v2tpa9vpps/public_html/adminside/orders.php on line 1217
[09-Mar-2019 16:56:30 UTC] Request URI: /adminside/orders.php?page=1&oID=6371&action=edit, IP address: 68.81.65.173
#1 mysql_query() called at [/home/f4v2tpa9vpps/public_html/adminside/orders.php:1217]
[09-Mar-2019 16:56:30 UTC] PHP Warning: mysql_query(): A link to the server could not be established in /home/f4v2tpa9vpps/public_html/adminside/orders.php on line 1217
Ok, this may have been an old log file as i cannot replicate it again. Everything is working on both sides. The admin side shows all the versatility of Super Orders 4.x and also I have Edit Orders installed. The customer end is also working correct and not throwing any codes.
The mysql errors were resolve in the version on github years ago