PaganMan Posted April 10, 2007 Share Posted April 10, 2007 Hi all, I have just re-installed oscommerce, the UK version, and on installing and setting up payment modules I am getting this: NOCHEX Requires the GBP currency. Enable NOCHEX Module True E-Mail Address [email protected] Payment Zone --none-- Set Order Status default Sort order of display. 0 and PayPal Enable PayPal Module True E-Mail Address [email protected] Transaction Currency Selected Currency Payment Zone --none-- Set Order Status default Sort order of display. 0 it will not let me edit the modules to my specs. Can anybody help me please? Regards Geoff Quote I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express) Link to comment Share on other sites More sharing options...
bkellum Posted April 10, 2007 Share Posted April 10, 2007 If this is a new installation of osC 060817, then you may be experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc. There is a simple fix: 1. Open the catalog/admin/includes/functions/compatibility.php. 2. At the end of the “do_magic_quotes_gpc” routine, add the following code reset($ar); It will end up looking like this: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } 3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
PaganMan Posted April 10, 2007 Author Share Posted April 10, 2007 If this is a new installation of osC, then you may be experiencing the widely known "refresh bug" of the modules section which includes shipping, payment, etc. There is a simple fix: 1. Open the catalog/admin/includes/functions/compatibility.php. 2. At the end of the “do_magic_quotes_gpc” routine, add the following code reset($ar); It will end up looking like this: function do_magic_quotes_gpc(&$ar) { if (!is_array($ar)) return false; while (list($key, $value) = each($ar)) { if (is_array($ar[$key])) { do_magic_quotes_gpc($ar[$key]); } else { $ar[$key] = addslashes($value); } } reset($ar); } 3. Do the same for the compatibility.php file located in catalog/includes/functions/compatibility.php. Thanks for that - will let you know how it turns out. Regards Geoff Quote I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express) Link to comment Share on other sites More sharing options...
PaganMan Posted April 10, 2007 Author Share Posted April 10, 2007 That worked fine bkellum, what I would like to know now is how to add shipping modules, as in Royal Mail charges. Thanks Geoff Quote I told you Ryan, if one gets through, its a miracle. (Trevor Howard to Frank Sinatra: Von Ryan's Express) Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.