Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Fatal error Payment Modules


Recommended Posts

I tried to make a new Payment module by copying COD and renaming it banktransfer. This I did in both in both catalogincludesmodulespaymentcod.php, and catalogincludeslanguagesenglishmodulespaymentcod.php. Also in the norwegian module. Furthermore I replaced all ocurrencies of "COD" and "cod" with "BANKTRANSFER" and "banktransfer". Then I uploaded these new files.


When entering Admin / Modules / Payment, I had these error messages:

Warning: main(/home/brenda/public_html/oscommerce/includes/languages/norwegian/modules/payment/english.php): failed to open stream: No such file or directory in /home/brenda/public_html/oscommerce/admin/modules.php on line 128


Warning: main(): Failed opening '/home/brenda/public_html/oscommerce/includes/languages/norwegian/modules/payment/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brenda/public_html/oscommerce/admin/modules.php on line 128


Fatal error: Cannot redeclare tep_date_raw() (previously declared in /home/brenda/public_html/oscommerce/admin/includes/languages/norwegian.php:28) in /home/brenda/public_html/oscommerce/includes/modules/payment/english.php on line 30


Now I have removed the files, but the error messages still remains.



Link to comment
Share on other sites


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

  • Create New...