Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I get the following error after clicking the print button


Recommended Posts

Posted

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 :?:

Posted

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');

Posted

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);

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...