Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when adding extra payment option php file


Biancoblu

Recommended Posts

Posted

I am trying to add an extra payment option based on the cash on delivery php file. I copied the original cod file and changed the names accordingly, have added my new file in shop/includes/modules/payment and in shop/includes/languages/english/modules/payment.

 

I get this error in admin:

 

Warning: main(/home/arlisa-b/public_html/shop/includes/languages/english/modules/payment/bt.php): failed to open stream: No such file or directory in /home/arlisa-b/public_html/shop/admin/modules.php on line 128

 

Warning: main(/home/arlisa-b/public_html/shop/includes/languages/english/modules/payment/bt.php): failed to open stream: No such file or directory in /home/arlisa-b/public_html/shop/admin/modules.php on line 128

 

Warning: main(): Failed opening '/home/arlisa-b/public_html/shop/includes/languages/english/modules/payment/bt.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/arlisa-b/public_html/shop/admin/modules.php on line 128

 

 

 

Can you help please? :'(

~ Don't mistake my kindness for weakness ~

  • 3 weeks later...
Posted

I'm having the same problem. Does anybody know how to fix it?

Posted

happens if you forgot to change some definitions in the payment module. Make sure the new payment file has different definitions as well as the name convention for the $this->code is unique.

Archived

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

×
×
  • Create New...