Guest Posted August 27, 2003 Posted August 27, 2003 Everytime when I go look at my orders in the admin panel and then i select either "invoice" or "packing slip" I get the following errors. Fatal error: Cannot instantiate non-existent class: order in /home/streetfl/public_html/catalog/admin/packingslip.php on line 22 Fatal error: Cannot instantiate non-existent class: order in /home/streetfl/public_html/catalog/admin/invoice.php on line 22 How can i go about fixing this, I dont wanna mess around with it to much and make matters worse. Thanks for the help
Guest Posted August 28, 2003 Posted August 28, 2003 In both files the code is: include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); So somehow you have muffed-up your admin/includes/classes/order.php file. Have you recently installed a contribution that dealt with the admin side? Is it possible you accidentally uploaded a version of admin/orders.php to admin/includes/classes/order.php? I know I have accidentally done that one before and vice-versa. If you want post your code for your admin/includes/classes/order.php file here as it is a short file anyway.
Guest Posted August 28, 2003 Posted August 28, 2003 well you fixed the problem hehe, i just went to go download the order.php file from my server and when i opened it to copy it on here i found out the file was empty, so i reistalled that file from a backup and it works, i have no idea how the file got empty though, ill try it a few more times and see it if still works
Recommended Posts
Archived
This topic is now archived and is closed to further replies.