IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/07/2022 : 04:04:10
I'm having to migrate from TSOhost to 20i Is there guide or any information on what I need to change/edit to successfully migrate this instance? Any help massively welcomed!
|
Vince
Administrator
42810 Posts |
Posted - 11/07/2022 : 08:12:44
Hi IfOnly There isn't really a guide but what you need to do is (obviously I guess) copy all the files. Then you need a copy of your database and you need to recreate that database on the new host. Then make sure you change the database connection details in vsadmin/db_conn_open.php to point to the new database. Copying the database is best done via phpMyAdmin which is available on most hosts and will give you an Export and Import option, where just using the defaults seems to do a good job. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
Steved
Ecommerce Template Guru
United Kingdom
1022 Posts Pre-sales questions only (More Details...)
|
Posted - 11/07/2022 : 11:35:02
Hi,
Most hosts offer free migration and I see 20i does too. Might be easier to get them to do it for you.
[url]https://www.20i.com/website-migration[/url]
Steve
Edited by - Steved on 11/07/2022 11:39:40
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/08/2022 : 06:44:14
Did just that. Copied the files, exported the DB and edited vsadmin/db_conn_open.php Had a "too many redirects" issue which was a simple .htaccess edit and all done. Thanks for the replies
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/10/2022 : 08:14:15
Website up - order taken. However can't login
Getting this : Database Connect Error (2002) Connection timed out You need to set your database connection in vsadmin/db_conn_open.php For help setting your database connection please see... https://www.ecommercetemplates.com/phphelp/ecommplus/instructions.asp#dbconn We also have a support forum here... https://www.ecommercetemplates.com/support/
Help?
|
Vince
Administrator
42810 Posts |
Posted - 11/10/2022 : 11:37:22
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/11/2022 : 01:56:45
# Added automatically by Gridhost panel Saturday 24th of November 2012 09:22:14 AM Options -Indexes RewriteEngine On #RewriteCond %{HTTP_HOST} tavistockbutchers\.co\.uk [NC] #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ https://www.tavistockbutchers.co.uk/$1 [R,L] SuPHP_ConfigPath /var/sites/t/tavistockbutchers.co.uk/public_html/php.ini AddType x-httpd-php56 .php
|
Vince
Administrator
42810 Posts |
Posted - 11/11/2022 : 02:27:04
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2022 : 07:56:33
Ahhh ok - its seems I have two db_conn_open.php
One that sits in public_html/xxxvsadmin and another that sits in: public_html/vsadmin
I just edited the version in public_html/xxxvsadmin to reflect the new dbase/user details hower now it redirects to https://www.tavistockbutchers.co.uk/vsadmin/login.php and states "Login Disabled:"
Does it need a separate user?
|
Vince
Administrator
42810 Posts |
Posted - 11/14/2022 : 14:02:15
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/15/2022 : 05:47:21
I've tried to login via http://www.tavistockbutchers.co.uk/xxxxvsadmin/login.php (hidden :))
However it just redirecting to vsadmin/login.php and stating login disabled
|
Vince
Administrator
42810 Posts |
Posted - 11/15/2022 : 08:12:15
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/15/2022 : 08:23:12
This is the currernt .htaccess, it was brought over from the old hosting platform, but can't see anything that would cause the redirect
# Added automatically by Gridhost panel Saturday 24th of November 2012 09:22:14 AM Options -Indexes RewriteEngine On #RewriteCond %{HTTP_HOST} tavistockbutchers\.co\.uk [NC] #RewriteCond %{SERVER_PORT} 80 #RewriteRule ^(.*)$ https://www.tavistockbutchers.co.uk/$1 [R,L] SuPHP_ConfigPath /var/sites/t/tavistockbutchers.co.uk/public_html/php.ini AddType x-httpd-php56 .php
|
Phil
ECT Moderator
United Kingdom
7696 Posts |
Posted - 11/15/2022 : 08:56:14
Hi, First of all edit your vsadmin/includes.php file and remove the following lines below $notifyloginattempt=TRUE; $disallowlogin=TRUE; or just comment them out like this //$notifyloginattempt=TRUE; //$disallowlogin=TRUE; Then make sure you can login here - https://www.tavistockbutchers.co.uk/vsadmin/login.php Then for security add the following line to your vsadmin/includes.php $loginkey="myloginkey"; change myloginkey to anything you like really, so if you set it to yournewkey Then browse to https://www.tavistockbutchers.co.uk/vsadmin/login.php?loginkey=yournewkey You can then delete the renamed folder because the vsadmin is now secure and cannot be browsed to without knowing the key *Contact Us**Buy The PHP Capture Card Plugin**Rate Our Services/View Our Feedback*
|
IfOnly
Advanced Member
235 Posts Pre-sales questions only (More Details...)
|
Posted - 11/16/2022 : 02:44:49
These parameters are not in vsadmin/includes.php (or xxxvsadmin/includes.php)
$notifyloginattempt=TRUE; $disallowlogin=TRUE;
|
Phil
ECT Moderator
United Kingdom
7696 Posts |
Posted - 11/16/2022 : 03:01:41
Edited by - Phil on 11/16/2022 03:12:03
|
|
|