Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving mySQL


Sheldon

Recommended Posts

It's me again! :'(

I will start from the beginning.

I have two domain names. www.myfirstdomain.ca and www.my_second_domain.ca (not real of course)

I set up my oscommerce site on the www.myfirstdomain.ca because the second was not available. I now have the second domain (www.my_second_domain.ca), which is my company name. I now need to transfer ALL my data and files over to the new domain.

 

I have one (1) host and both domains are pointing to the same site.

When I set up Oscommerce I put all my data (products) in the catalog folder.

So the path to my site would be www.myfirstdomian.ca/catalog

I have copied every thing from that path to the main path: /html (which is the public folder) The name of the mySql database is myfirstdomain.ca_oscommerce.

When I check the links on all my pics they all point to the first domain.

Now, when I open my site I get my index page. The url is correct. When I click on any of the category links I am taken to an error page.

 

How Do I transfer everything to my company domain, have the links changed to where the images are now stored and have everything work the way it use to?

by the way, I don't know anything about mysql.

 

Thanks Again.

Link to comment
Share on other sites

It's me again!  :'(

I will start from the beginning.

I have two domain names. www.myfirstdomain.ca and www.my_second_domain.ca (not real of course)

I set up my oscommerce site on the www.myfirstdomain.ca because the second was not available. I now have the second domain (www.my_second_domain.ca), which is my company name. I now need to transfer ALL my data and files over to the new domain.

 

I have one (1) host and both domains are pointing to the same site.

When I set up Oscommerce I put all my data (products) in the catalog folder.

So the path to my site would be www.myfirstdomian.ca/catalog

I have copied every thing from that path to the main path:  /html (which is the public folder) The name of the mySql database is myfirstdomain.ca_oscommerce.

When I check the links on all my pics they all point to the first domain.

Now, when I open my site I get my index page. The url is correct. When I click on any of the category links I am taken to an error page.

 

How Do I transfer everything to my company domain, have the links changed to where the images are now stored and have everything work the way it use to?

by the way, I don't know anything about mysql.

 

Thanks Again.

 

 

You have to edit 2 files...

 

includes/configure.php

admin/includes/configure.php

 

When you edit these files you will see domainname1.. change the links to domainname2... this will fix the problem you are having...

 

 

Mike

Link to comment
Share on other sites

You have to edit 2 files...

 

includes/configure.php

admin/includes/configure.php

 

When you edit these files you will see domainname1.. change the links to domainname2... this will fix the problem you are having...

Mike

 

I changed the files as you suggested. It did nothing to help.

 

Any more ideas.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...