Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

I am running OSCommerce RC2 with STS Template. I have a few other contributions installed, but none are structure changing. I demo'd the site on my own domain name, and then assigned it's own domain name to it once finalized. Everything works perfectly on the admin side, I updated the config files as well. On the public side, it looks great, only when you click on a product or the search, it reverts back to the old domain directory. Anyone know where this would be updated? I've looked in the template files, and I'm not sure where it pulls from. I am not a newbie to editing php code, but definitely get lost when it starts calling the database. The site is at: http://www.theprofitableshop.com/ When you click on a car, it reverts to http://uniqueamb.com/AWSInventory/. Help!

Edited by anyamc
Posted

Check to see if this file is present, and that it contains the correct info:

 

/includes/local/configure.php

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Check to see if this file is present, and that it contains the correct info:

 

/includes/local/configure.php

 

The file is there, but there isn't anything in it regarding urls. Here is what is in that file:

 

<?php

// OTF contrib begins

define('PRODUCTS_OPTIONS_TYPE_SELECT', 0);

define('PRODUCTS_OPTIONS_TYPE_TEXT', 1);

define('PRODUCTS_OPTIONS_TYPE_RADIO', 2);

define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3);

define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4);

define('TEXT_PREFIX', 'txt_');

 

define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES

 

// OTF contrib ends

?>

 

should there be something else in this file?

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