Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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?

Posted
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.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Posted
Check your installation files...you missed some files in the upload.

 

Will start again with a clean install and let you know.

 

Thanks

Posted

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

Posted

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?

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...