Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I went to the admin page. Selected modules. Selected STS from the left hand list.

 

Installed.

 

Default 1 I chose to "edit". I made the selections in the documentation instructions.

 

Clicked SAVE at the bottom.

 

Everything went back to the same thing it was. It did not allow me to turn templates to TRUE. It did't keep any of the file names I told it.

 

Any ideas?

Thanks

JenT

Posted
I went to the admin page. Selected modules. Selected STS from the left hand list.

 

Installed.

 

Default 1 I chose to "edit". I made the selections in the documentation instructions.

 

Clicked SAVE at the bottom.

 

Everything went back to the same thing it was. It did not allow me to turn templates to TRUE. It did't keep any of the file names I told it.

 

Any ideas?

Thanks

JenT

 

 

I had the same problem Jen, see:

 

http://www.oscommerce.com/forums/index.php?sho...541&st=3180 see page 160 post 3190.

 

It worked for me, don't worry loads more problems to come ;)

Posted
I went to the admin page. Selected modules. Selected STS from the left hand list.

 

Installed.

 

Default 1 I chose to "edit". I made the selections in the documentation instructions.

 

Clicked SAVE at the bottom.

 

Everything went back to the same thing it was. It did not allow me to turn templates to TRUE. It did't keep any of the file names I told it.

 

Any ideas?

Thanks

JenT

It appears this is a general problem with either 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);
}
}
[b]reset($ar);[/b]
}

The bold face code is the added line.

 

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

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