dprall Posted May 21, 2007 Posted May 21, 2007 I'm attempting to edit the settings within the Flat Rate Shipping and Credit Card Payment. Click on Edit, make my changes, Click on Update. It returns me to where I started. I've stopped apache and mysql, it shows what I originally had. I've even tried accessing from another computer to confirm it wasn't the cache. Any help is appreciated. I've previously made changes to the Flat Rate Shipping without issues. But now it won't take.
bkellum Posted May 21, 2007 Posted May 21, 2007 I'm attempting to edit the settings within the Flat Rate Shipping and Credit Card Payment. Click on Edit, make my changes, Click on Update. It returns me to where I started. I've stopped apache and mysql, it shows what I originally had. I've even tried accessing from another computer to confirm it wasn't the cache. Any help is appreciated. I've previously made changes to the Flat Rate Shipping without issues. But now it won't take.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
dprall Posted May 21, 2007 Author Posted May 21, 2007 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. That was it, thank you very much. I searched for a number of hours with no end in site. Thank you again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.