Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

max number of installed payment modules - error on checkout_payment.php


Stephan Gebbers

Recommended Posts

i just got an error on checkout_payment.php while testing with a new payment module.

it said that it could not include a non existing path to a language file

 

So after searching for a while and asuming that the module was faulty, i realized that this happened due to the database field configuration_key in the configuration table.

this field holds all payment modules filenames (; seperated) and can hold 255 characters max.

The configuration key is MODULE_PAYMENT_INSTALLED and if the string is to long it will be cut off at the end and that destroyes the last filename(s) in this string.

 

so, use less payment modules, shorten your payment module filenames or change the varchar255 field to a different field type or if you have a mysql version > 5.0.3 you can change the field length from a 8bit to a 16bit value to max 65536

 

Regards,

Stephan

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...