Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order history error


Platinum Games

Recommended Posts

Posted

i seem to have the following error on the order history page (when loged in)

 

 

Warning: main(includes/languages/english/modules/payment/ccbyfax.php): failed to open stream: No such file or directory in /home/httpd/html/platinumgames/cgi-bin/oscommerce/account_history_info.php on line 187

 

Warning: main(): Failed opening 'includes/languages/english/modules/payment/ccbyfax.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/httpd/html/platinumgames/cgi-bin/oscommerce/account_history_info.php on line 187

 

 

why am i getting this?

How do i remove it?

 

it looks to me that its pay by fax code?????????

 

please help as my customers can see this in their account history page.

Thanks in advance!

 

Ben

Posted

Its all good i worked it out.

 

All i had to do is remove this code from

 

cat\account_history_info.php

 

// Simon Pritchard credit card by fax payment module additions - START ? ?
?  include(DIR_WS_LANGUAGES . $language . '/modules/payment/ccbyfax.php'); ?	
?  if (strstr($order->info['payment_method'], MODULE_PAYMENT_CCBYFAX_FAX_SUBSTR)) {
?	? echo '<br><br>';
? ? ? ?? $printfaxform_button_string = 
? ? ?	? tep_draw_hidden_field('currency', $currency) . 
? ? ? ?? ? tep_draw_hidden_field('desc', MODULE_PAYMENT_CCBYFAX_PURCHASE_FROM . ' ' . STORE_NAME) . 
? ? ? ?? tep_draw_hidden_field('amount', $order->info['total']);

? ? ? ?? $address = htmlspecialchars($order->billing['street_address'] . "\n" . $order->billing['suburb'] . "\n" . $order->billing['city'] . "\n" . $order->billing['state'], ENT_QUOTES);
? ? ? ?? $printfaxform_button_string .=	
? ? ? ?	? tep_draw_hidden_field('name', $order->billing['name']) .
? ? ? ?	? tep_draw_hidden_field('address', $address) .
? ? ? ?   tep_draw_hidden_field('postcode', $order->billing['postcode']) .
? ? ? ?	? tep_draw_hidden_field('country', $order->billing['country']) .
? ? ? ?	? tep_draw_hidden_field('tel', $order->customer['telephone']) .
? ? ? ?      ? ? tep_draw_hidden_field('fax', $order->customer['fax']) .
? ? ? ?	? tep_draw_hidden_field('email', $order->customer['email_address']);
?
?	? echo MODULE_PAYMENT_CCBYFAX_PRINTFORM_TEXT_TITLE . '<br>';
? ?	? $printfaxform = tep_draw_form('ccbyfax_form', FILENAME_CCBYFAX_FORM, 'post');
? ?  ? $printfaxform = str_replace(">", " target=\"_blank\">", $printfaxform);
? ? ? ?? $printfaxform .= $printfaxform_button_string;
? ?	? $printfaxform .= tep_image_submit('button_printfaxform.gif', IMAGE_BUTTON_PRINTFAXFORM) . '</form>' . "\n";
? ?            ? echo $printfaxform;	
?  };	
// Simon Pritchard credit card by fax payment module additions - END ?

 

hop this helps anyone else that has had this problem.

Thanks in advance!

 

Ben

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...