AbanteCart Community

Shopping Cart Operations => Support => Topic started by: denagpam on October 23, 2012, 05:47:48 AM

Title: I want to move to another web hosting. What should I do?
Post by: denagpam on October 23, 2012, 05:47:48 AM
Yes, I want to move to another web hosting. What should I do?

Should I backup all the existing files of AbanteCart cart and simply upload them to my new web hosting?

Or

Should I install it from the beginning?

Hope for your reply, Mr. Admin.

Thanks.
Title: Re: I want to move to another web hosting. What should I do?
Post by: abantecart on October 23, 2012, 08:45:52 AM
The simplest way to migrate are these:

1. Install new AbanteCart with normal process on the new host (do not load demo data)
NOTE: You need to select the same database prefix as on your current AbanteCart instance.
2. On existing AbanteCart instance, do backup of database, code and resource library (do not include config)
3. Download backup in the backup history
4. Load backup to newly installed AbanteCart.
5. You will need to replace salt key from your original installation into new configuration file. It is in system/config.php

DONE:
Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 04, 2014, 09:36:49 AM
i am trying this but i dont know where do i load backup.
I have copied backup.tar file to new hosting into admin/system/backup folder but i dont know how to start the migrate process?
i looked in AbanteCart admin area but couldnt find.
Where do i execute load backup?

Thanks
Title: Re: I want to move to another web hosting. What should I do?
Post by: denagpam on May 04, 2014, 09:50:05 AM
hi

I think you have done the wrong way to locate backup.tar

You should upload it onto /public_html folder

then move all folders and files in the backup folder onto /public_html folder with no exception
(until no folder and file in it)

delete backup folder and system/config.php

and upload install.php file

backup the database

then run the installation

change the code in system/config.php with the last code you use
Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 04, 2014, 09:53:24 AM
sorry but i have no idea what you mean?   :'(

you mean before installing abantecart ?
Title: Re: I want to move to another web hosting. What should I do?
Post by: denagpam on May 04, 2014, 09:54:07 AM
yes of course before intallation

so if you have done it you should go back from the beginning
Title: Re: I want to move to another web hosting. What should I do?
Post by: llegrand on May 04, 2014, 09:58:57 AM
Do you have cPanel on your existing host? 

Will your new host migrate for you? 

If so there is a complete backup option on your cpanel , that includes your database. Once you have that zipped file follow the instructions from your new host in where to place the zipped backup in your new files -  it is usually in root.  They will unpack your files and restore it for you -  this will transport ALL your current settings.  But if you have an SSL it will probably need to be reissued for the new location.
Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 04, 2014, 10:00:13 AM
There are only 2 folders inside backup.tar file ?

So i extract the new abantecart to my public_html , and then i extract these 2 folders from backup.tar file. IS this correct?

Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 04, 2014, 10:02:19 AM
but i wanted to install a fresh abantecart with only products and translations from the old one, because i did horrible things with my current abantecart and i have many error logs and i dont want to bring these errors to a new hosting.  ;D
Title: Re: I want to move to another web hosting. What should I do?
Post by: denagpam on May 04, 2014, 10:10:43 AM
it will be certainly fresh installation

can you please try to unzip the backup.tar in your computer

then show me what the code and data folders contain
Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 04, 2014, 11:03:08 AM
here it is.

So you mean, i download abantecart.rar and extract it on new hosting public_html and then i upload my manual_backup.tar and extract it in this folder also to overwrite the same files and folders, then i open config.php to enter my old salt key(or i do this after the installation is finished?), then open my domain in browser to start installation?  when installing i need to enter the same prefix as in my old AbanteCart. IS this correct or i am doing it completely wrong?
Title: Re: I want to move to another web hosting. What should I do?
Post by: abolabo on May 05, 2014, 04:06:52 AM
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.
Title: Re: I want to move to another web hosting. What should I do?
Post by: popustda on May 05, 2014, 06:13:59 AM
ok thanks
Title: Re: I want to move to another web hosting. What should I do?
Post by: Advisor on May 05, 2014, 03:55:18 PM
Important with using the TAR command :

Verifying Data as It is Stored

option -W
option --verify

  Attempt to verify the archive after writing.

This option causes tar to verify the archive after writing it. Each volume is checked after it is written, and any discrepancies are recorded on the standard error output.

Verification requires that the archive be on a back-space-able medium. This means pipes, some cartridge tape drives, and some other devices cannot be verified.

You can insure the accuracy of an archive by comparing files in the system with archive members. tar can compare an archive to the file system as the archive is being written, to verify a write operation, or can compare a previously written archive, to insure that it is up to date.

To check for discrepancies in an archive immediately after it is written, use the `--verify' (`-W') option in conjunction with the `--create' (`-c') operation. When this option is specified, tar checks archive members against their counterparts in the file system, and reports discrepancies on the standard error.

Just add -W to your TAR command to make sure it's 100% OK
Title: Re: I want to move to another web hosting. What should I do?
Post by: abcart_ecm on May 22, 2014, 11:53:08 AM
Quote
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.

So then, what is the use of making only a backup of data, (inside the admin)
if you can not use this backup for moving your web shop
to another host ? Same question for dump.sql,
what do we do with it ?
Title: Re: I want to move to another web hosting. What should I do?
Post by: abantecart on May 22, 2014, 03:43:53 PM
Quote
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.

So then, what is the use of making only a backup of data, (inside the admin)
if you can not use this backup for moving your web shop
to another host ? Same question for dump.sql,
what do we do with it ?

AbanteCart backs up dynamic data. Code can be moved with simple FTP or SFTP.
You can restore your back up on your new moved to location.

FYI. I hope we will be able to finish cloud backup in the next release. This will simplify things.
Help is appreciated :)
Title: Re: I want to move to another web hosting. What should I do?
Post by: abcart_ecm on May 27, 2014, 09:50:49 PM
Quote
AbanteCart backs up dynamic data. Code can be moved with simple FTP or SFTP.
You can restore your back up on your new moved to location.
Ok thanks now it makes sense. Will try this out on a test server.

Quote
FYI. I hope we will be able to finish cloud backup in the next release. This will simplify things.
Help is appreciated :)
I don't agree that a cloud will simplify things. Clouds are in the news lately about data owner rights.
Bad example is MicroSoft promising data safety in European clouds which turned out not to be true.
American companies like microsoft who setup clouds in Europe still fall under American (read nsa) jurisdiction. Now more and more companies are looking for cloud solutions to keep
data owner rights out of nsa peeking and poking.
A good guide about how to transfer your webshop to another host will also simplify things.
Title: Re: I want to move to another web hosting. What should I do?
Post by: keanu_reeves on February 15, 2015, 03:29:49 AM
what fields to take backup from PHP my admin. I just want to transfer my catagories, Manufacturers and products only.
My backup restore is giving error. When I tick
Resource Library Files
Config.php file. Note: keep backup-archive securely. File will contain "salt" for encrypting.

Please help.

Fatal error: Uncaught exception 'AException' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM `ab_language_definitions` WHERE language_id = '1' AND section =1 AND block='error_ajaxerror'' in /home/aayu****/public_html/core/database/mysql.php:114 Stack trace: #0 /home/aayu****/public_html/core/lib/db.php(90): MySQL->query('SELECT * FROM `...', false) #1 [internal function]: ADB->_query('SELECT * FROM `...', false) #2 /home/aayu****/public_html/core/engine/extensions.php(821): call_user_func_array(Array, Array) #3 /home/aayu****/public_html/core/engine/extensions.php(779): ExtensionsApi->__ExtensionsApiCall('_query', Array) #4 /home/aayu****/public_html/core/lib/db.php(61): ExtensionsApi->__call('hk_query', Array) #5 /home/aayu****/public_html/core/lib/db.php(61): ExtensionsApi->hk_query(Object(ADB), 'SELECT * FROM `...', false) #6 /home/aayu****/public_html/core/engine/language.php(636): ADB->query('SELECT * FROM `...') #7 /home/aayu****/pu in /home/aayu****/public_html/core/database/mysql.php on line 114
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on February 16, 2015, 04:07:35 AM
what fields to take backup from PHP my admin. I just want to transfer my catagories, Manufacturers and products only.
My backup restore is giving error. When I tick
Resource Library Files
Config.php file. Note: keep backup-archive securely. File will contain "salt" for encrypting.

Please help.

Fatal error: Uncaught exception 'AException' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM `ab_language_definitions` WHERE language_id = '1' AND section =1 AND block='error_ajaxerror'' in /home/aayu****/public_html/core/database/mysql.php:114 Stack trace: #0 /home/aayu****/public_html/core/lib/db.php(90): MySQL->query('SELECT * FROM `...', false) #1 [internal function]: ADB->_query('SELECT * FROM `...', false) #2 /home/aayu****/public_html/core/engine/extensions.php(821): call_user_func_array(Array, Array) #3 /home/aayu****/public_html/core/engine/extensions.php(779): ExtensionsApi->__ExtensionsApiCall('_query', Array) #4 /home/aayu****/public_html/core/lib/db.php(61): ExtensionsApi->__call('hk_query', Array) #5 /home/aayu****/public_html/core/lib/db.php(61): ExtensionsApi->hk_query(Object(ADB), 'SELECT * FROM `...', false) #6 /home/aayu****/public_html/core/engine/language.php(636): ADB->query('SELECT * FROM `...') #7 /home/aayu****/pu in /home/aayu****/public_html/core/database/mysql.php on line 114

Hello.

The most common reason for the MySQL server has gone away error is that the server timed out and closed the connection.
Title: Re: I want to move to another web hosting. What should I do?
Post by: farzeel on May 06, 2016, 05:31:56 PM
please send a video tutorials :(
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on May 09, 2016, 01:32:28 AM
please send a video tutorials :(

Hello. You can read our doc How to move to another hosting http://docs.abantecart.com/pages/tips/change_domain.html#ChangeHosting
Title: Re: I want to move to another web hosting. What should I do?
Post by: kolynet on October 08, 2016, 05:54:18 AM
guys, i have migrated abantecart million times, you dont have to reinstall. i can help you to do it quickly without problems. you can contact me
Title: Re: I want to move to another web hosting. What should I do?
Post by: Gordon Taylor on October 08, 2016, 03:12:37 PM
I agree with kolynet, it's very simple if you have some basic knowledge. He's moved many of them, simply PM him for the details!
Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 10, 2017, 12:11:40 PM
guys, i have migrated abantecart million times, you don't have to reinstall. i can help you to do it quickly without problems. you can contact me

I agree with kolynet, it's very simple if you have some basic knowledge. He's moved many of them, simply PM him for the details!

But what if you're dead now? 

I was hoping for a quick read. 

It says here the process is quick and simple, but it also says that I must play a "PM" game that is not quick and simple in order to get the information about the quick and simple process. 

That doesn't make sense. 

It seems smarter to just post the quick and simple information instead of posting instructions for a PM game. 

Especially if you were recently killed by a tiger, which would make the PM game much much slower than it already was.  The quick and simple information would be gone forever. 

It seems smarter to just post the information instead of the game. 

BTW - AbanteCart is not like many other CMS's in that it is not a straightforward process to backup a local dev site and then restore the dev site on a live server.   Hence this thread.  Funny that this distinction has apparently persisted for 5 years.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 10, 2017, 12:25:30 PM
So my site is going on an A2 account. 

I ftp'd the AC backup to the A2 server last night. 

A2 has a simple AC installer.  The installer never asked if I wanted demo data.  It just blasted the full package onto my root. 
So that is something to look into. 

I accessed the live AC Admin panel and deleted all that demo data. 

Then I accessed the live AC System/Data/Restore page.  The Browse button wants to look on on my local machine.  I can't make it look at my folder on the live server. 

Funny. 

Intuitive software can be a challenging thing to write. 
Title: Re: I want to move to another web hosting. What should I do?
Post by: llegrand on July 10, 2017, 01:00:34 PM
You've mixed up your apples and oranges here
first the softaculous installer for AC  allows you to direct your installation to a sub-folder  or a sub-directory etc.

But since you FTPd your files you don't need to use the Softaculous install -  you need to check your settings table using myPhpAdmin
and change your url  to your server location. 

As you indicated the /restore wants your local,  and that is an indicator your directions on your ftpd files are not correct.

That should get you fixed up.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 10, 2017, 02:21:15 PM
You've mixed up your apples and oranges here
first the softaculous installer for AC  allows you to direct your installation to a sub-folder  or a sub-directory etc.

Hi, and thank you for your reply!

When I ran the softaculous AC installer on A2, I directed the install to occur in my folder of choice on the live server, which was the root folder for my site: root/sitename.com.  When I open that folder, AC is there.  When I navigate to the live-site url, there is an empty default AC website there.  It is empty because i used the live Admin backend to delete all the products.

I'm with you up to this point.

But since you FTPd your files you don't need to use the Softaculous install -  you need to check your settings table using myPhpAdmin
and change your url  to your server location. 

1 - What I ftp'd up was the backup folder that was produced by the local AC Backup app.  I ftp'd it to the live root/sitename/admin/system/backup folder.  I had to create the backup folder within the system folder on the live server because it was not there, but otherwise this was straightforward.  It took just over an hour because my up speed is pretty slow and there are a lot of files, but i was asleep so that didn't matter.

2 - I'm not sure I completely understand the 1st part of your statement.  My understanding is that the softaculous AC install installs the AC app, which can then receive my AC backup file via Restore and become my site.  My understanding is that my local AC backup does not include the entire AC framework, only the dynamic files.  Hence it is necessary to install the entire AC package on the live server and then restore the dynamic data to it. 

3 - I took your advice and used cPanel on A2 to use phpmyadmin to look at the settings table for my live AC install. 
Row 190 config_url = http://www.mysitename.com/
Is that the proper value for this key?

As you indicated the /restore wants your local,  and that is an indicator your directions on your ftpd files are not correct.

I'm not following you.  On the live Admin backend, under Settings>Store Details, the Store URL value is http://www.mysitename.com/.
In the live cPanel phpmyadmin prefix_settings table, the config_url key value is the same: http://www.mysitename.com/.

What else do i need to change so that the AC livesite Data Restore function will point at and browse the live server folder root/sitename/admin/system/backup/?

BTW - From the live AC Admin panel, I just ran a backup.  It worked.  It placed the backup file (of the empty AC site) into the exact folder listed above.  So now there are 2 backup files in that folder: my site backup which I ftp'd into that folder last night, and the empty AC backup that was just created. 

I thought this might help "trigger' something on the Restore function, but it doesn't.  Restore still wants to look locally instead of at the root folder on the live server. 

That should get you fixed up.

I'm grateful for your help.  I don't mind saying, this is frustrating.  I thought I would spend 15 minutes restoring the site on the live server, then fix file permissions, then make an xml sitemap, then line out my payment methods.  Instead, the day is almost half over and i still can't accomplish a simple step like using AC Restore to load my site into a live install of AC. 
Title: Re: I want to move to another web hosting. What should I do?
Post by: llegrand on July 10, 2017, 02:42:47 PM
Did you read these docs?
http://docs.abantecart.com/pages/tips/change_domain.html


IMPORTANT POINTS:

You need to select the same MySQL database prefix as on your current AbanteCart instance.
On existing AbanteCart instance, do backup of database, code and resource library (do not include system/config.php)
you will need to replace unique keys from your original installation into new configuration file. It is in system/config.php file

a MANUAL install of Abantecart (fresh, without demo)  can easily be done - the same way as you did on your local install.
http://docs.abantecart.com/pages/install/options/regular_installation.html

I would suggest you do it manually,  after deleting your softaculous install.  Then you can use Softaculous to import the installation into that application to take advantage of Softaculous auto backup of entire site and cloning for future testing, etc.


Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 10, 2017, 04:17:30 PM
Did you read these docs?
http://docs.abantecart.com/pages/tips/change_domain.html
I did, yes, thank you. 

IMPORTANT POINTS:

You need to select the same MySQL database prefix as on your current AbanteCart instance.
Yes, I did this from the outset, as prompted during the softaculous AC install.

On existing AbanteCart instance, do backup of database, code and resource library (do not include system/config.php)

Interestingly, there is no apparatus provided for excluding config.php from an AC backup.
Theoretically, the user could move the config.php file out of the AC folder stack and then do a backup, I guess.

But this is irrelevant to my current situation. 

I installed AC on A2 server. 
I ftp'd my site backup to the appropriate folder within the AC install. 
I tried to restore the backup, but the AC Restore app wants to browse my local machine via my browser to find the backup folder, instead of looking on the live server. 

That is the bottleneck. 

I edited the SERVER_NAME key in the live /system/config.php file to point AC at the live server folder. 
I verified that Admin Settings and the database site_settings table both contained the correct live url  as the site url.

What other component of an AbanteCart install will serve to tell AbanteCart the location of itself? 
There is no reason that I can see that a live AbanteCart install doesn't know the location of the folder in which it is installed. 

That is my bottleneck. 

you will need to replace unique keys from your original installation into new configuration file. It is in system/config.php file
I did this at the outset. 
IF the live AC install would look within itself and perform a Restore from its own system/backup folder, then it would find the appropriate UNIQUE ID & ENCRYPTION KEY because I put those keys in the live config.php.
IF AC overwrites the default config.php with my own config.php because it is contained within my backup, the proper keys would still be present.  the only problem would then be the SERVER NAME  key, right?  Easily edited if necessary.
HOWEVER, this problem cannot happen if the live AC install won't look within its own system folder to do a backup.

That is my bottleneck.
 
a MANUAL install of Abantecart (fresh, without demo)  can easily be done - the same way as you did on your local install.
http://docs.abantecart.com/pages/install/options/regular_installation.html

I would suggest you do it manually,  after deleting your softaculous install.  Then you can use Softaculous to import the installation into that application to take advantage of Softaculous auto backup of entire site and cloning for future testing, etc.

I will probably do this next. 
But i will point out that there should be no difference between the softaculous AC install and a manual install, because both installs ask you for the site url, database prefix (which must match), etc, etc. 

I did not ftp site files to site folders. 

I ftp'd an AC backup folder to the proper /system/backup/ folder within an independent AC install. 

The independent AC install has no idea who I am or what data exists where, because it has no information except the install info such as prefix, site url, etc. 

I don't understand why the restore function of a fresh independent AC install would want to look anywhere BUT it's own system folder. 

If I can understand that, then i can point AC at itself to find the proper backup folder to restore. 

I'm reluctant to just nuke the install and start over because I cannot conceive of a reason that act would change anything in my current situation. 

Thank you again for your attempts to help. 

My bottleneck is how to setup or change an AC install so that it looks in it's own system folder to find backups. 
Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 10, 2017, 05:28:05 PM
Pretend you are an AC install, and your boss is Dave. 

You always use your mouth to speak, and you always use your nose to smell, and you always put your backups in your shirt pocket, and you always restore from shirt pocket.

Dave walks up and says "hey, you look weird, I want you to do a restore from last month." 

You answer, "Okay Dave, would you like me to restore from Cleveland, or Guam, or the Neptune Galaxy?"

Dave is like, "What?  I want you to restore from your shirt pocket.  Where else would you restore from?  Why do you want to go looking somewhere else, and where the heck is the Neptune Galaxy?"

You're like, "DUDE, are you stupid?!  The Neptune Galaxy is way over there!  Idiot."

Then you're like, "My search function for finding backup folders to restore won't let me look in my shirt pocket, so I thought instead that maybe I'd look up a donkey's butt."

Dave is like, "man, this bot sucks.  I need a new bot". 

Other people are like, "Dave, how's that bot? Should i get one"

Dave goes, "Nah.  It couldn't search it's own pocket, so it was always wanting to go to outer space.  It was crazy."

They're like "Dave, did you ever get your site up?"

Dave shoots his crippled bot and then drives over a cliff like Thelma and Louise.
Title: Re: I want to move to another web hosting. What should I do?
Post by: llegrand on July 10, 2017, 07:04:45 PM
don't drive off the Cliff ,  this is really not that difficult usually.

But I must apologize I am really short of time today as I have some eye surgery scheduled for tomorrow and a ton of work to still accomplish.
However,  I will have one of my coders see if you've gotten enough help or still need some when he comes back on shift in about 10 hrs.

Perhaps one of the AC devs will answer you ,  or my coder will get to you first thing when he is on shift.

Title: Re: I want to move to another web hosting. What should I do?
Post by: yonghan on July 11, 2017, 07:34:19 AM
Hi,

If i understand you correctly on the browse button/file upload. AFAIK that HTML file upload is not designed to look/browse server side data/folders. It is designed only to look/browse your computer.

Hope it makes clear enough about the default file upload.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on July 13, 2017, 03:25:04 PM
More things that I have learned:

The AC backup app will do a database backup and store it as a sql folder, which can then be "Restored" by AC into your remote database system.  This is an important and valuable feature.   

The AC backup app doesn't do the same thing with the site files.  You have to choose compression, there are indicators in various places that compression can cause problems, and there's no provision in Restore for handling a compressed file.  Rather, you upload it and uncompress it and then try to point Restore at the parts you need. 

Bottom line: if you want to upload a site from a dev machine to a live server, I recommend that you ignore Backup and just ftp the site files straight up to the proper destination folder. 
To upload the database files, make a dev-machine Backup of Database only.  Then run Restore on the live server site, then point Restore at your local db backup, and click go. 

This is a pretty different process than you will find on most other cms frameworks.  I personally found it to be challenging and frustrating, but that's only because I've never encountered an issue uploading a site before, so maybe it's just me. 

Here are some details on the vagaries of uploading an AC site to A2 Hosting live server:

1.)   Use the Softaculous AbanteCart Installer. 
a.   Use the exact same Admin name, username, and password as when you set up your localhost Admin backend access url and credentials.
b.   Use the same database prefix as you used for phpmyadmin localhost site database.
c.   If it gives you the option, install AbanteCart without demo data.  I never saw that option.

2.)   Examine your live A2 cPanel database names, database user ID's, and related passwords.  Make a note of the A2 database name, user, password you intend to use for the live site. 

3.)   If you made any core edits on your dev site, you should have a list of them already.  Individually ftp those files up to the corresponding live folders in your new AC install, overwriting the original files.

4.)   From the dev root, FTP up your template extension folder, plus your resources and image folders and the handful of individual files on root (overwirte).

5.)   Check the privileges for the root/index.php and root/system/config.php files.  Should be 644, or rw-r-r. 

6.)   Edit the live root/system/config.php:
a.   Change the DB_Database name, Username, & Password to the values identified in Step 2-3 above. 
b.   Change the Server_Name value to your full live url. 
c.   Save.

7.)   Navigate to your live backend site address.  It should come up.  If it doesn't, in A2 cPanel, scroll the Scripts bar until you see AbanteCart icon.  Click it. Click the pencil Edit button.  Make sure that the specified database name, user, and password match the trio of names identified above. 

8.)   Once the backend is up, go to System>Settings>Store Details - make sure the Store URL and Secure Store URL are set correctly.
 
9.)   Run the live site. 

SSL:
1.)   A2 Hosting - Make sure an SSL certificate is applied to the domain.  Various free options are available.  One is already in place by default with A2.  Use your own if you have one.

2.)   Live Backend: Go to System>Settings>Store Details - make sure BOTH the Store URL and Secure Store URL are set to https:// .  This is just a weird little characteristic with AbanteCart.  No rhyme or reason to it.  Counterintuitive.  If you don't do this step, your site Home button will take you to a broken homepage.

3.)   In file editor, open /system/config.php, change Server_Name value to https://...

4.)   In /htaccess, add the following three lines to redirect all traffic to https route:
a.   RewriteCond %{SERVER_PORT} 80
b.   RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
If you don't do this, anyone who punches your any-non-https url into any search will go to your non-secure site.  My own home button took me to my non https homepage, where a handful of images were broke.  etc

I love the last bit.  A lot of this stuff is absent or obscurely buried in the Docs, but step 4 above is from outer space.  No mention of it anywhere, even though AC gives you a preset htaccess file.  Quite a rodeo!

Soo, if it weren't for a minimum of 4 years of activity on this forum by llegrand, most of the information I used to wrest a functional site from AC would be absent, and i would have abandoned the framework long ago.  Thanks bud.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on July 14, 2017, 01:38:07 AM
Thank you Geoffrey  :)


Can you please explain what "Home button will take you to a broken homepage"?
Setting up both store urls to https is not recommended but of course allowed.
SSL:
2.)   Live Backend: Go to System>Settings>Store Details - make sure BOTH the Store URL and Secure Store URL are set to https:// .  This is just a weird little characteristic with AbanteCart.  No rhyme or reason to it.  Counterintuitive.  If you don't do this step, your site Home button will take you to a broken homepage.



I think you should Not edit config.php to setup SSL. What Server value your have before?
There usually something like
Code: [Select]
define('SERVER_NAME', 'localhost');

3.)   In file editor, open /system/config.php, change Server_Name value to https://...

Title: Re: I want to move to another web hosting. What should I do?
Post by: Geoffrey on September 02, 2017, 03:31:43 PM
Thank you Geoffrey  :)
Can you please explain what "Home button will take you to a broken homepage"?
Setting up both store urls to https is not recommended but of course allowed.

Yes I can.  AC documentation is lacking in specificity and intuitive workflow.  A simple and comprehensive tutorial for establishing an https site does not exist.

In the absence of adequate documentation, I read what was available and then I researched the forum.  I found multiple instances of a recommendation for setting both store urls to https as a solution to my observed problem of navigating to my https site, then navigating to a product page, then clicking the home button which then took me to a non-https homepage that had two problems: it was non-https (which I guess is becoming obsolete), and it was broken, meaning that images did not show and the layout was jumbled.  The only solution i found for this problem was setting both urls to https. 

What do you mean by 'not recommended'?
What does that mean? 
Why is it not recommended? 
What is the harm of doing it? 
What is the alternative to doing it? 
What other approach should i be taking? 
What are the steps necessary to achieve the alternative approach?  All of the steps please. 

I think you should Not edit config.php to setup SSL. What Server value your have before?

Why not?  What is the reason that I should not do this? 
Is there a harm associated with this approach?
Why do you say that I should not do this?

Nothing else worked. 
I read and researched. 
This is what I came up with. 
The 1st line in my config.php was this:
define('SERVER_NAME', 'www.sitename.com');
I changed it to this:
define('SERVER_NAME', 'https://www.sitename.com');

It worked.  It has worked for over a month now.
Why should I not do this?
What is the harm?
What should I do instead?
Why should i do it instead?
What are the exact steps of what i should do instead? 
 
It is not helpful to have an AC developer tell me that I should not do this when the AC documentation does not tell me what I should do, and also when the developer does not explain anything.   

Title: Re: I want to move to another web hosting. What should I do?
Post by: tattoonbali on May 23, 2019, 07:59:45 PM
Cool, thanks for sharing
Title: Re: I want to move to another web hosting. What should I do?
Post by: tattoonbali on May 23, 2019, 08:00:29 PM
you need to back all your data..
Title: Re: I want to move to another web hosting. What should I do?
Post by: Helena Orstem on April 23, 2021, 09:52:30 AM
abantecart can do only backup of data.
For moving to another host you should do full database backup. Easiest way to do this via hosting provider CPanel or phpmyadmin.
Title: Re: I want to move to another web hosting. What should I do?
Post by: spiceagent11 on May 10, 2021, 12:31:19 PM
i am trying this but i dont know where do i load backup.
I have copied backup.tar file to new hosting into admin/system/backup folder but i dont know how to start the migrate process?
i looked in AbanteCart admin area but couldnt find.
Title: Re: I want to move to another web hosting. What should I do?
Post by: mentalment on May 31, 2021, 12:03:50 PM
Yes, I want to move to another web hosting. What should I do?

Should I backup all the existing files of AbanteCart cart and simply upload them to my new web hosting?

Or

Should I install it from the beginning?

Hope for your reply, Mr. Admin.

Thanks.

You should always back up everything. And then if something happens, which always happens, you will be 100% sure.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Andrea Flores on June 27, 2021, 01:52:04 PM
Deberás Guardar toda tu información.
siempre es bueno tener toda la info guardada ante cualquier eventualidad que pueda suceder.
Slds.
Title: Re: I want to move to another web hosting. What should I do?
Post by: ServiPuertas on June 27, 2021, 07:15:35 PM
Just arrived at this forum. Eager to learn and share knowledge and experience with other users
Title: Re: I want to move to another web hosting. What should I do?
Post by: Listas wiseplay on July 21, 2021, 02:39:59 PM
i am trying this but i dont know where do i load backup
Title: Re: I want to move to another web hosting. What should I do?
Post by: llegrand on July 21, 2021, 02:56:41 PM
perhaps this will help

https://abantecart.atlassian.net/wiki/spaces/AD/pages/14647508/Backup+Restore

There are many ways to backup your site,  including the one within the admin panel  and also Softaculous if you have it in your cPanel

Your new hosting provider quite often will  transfer your site for you,  usually without a fee depending on the host.  But you should still backup your exisitng site and do not cancel that service until your new site is confirmed to be working.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Guadalupe on July 26, 2021, 01:55:03 PM
i am trying this but i dont know where do i load backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: PattriMont on August 13, 2021, 12:35:44 PM
Do you have cPanel on your existing host?
Title: Re: I want to move to another web hosting. What should I do?
Post by: Elivert on September 05, 2021, 07:33:25 PM
If so there is a complete backup option on your cpanel , that includes your database. Once you have that zipped file follow the instructions from your new host in where to place the zipped backup in your new files -  it is usually in root.
Title: Re: I want to move to another web hosting. What should I do?
Post by: melsolar on September 14, 2021, 01:49:15 PM
I think you have done the wrong way to locate backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: samisil on September 19, 2021, 09:44:58 PM
i am trying this but i dont know where do i load backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on September 20, 2021, 01:35:22 AM
i am trying this but i dont know where do i load backup.
Hello. Go to System → Data → Backup https://abantecart.atlassian.net/wiki/spaces/AD/pages/14647508/Backup+Restore
Title: Re: I want to move to another web hosting. What should I do?
Post by: jaybags on September 29, 2021, 10:43:53 PM
Hello! My current Hosting account cannot update AC from version 1.2.16 to 1.3.1 due to mysql version is 5.6.43 (5.7 requirement) and advised us to get a new hosting account. I did all the backup/restore thing to a new hosting account but on a different domain name. All works fine on the admin/backend side. Website works on the main page, checkout, login, add to cart etc..

The issue is when you click on a product link this error comes out:
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: I want to move to another web hosting. What should I do?
Post by: yulcuadros on September 29, 2021, 11:21:13 PM
i am trying this but i dont know where do i load backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on September 30, 2021, 02:09:32 AM
The issue is when you click on a product link this error comes out:
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Hello. You have to configure SEO URLs or disable them in the Store settings. https://abantecart.atlassian.net/wiki/spaces/AD/pages/7962664/SEO+URL+s
Title: Re: I want to move to another web hosting. What should I do?
Post by: lucilopez on October 04, 2021, 08:04:17 PM
So then, what is the use of making only a backup of data, (inside the admin)
if you can not use this backup for moving your web shop
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on October 05, 2021, 01:26:40 AM
So then, what is the use of making only a backup of data, (inside the admin)
if you can not use this backup for moving your web shop

Hello. You can use the backup to move https://abantecart.atlassian.net/wiki/spaces/AD/pages/22511620/Changing+Domain+Name#ChangingDomainName-Movetoanotherhosting
Title: Re: I want to move to another web hosting. What should I do?
Post by: karenalarco on October 19, 2021, 05:40:52 PM
I think you have done the wrong way to locate backup. too.
Nice Day
Title: Re: I want to move to another web hosting. What should I do?
Post by: karolinabi on October 23, 2021, 09:45:11 PM
yes.. Do you have cPanel on your existing host?
Title: Re: I want to move to another web hosting. What should I do?
Post by: danileon408 on October 26, 2021, 12:05:26 AM
i am trying this but i dont know where do i load backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: maritapin on November 09, 2021, 04:20:23 PM
Do you have cPanel on your existing host?
  :)
Title: Re: I want to move to another web hosting. What should I do?
Post by: tatimarins on December 03, 2021, 02:31:32 PM
 i load backup.
Title: Re: I want to move to another web hosting. What should I do?
Post by: laugarte on December 18, 2021, 12:12:00 PM
please send a video tutorials  :'( :'( :'( :'(
thanks
Title: Re: I want to move to another web hosting. What should I do?
Post by: tayloca on December 21, 2021, 03:45:24 PM
Yes, Please.
I need de tutorals too  :'(
Thnks
Title: Re: I want to move to another web hosting. What should I do?
Post by: romiarias on December 22, 2021, 04:31:28 PM
I have the tutorial in my USB. let mi check this ;)
Title: Re: I want to move to another web hosting. What should I do?
Post by: dibravo on December 29, 2021, 11:11:26 AM
For moving to another host you should do full database backup.   8)
Title: Re: I want to move to another web hosting. What should I do?
Post by: thalaos on January 19, 2022, 04:46:30 PM
I need de tutorals too
Title: Re: I want to move to another web hosting. What should I do?
Post by: jenibrock on January 26, 2022, 01:26:13 PM
the tutorials its in youtube.  ;)
Title: Re: I want to move to another web hosting. What should I do?
Post by: pazguerra on June 08, 2022, 04:27:06 PM
For moving to another host you should do full database backup
Title: Re: I want to move to another web hosting. What should I do?
Post by: kalin couture on November 21, 2022, 06:59:06 AM
you can make your website backup and then change your name server, upload your website to another hosting thanks
Title: Re: I want to move to another web hosting. What should I do?
Post by: Steevy on November 30, 2022, 03:21:02 AM
Hi,

Interesting!
Thanks for these tips.
I will try to follow these processes. And I come back to make a feedback.

Thanks,
Title: Re: I want to move to another web hosting. What should I do?
Post by: Neelum on December 13, 2022, 05:51:57 AM
yess
Title: Re: I want to move to another web hosting. What should I do?
Post by: fabibraga on January 05, 2023, 12:14:53 PM
I need de tutorals too
I've looked for it and I can't find it
Title: Re: I want to move to another web hosting. What should I do?
Post by: Basara on January 06, 2023, 01:37:28 AM
I need de tutorals too
I've looked for it and I can't find it

Hello. Please check this doc https://abantecart.atlassian.net/wiki/spaces/AD/pages/22511620/Changing+Domain+Name#ChangingDomainName-Movetoanotherhosting
Title: Re: I want to move to another web hosting. What should I do?
Post by: TechFalcon on January 20, 2023, 10:35:08 PM
I also move to another host.
Title: Re: I want to move to another web hosting. What should I do?
Post by: georgeplunkit on February 20, 2023, 01:29:51 AM
If you are planning to move your website to a new web hosting provider, here are some steps you can follow:

Choose a new web hosting provider: Research and compare different web hosting providers based on your requirements and budget.

Create a backup of your website: Before migrating your website, it's essential to create a backup of all your website files and data. You can use a plugin or a tool provided by your current web hosting provider to create a backup.

Move your domain: If you are moving to a new web hosting provider, you will need to transfer your domain name. You can do this by updating your domain name servers (DNS) to point to the new web hosting provider's servers.

Upload your website files: Once you have chosen a new web hosting provider, you will need to upload your website files to the new server. You can do this using a file transfer protocol (FTP) client or through your new web hosting provider's control panel.

Test your website: Once you have uploaded your website files, you should test your website to make sure it is functioning correctly. You can do this by accessing your website using your domain name or the IP address of the new server.
Title: Re: I want to move to another web hosting. What should I do?
Post by: A3logicsusa on May 05, 2023, 01:17:41 AM
1. Generate a full Backup of your website >> Use the old FTP service. You have to verify the welcome email you received when signing up for one of our Web Hosting Packages in order to access the FTP service.

2. The technique for restoring a backup of your AbanteCart-based website is basically the same as for creating one. Start by login into your account's FTP service, then go to the folder holding the files for your existing website. Next, prepare the local folder where you previously downloaded a backup of those files using the left side of your FTP client.
Title: Re: I want to move to another web hosting. What should I do?
Post by: Rafiqul1589 on November 01, 2023, 12:40:24 AM
Migrating web hosting can be a bit of a process, but with careful planning and execution, you can make it as smooth as possible. Here's a general guideline on how to migrate a website to a new web hosting provider:

Choose a New Hosting Provider:

Research and select a new web hosting provider that suits your needs in terms of resources, pricing, and support.
Back up Your Website:

Create backups of all your website files, databases, and any other data associated with your website. Most hosting providers offer tools for creating backups. Alternatively, you can use FTP to download your files and a database management tool to export your databases.
Set Up the New Hosting Account:

Sign up for a new hosting account with your chosen provider.
Configure your domain name settings to point to the new hosting provider's nameservers or IP address.
Transfer Files and Databases:

Upload your website files to the new hosting server using FTP or a file manager provided by the new hosting provider.
If you have a database, import it into the new hosting provider's database system.
Test Your Website:

Use a temporary URL or a hosts file modification to access your website on the new server before changing DNS settings. This helps you ensure that everything is working correctly on the new server.
Update DNS Records:

Once you're satisfied with your site's performance on the new server, update your domain's DNS settings to point to the new hosting provider. This change might take some time to propagate, so be patient.
Verify and Test Again:

After DNS propagation, test your website again to ensure everything is functioning as expected.
Cancel the Old Hosting Account:

Once you're sure the migration is successful, you can cancel your old hosting account. Be sure to retain any needed data or backups from your old hosting account for some time, just in case.
Monitor Performance:

Keep an eye on your website's performance and resolve any issues that may arise as a result of the migration.
Update Email Settings:

If you use email services associated with your old hosting provider, update your email settings to work with the new hosting provider.
Remember that the specific steps may vary depending on your hosting providers and the complexity of your website. It's essential to communicate with both your old and new hosting providers for assistance and support during the migration process. Additionally, always have a backup of your data before making any changes to avoid data loss.

Title: Re: I want to move to another web hosting. What should I do?
Post by: Lori23 on November 27, 2023, 01:00:10 PM
To move your AbanteCart website to another web hosting, you can follow these steps:

Purchase a new hosting plan that meets the requirements of AbanteCart. You can compare different hosting providers and plans on this website.
Export your website’s backup files from your current hosting account. You can use the backup tool in the AbanteCart admin panel to create a backup of your database, code, and resource library. You can also use FTP or cPanel to download your files manually.



Import your backup files to your new hosting account. You can use FTP or cPanel to upload your files to the public_html folder of your new host. You can also use the import tool in the AbanteCart admin panel to restore your backup.

Change the URL of your website in the AbanteCart configuration file. You can edit the system/config.php file and replace the old URL with the new one. You can also use the AbanteCart admin panel to change the URL settings.



Point your domain name to the new server. You can do this by changing the nameservers or the DNS records of your domain name. You can contact your domain registrar or your new hosting provider for assistance.

Test and review your website before it goes live. You can use a temporary URL or a hosts file to preview your website on the new server. You can also check for any errors or broken links and fix them accordingly.