Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Links Not Updated on Development Server


dominavi

Recommended Posts

Posted

So I decided to be smart and make a development server before moving everything to the full production server. The only problem is the links on the catalog (product listing) is still linked to the home site (www) instead of development (development). I have edited the includes/configure.php and admin/includes/configure.php, yet the links on the products are still pointed at the main server (I copied the www folder to the development folder, so I'm assuming there's something other than configure.php I need to change). Thanks!

Posted

Look in the includes folder where your configure.php file is.

 

In there is a folder named local

 

Check this includes/local folder to see if there is a configure.php file there. If it's there, be sure it contains correct data.

 

osC will use data from that configure file if it's present.

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
Look in the includes folder where your configure.php file is.

 

In there is a folder named local

 

Check this includes/local folder to see if there is a configure.php file there. If it's there, be sure it contains correct data.

 

osC will use data from that configure file if it's present.

 

Thanks for the help, although nothing is there. Any other suggestions?

Posted

Check your .htacces file for rewrites

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

Another thing to do would be to set "Use Cache" to false in your Admin.

 

I pinged the two sites and they both resolve to the same IP address, so it's probable they share the same cache, and what you're seeing is the cache that was created before you altered the URL in the config files.

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
Another thing to do would be to set "Use Cache" to false in your Admin.

 

I pinged the two sites and they both resolve to the same IP address, so it's probable they share the same cache, and what you're seeing is the cache that was created before you altered the URL in the config files.

 

It is already set to false. I don't know how else to fix this problem.

Posted

Post the code from the <head> section of your index.php where it sets the <base href="..."> value.

 

Looks something like this:

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

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 >

Archived

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

×
×
  • Create New...