Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving to a new site.


Hyphen

Recommended Posts

Posted

I am transferring one osCommerce-based website to a new domain. Other than copy the folders and export the SQL database, I am aware that somewhere in here I need to change the directory paths and SQL info, some sort of config.php-type of file? What all do I need to modify, and what files?

Posted

You need to redo your configure.php files. The easiest way is to install osC on the new server and then save the new configure.php files. Upload your store and insert the new configure files over the old. Just keep backups just in case.

Also check your .htacess file to make sure any references to the old domain are changed and also in the admin you will want to change things like the path to your cache and tmp directory under My Store Cache and Logging (I think those are the only two places).

 

If it is a new domain and you are getting rid of th old one you will also want to read up about 301 redirects.

Posted

catalog/includes/configure.php

catalog/admin/includes/configure.php

Posted

Alright, I did this, transferred the database, and changed the config files. My website is showing up blank! What could I have done wrong, possibly?

 

- I transferred all files from one website to the next.

- I changed all correct boths in root/includes/configure.php and root/admin/includes/configure.php

- I imported the SQL database and verified the info to connect to it was correct.

Posted

Is it just the main page that shows up blank or all of them. Blank pages are usually caused by an error in the code. I recently had a site that worked well on PHP4 on one server but then tested it on PHP5 and a page broke. It turned out to be an incorrect commenting out in the code such as <?php echo // instead of <?php //echo.

 

If your whole site is like that try the admin. If that works then you know it is a file on the catalog side which at least cut down the possibilities by half. If it is just your index.php page then the problem is there.

Posted

http://lotions2go.com/ Is that your site or your old one.

 

All the pages at the domain you gave show up blank, even ones that do not exist so there is not much to go on besides a blank page which unfortunately does not provide any information.

 

Some of your hosts plans do not look like they can handle an osC site so first check with them to make sure osC can run on the plan you have.

Posted
http://lotions2go.com/ Is that your site or your old one.

 

All the pages at the domain you gave show up blank, even ones that do not exist so there is not much to go on besides a blank page which unfortunately does not provide any information.

 

Some of your hosts plans do not look like they can handle an osC site so first check with them to make sure osC can run on the plan you have.

That's the old one.

osC can run on StartLogic, I've done another website @ SL running osC that runs it fine.

 

All I did was copy everything from lotions2go.com's server to the StartLogic one and transferred the SQL database, do you know any reason why it wouldn't be working? Something isn't right because before I editted the configure.php files, when I went to the website it'd give me an error connecting to the SQL database, but when I fixed the db, name, and pw, it shows up blank.

Posted

Check the path of your define('DIR_FS_CATALOG in your configure.php file (catalog then admin ones). They will be different on your new server.

 

See if you can go directly to the page www.yoursite.com/admin/server_info.php and that will have the info you need. If not there try find it on their control panel.

Posted

A guide to the configure.php files, Or how to move your site without breaking anything.

 

http://www.oscommerce.com/forums/index.php?showtopic=193738

 

How to move a site then go live

 

http://www.oscommerce.com/forums/index.php?showtopic=287726

 

Hope this helps...

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...