Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSc pointing to old site


aerosmith

Recommended Posts

Posted

I currently have http://balmandbathfromthebutte.com/

the problem with this is that, the site is now pointing to the old test site, I have checked the configure.php, and i dont see the problem.

 

 

define('HTTP_SERVER', 'http://BalmandBathfromtheButte.com');

define('HTTP_CATALOG_SERVER', 'http://BalmandBathfromtheButte.com');

define('HTTPS_CATALOG_SERVER', 'http://BalmandBathfromtheButte.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/BalmandBathfromtheButte.com/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/var/www/vhosts/BalmandBathfromtheButte.com/admin/');

define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/var/www/vhosts/BalmandBathfromtheButte.com/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

 

Any of the catagories or if i try to add an item to the shopping card, for some reason it always points to the wrong server, I must be missing something very common, Can anyone assist me

 

Thanks,

Posted

In your includes folder (catalog and admin) there is a folder named local.

 

Sometimes the local folder contains a configure.php file

 

If it does, osC will use data from it.

 

Check for the file, and if found be sure it contains the correct information.

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
In your includes folder (catalog and admin) there is a folder named local.

 

Sometimes the local folder contains a configure.php file

 

If it does, osC will use data from it.

 

Check for the file, and if found be sure it contains the correct information.

 

 

 

My local directory is empty :(

Posted

The configure.php file you posted looks like it's the admin one.

 

Have you checked the one for the catalog?

:unsure:

 

On the site in question, it would be in the /includes folder.

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
The configure.php file you posted looks like it's the admin one.

 

Have you checked the one for the catalog?

:unsure:

 

On the site in question, it would be in the /includes folder.

 

 

ya verified looks the same, I dont see any mention of the old site,

 

 

<?php

define('HTTP_SERVER', 'http://BalmandBathfromtheButte.com');

define('HTTPS_SERVER', '');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'BalmandBathfromtheButte.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/www/vhosts/BalmandBathfromtheButte.com/httpdocs/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

And did you check the /includes/local/configure.php file (if it exists)?

:unsure:

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
And did you check the /includes/local/configure.php file (if it exists)?

:unsure:

 

 

dosent exist. the local folder is empty

Posted

If this aint it, I haven't a clue:

 

Click Me

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

I think this might be it:

 

C:\Documents and Settings\Owner>ping balmandbathfromthebutte.com

 

Pinging balmandbathfromthebutte.com [208.101.51.186] with 32 bytes of data:

 

Reply from 208.101.51.186: bytes=32 time=22ms TTL=56

Reply from 208.101.51.186: bytes=32 time=22ms TTL=56

Reply from 208.101.51.186: bytes=32 time=22ms TTL=56

Reply from 208.101.51.186: bytes=32 time=22ms TTL=56

 

Ping statistics for 208.101.51.186:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 22ms, Maximum = 22ms, Average = 22ms

 

C:\Documents and Settings\Owner>ping thresholdtestingsite.com

 

Pinging thresholdtestingsite.com [208.101.51.186] with 32 bytes of data:

 

Reply from 208.101.51.186: bytes=32 time=33ms TTL=56

Reply from 208.101.51.186: bytes=32 time=24ms TTL=56

Reply from 208.101.51.186: bytes=32 time=20ms TTL=56

Reply from 208.101.51.186: bytes=32 time=22ms TTL=56

 

Ping statistics for 208.101.51.186:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 20ms, Maximum = 33ms, Average = 24ms

If I ping the two sites, they have the same IP address??????????????????

:unsure:

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
I think this might be it:

If I ping the two sites, they have the same IP address??????????????????

:unsure:

 

 

They are hosted onthe same machine, but the vertual server is different.

Posted

Then I'm out of cards to play.

:blush:

 

I still think having the same IP address is the problem.

 

You've checked everything else.

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
Then I'm out of cards to play.

:blush:

 

I still think having the same IP address is the problem.

 

You've checked everything else.

 

thanks for your assistanace, ill have to keep looking, i guess its odd that it still pulls the directory structure of the old site, thats why i personally dont think its the ip address. ex the site pulls /balmos/ which is nowhere in the configuration file.

Posted

Well, that's a new wrinkle in my brain.

 

I didn't know multiple sites could share the same IP, but a quick "Google" of the subject tells me I'm full or *carp*.

 

Maybe it's just a setting on the server not routing requests to the correct place?

:unsure:

 

Anyway, I'm clueless 'cuz you've eliminated everything I can think of to check!

:lol:

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

One last thing to check...

 

On the new site, in the Admin be sure "Use cache" is false.

 

Site's hosted on the same server, using the same cache (which they can do), can lead to products from one site being seen in the menu of the other site.

:blink:

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
One last thing to check...

 

On the new site, in the Admin be sure "Use cache" is false.

 

Site's hosted on the same server, using the same cache (which they can do), can lead to products from one site being seen in the menu of the other site.

:blink:

 

 

Would there be any possibility that this is a config file issue?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...