ccarletti Posted February 22, 2007 Posted February 22, 2007 When trying to edit the configurations in admin such as shipping options and payment modules update don't save. I thought it was in the file permissions but I believe that they are correct, but may be wrong. Any help will be appreciated. Chris Carletti Gifts N Wicks
♥Vger Posted February 22, 2007 Posted February 22, 2007 Use the fix posted by msquared: http://www.oscommerce.com/forums/index.php?sho...mp;#entry923577 Vger
bkellum Posted February 23, 2007 Posted February 23, 2007 When trying to edit the configurations in admin such as shipping options and payment modules update don't save. I thought it was in the file permissions but I believe that they are correct, but may be wrong. Any help will be appreciated. Chris Carletti Gifts N Wicks Chris, this is a know bug in the osCommerce 060817 release that does not refresh the modules section of the admin with any updated changes. Here is a fix that has worked for several users: 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.