Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trouble Displaying Template


Zoidy

Recommended Posts

I just installed STS 4.5 on a new, clean OSC install. The problem I have is getting the templates to display after they are enabled. The STS module shows up fine, but no changes take place when I set use templates to "true". The pages looks exactly the same as it did without the template enabled (the index module is activated and set)

 

All my settings are default. I also made this code change to both compatibility files, as seen here http://www.oscommerce.com/forums/index.php?sho...;hl=refresh+bug.

 

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);
}

 

I'm not sure what to do from here. I have read all the applicable forum posts I can find, but nothing seems to help.

 

Thanks

 

L

Link to comment
Share on other sites

I just installed STS 4.5 on a new, clean OSC install. The problem I have is getting the templates to display after they are enabled. The STS module shows up fine, but no changes take place when I set use templates to "true". The pages looks exactly the same as it did without the template enabled (the index module is activated and set)

 

All my settings are default. I also made this code change to both compatibility files, as seen here http://www.oscommerce.com/forums/index.php?sho...;hl=refresh+bug.

 

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);
}

 

I'm not sure what to do from here. I have read all the applicable forum posts I can find, but nothing seems to help.

 

Thanks

 

L

Landon, I see that you are a new member so I would like to suggest looking for answers and posting questions relating to STS in the STS thread (the link is written in the STS User Manual as well as in my signature below).

 

You will need to upgrade to 4.5.2 which includes two bug fixes.

Edited by bkellum

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

  • 2 weeks later...
Landon, I see that you are a new member so I would like to suggest looking for answers and posting questions relating to STS in the STS thread (the link is written in the STS User Manual as well as in my signature below).

 

You will need to upgrade to 4.5.2 which includes two bug fixes.

 

I actually spent a day reading through the STS thread, and all the other posts in the STS forum even remotely related to my trouble. I was unable to find anything that applied to my case. I actually am running 4.5.2. Any ideas as to where else I should look or what else might be causing this problem?

 

Thanks

 

Landon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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