ezdotcom Posted March 3, 2007 Posted March 3, 2007 I am having trouble changing one of the payment modules in oscommerce's admin section. I have installed protx but i am unable to change any of the vendor settings etc... This is now causing me problems as i can't process transactions at all. Anyone have any ideas? Thanks
bkellum Posted March 3, 2007 Posted March 3, 2007 I am having trouble changing one of the payment modules in oscommerce's admin section. I have installed protx but i am unable to change any of the vendor settings etc... This is now causing me problems as i can't process transactions at all. Anyone have any ideas? Thanks Bob, If this is a new installation of osC 060817, then you are 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. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
ezdotcom Posted March 3, 2007 Author Posted March 3, 2007 Hi, thank you so much for your solution, it worked like a charm, two day's work solved in minutes, amazing!! For future reference though, it wasn't actually a fresh install, i have just migrated from a hosted server to a dedicated one so this might be an issue when migrating? Anyway many thanks again..... Bob, If this is a new installation of osC 060817, then you are 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.
akewldewd Posted March 9, 2007 Posted March 9, 2007 Bob, If this is a new installation of osC 060817, then you are 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. I am having trouble with payment and shipping and order modules showing up. I notice that my admin folder in in the root not in the catalog folder. this seems wrong. Could that be my problem?
akewldewd Posted March 13, 2007 Posted March 13, 2007 I am having trouble with payment and shipping and order modules showing up. I notice that my admin folder in in the root not in the catalog folder. this seems wrong. Could that be my problem? I did this and they still don't show up. Funny this is everybody says go to catalog/admin... but my admin folder is not in the catalog folder. Catalog and admin are both in the root dir.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.