USE your HOST ACCESS Server MyPHP/MySql-ADMIN, to create and DOWNLOAD an ENTIRE COPY of your OC Database.
This is the UPMOST IMPORTANT Step, to have/keep your most valuable Data.
On your NEW Server, CREATE a NEW DATABASE, by USE of the
SAME Credentials, as shown in your
CONFIG.PHP Files, including the DB_prefix '
oc_', if this is a predefined Value, when creating the DB!
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'my.mysql.db.internal');
define('DB_USERNAME', 'a_shop123');
define('DB_PASSWORD', 'abcdegfwe335');
define('DB_DATABASE', 'mynew_db');
define('DB_PREFIX', 'oc_'); (or whatever you already have/USE in your Setup!!)
If the NEW DB exits, UPLOAD your existing DB into your newly created Server DB by use of the PHP Admin/MySql Admin Import Functions.
If you are not sure, ask your HOSTER (or one of the Pro's around here) to set up and install the DB, and it's data, for YOU!
-----
STEP2
-----
Do you have/use an FTP UP-Download-Client on your Windows?
if so:
a.
Open your Site with your FTP Client, direct you to your Server SHOP Section.
b. FInd the
shop/vqmod/vqcache/ Subdirectory, and remove/delete it's entire Content.
c. Find the
shop/system/cache/ Subdirectory, and remove/delete it's entire Content.
d. Find the
shop/image/cache/ Subdirectory, and remove/delete it's entire Content.
e. DOWNLOAD the
entire SHOP Directory Content , in ONE STEP, to your
PC.
---
2.
REDEFINE the Server Paths in
BOTH config.php files to match the new server Environment.
SAMPLE SHOP ROOT SECTION:
Code: Select all
// DIR
define('DIR_APPLICATION', '/home/jacob/www/a_shop/cart/catalog/');
define('DIR_SYSTEM', '/home/jacob/www/a_shop/cart/system/');
define('DIR_DATABASE', '/home/jacob/www/a_shop/cart/system/database/');
define('DIR_LANGUAGE', '/home/jacob/www/a_shop/cart/catalog/language/');
define('DIR_TEMPLATE', '/home/jacob/www/a_shop/cart/catalog/view/theme/');
define('DIR_CONFIG', '/home/jacob/www/a_shop/cart/system/config/');
define('DIR_IMAGE', '/home/jacob/www/a_shop/cart/image/');
define('DIR_CACHE', '/home/jacob/www/a_shop/cart/system/cache/');
define('DIR_DOWNLOAD', '/home/jacob/www/a_shop/cart/download/');
define('DIR_LOGS', '/home/jacob/www/a_shop/cart/system/logs/');
SAMPLE SHOP ADMIN SECTION:
Code: Select all
// DIR
define('DIR_APPLICATION', '/home/jacob/www/a_shop/cart/admin/');
define('DIR_SYSTEM', '/home/jacob/www/a_shop/cart/system/');
define('DIR_DATABASE', '/home/jacob/www/a_shop/cart/system/database/');
define('DIR_LANGUAGE', '/home/jacob/www/a_shop/cart/admin/language/');
define('DIR_TEMPLATE', '/home/jacob/www/a_shop/cart/admin/view/template/');
define('DIR_CONFIG', '/home/jacob/www/a_shop/cart/system/config/');
define('DIR_IMAGE', '/home/jacob/www/a_shop/cart/image/');
define('DIR_CACHE', '/home/jacob/www/a_shop/cart/system/cache/');
define('DIR_DOWNLOAD', '/home/jacob/www/a_shop/cart/download/');
define('DIR_LOGS', '/home/jacob/www/a_shop/cart/system/logs/');
define('DIR_CATALOG', '/home/jacob/www/a_shop/cart/catalog/');
---
3. UPLOAD the entire SHOP Directory, Content including the rewritten config.php files onto your new Server.
If you also use a
new Site Name, make sure to also
change their
config.php values accordingly!!
4. DOWNLOAD THE LATEST
VqMod Version 2.5, UNZIP it on your PC, and
UPLOAD/implement the unzipped Content, correctly, as advised, onto your new Shop, again by use of your FTP Client.
Then,
activate/install it by using a LINK LIKE:
http.//yourshop.com/shop/vqmod/install/index.php
5. NOW, test your Shop Admin, log in as usual, check the
VqMod Admin Tool you use, if all VqMod's are active and working without errors. Also test the Admin System Error Page, and then, NOT BEFORE, start your Shop from the Admin Link, check it, and come back and tell us, it you followed the Rules, and what came out...
6. Good Luck
Ernie
openshop.li/cart/