AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: AromeCity on November 21, 2023, 07:12:52 PM

Title: Server Migration
Post by: AromeCity on November 21, 2023, 07:12:52 PM
Hi,

We have to recently change VPS servers so we copied over AbanteCart cart Shop files, databases etc. to the new server but now the shop is not loading anymore.

We used WHM server copy feature which creates an exact replica of old cart on the new server along with databases etc. Checked everything and all files are there.

The only thing has changed its the new server IP address is different then the old server IP address.

Domain is pointing to the new server.

PHP 8.1 is enabled.

Will this require /System/config.php file to be update with some new values?? If yes, what needs to be changed?

Any suggestions on how to troubleshoot this problem?

Shop URL is www.aromecity.com/shop

Thanks
Title: Re: Server Migration
Post by: abantecart on November 21, 2023, 08:31:48 PM
Hi AromeCity,

What is the version of AbanteCart you migrate?
Was web server configured correctly with web root pointing to  public_html?
Was database host/name/u/p changed and configured?
What is the error that you get?

Most likely something changed and you need to update /system/config.php


Check this post that has some help with migration:
https://forum.abantecart.com/index.php/topic,426.0.html
Title: Re: Server Migration
Post by: AromeCity on November 21, 2023, 10:54:22 PM
Hi,

Version is 1.3.4

Web server is fine as the normal web site www.AromeCity.com loads fine and all other sites on the server.

Database host/name/u/p nothing has changed. Same as old one.

there is no error. I have provided the link before, try yourself www.aromecity.com/shop there is nothing being displayed and no error message.

I have already read the other thread, its not providing any troubleshooting tips. It suggest to re install Abantecart which I can't do. we will loose all the configuration.

In the config file what is the significance of these variables and what defines them?

define('ADMIN_PATH',

define('SALT', 'gnPt');

define('UNIQUE_ID',

define('ENCRYPTION_KEY',
Title: Re: Server Migration
Post by: Basara on November 22, 2023, 02:14:44 AM
Hello.
Please read "Move to another hosting" guide https://abantecart.atlassian.net/wiki/spaces/AD/pages/22511620/Changing+Domain+Name#ChangingDomainName-Movetoanotherhosting

The SALT and ENC KEY are related to the password and other encrypted data stored in the database
Title: Re: Server Migration
Post by: AromeCity on November 25, 2023, 01:13:18 AM
Hi,

Before I would to try to restore the old shop on to the new server, I tried to do a fresh install of AbanteCart under a different folder ( v1.3.1) and same issue nothing will load. Neither the store front "or" admin panel.

www.AromeCity.com/shop2

As this is a new server, how do I check to make sure server is configured correctly?

My SQL is working fine. PHP is fine. GD is enabled,

Is there anything else needs to be enabled on the server?

Also, I checked the config.php file under shop2/system/config.php and noticed the following variable havea  different value compare to old server.

define('SALT', 'WGhg');

The old server file had

define('SALT', 'gnPt');

Not 100% sure how this effects the install?

Thanks
Title: Re: Server Migration
Post by: AromeCity on November 28, 2023, 12:39:28 PM
Can anyone help? Our entire store is down.
Title: Re: Server Migration
Post by: Basara on November 29, 2023, 03:20:26 AM
Can anyone help? Our entire store is down.

Hello. You can start from this list https://forum.abantecart.com/index.php/topic,3197.0.html and contact the hosting provider