Guest Posted June 12, 2003 Posted June 12, 2003 The following error appears in my browser after clicking on the print button: Warning: main(includes/languages/english/printorder.php): failed to open stream: No such file or directory in /home/pinegard/public_html/oscommerce/printorder.php on line 31 Fatal error: main(): Failed opening required 'includes/languages/english/printorder.php' (include_path='') in /home/pinegard/public_html/oscommerce/printorder.php on line 31 I am running 2.2 ms1 I am also running CVV Credit Mod 1.23a and header tags v2 with the admin controller. What causes this error. Thanks Jeff :?: Quote
Guest Posted June 12, 2003 Posted June 12, 2003 Since Line 31 reads: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ORDERS_PRINTABLE); ...and it is saying "no such file or directory" be sure you have this added to your catalog/includes/application_top.php with no typos. define('FILENAME_ORDERS_PRINTABLE', 'printorder.php'); Quote
Guest Posted June 12, 2003 Posted June 12, 2003 Thanks Justin, that wasn't the problem. The problem was the line 31 in "catalogprintorders.php. There wasn't supposed to be a line 31 reading: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ORDERS_PRINTABLE); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.