Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing file paths when moving servers


pspec

Recommended Posts

Posted

Hi

I’ve been doing some research into changing file paths as when I install the shop I mistakenly used the domain www.domain.com when I should have used www.domain.co.uk .

 

I understand I should change the paths in the two configure.php files admin/includes/configure.php and catalog/includes/configure.php. Could some tell what I change in them please.

 

thanks

Posted

Paul,

 

You need to change them to reflect the actual path. Assuming the domain name is the same as it was on the previous hosting account you would only need to change this line in the /includes/configure.php

 

define('DIR_FS_CATALOG', '/home/content/a/b/c/abchosting/html/');

 

That is your 'actual' server path. You need to change those lines in the /admin/includes/configure.php as well.

 

 

 

Chris

Posted

Don't confuse "path" with "URL". or "domain".

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