Moving Xcart to a new server

Use xcart administration DB backup.

Remove most of the files inside /xcart/var except the /cache folder and the /tmp folder with the sql backup.

Tar the xcart folder

tar cvfp xcart.tar xcart

FTP these files to the new server and untar them.

tar xvfp xcart.tar

modify the xcart/config.php

Go into /phpmyadmin and add the database and user

Import the database

mysql -u root -ppassword database < dump.sql (insert the correct info here)

Check if there are other tables that aren't xcart. Export them from the old database and import them into the new database using phpmyadmin.

Check the public pages and administrator pages in the browser.

 

  • 16 Users Found This Useful
Was this answer helpful?

Related Articles

How can I edit the welcome text on the home page?

The welcome text displayed on the X-Cart home page along with all other labels and messages used...

How can I upload images for use on X-Cart pages?

The built-in X-Cart WYSIWYG editors don't include an image upload function. They require you to...

What is "Blowfish"?

Security of sensitive data in your store database is ensured by the Blowfish encryption...

How can I change the Blowfish key?

It is quite safe to use X-Cart with the Blowfish key generated during installation; however, if...

I lost my admin password. How do I change or reset it?

If you can log in to your X-Cart admin area using another account, please do so, and reset/modify...