Maitland Posted February 21, 2007 Share Posted February 21, 2007 Hello, I ahve found that whenever I install osc, I can update the catalog information, shop details etc, but i have found i cannot update certain areas. For example I cannot change the settings any of the modules. I have tried changing CHMOD on these files, but nothing seems to be working. Any ideas as to whats happening? Link to comment Share on other sites More sharing options...
jasonabc Posted February 22, 2007 Share Posted February 22, 2007 http://www.oscommerce.com/forums/index.php?sho...mp;#entry923577 Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix Link to comment Share on other sites More sharing options...
bkellum Posted February 22, 2007 Share Posted February 22, 2007 Hello, I ahve found that whenever I install osc, I can update the catalog information, shop details etc, but i have found i cannot update certain areas. For example I cannot change the settings any of the modules. I have tried changing CHMOD on these files, but nothing seems to be working. Any ideas as to whats happening? 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.