crewe Posted October 22, 2006 Posted October 22, 2006 Installed this contribution on a clean install of oscommerce and when I try to set the default template to true in my admin, it always go's back to false. Pulling my hair out now. Any help please? Quote
bkellum Posted October 23, 2006 Posted October 23, 2006 Installed this contribution on a clean install of oscommerce and when I try to set the default template to true in my admin, it always go's back to false. Pulling my hair out now.Any help please? It appears this is a general problem with the compatibility.php file in the 060817 update.Here is a work around: Add the following code reset($ar); at the end of the do_magic_quotes_gpc routine. 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); } This is not an STS issue, but rather a bug in the latest osc update. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
crewe Posted October 23, 2006 Author Posted October 23, 2006 Done the above and it still will not switch on, any other ideas please. Thanks Quote
bkellum Posted October 23, 2006 Posted October 23, 2006 Done the above and it still will not switch on, any other ideas please. Thanks Check your installation files...you missed some files in the upload. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
crewe Posted October 23, 2006 Author Posted October 23, 2006 Check your installation files...you missed some files in the upload. Will start again with a clean install and let you know. Thanks Quote
jonw118 Posted October 29, 2006 Posted October 29, 2006 At the risk of sounding stupid, I can't get mine to activate either in the admin... and not sure which file you're referring to make the edit. Compatibility.php? Where is that one located. Thanks, jon Quote
jonw118 Posted October 29, 2006 Posted October 29, 2006 OK, I found it in the admin/functions... but I changed it and nada. When I click install nothing happens at all! I've verified, everything is installed perfectly in the right dir's... Any thoughts? Quote
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.
Note: Your post will require moderator approval before it will be visible.