I just upgraded the website in a subfolder /staging/ and moved everything to the main (root) directory.
Here's what I did:
- Removed any old files/folders from the root directory.
- Moved all the files/folders from the new site into the root directory.
- Changed all the directory listing in config.php & admin/config.php so that there is no longer any mention of /staging.
- Uploaded the config.php files to the server.
Working:
- Home page appears.
- All the information pages.
- Some Category and Product Pages.
- Web Specials on the home page just shows loading.
- Certain Category pages (i.e. Ayurveda Products, Web Specials, On Sale, Bhasma (and other subcatories found here: https://garrysun.com/index.php?route=pr ... path=59_60).
- Checkout Page keeps redirecting to the Search page.
config.php
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://garrysun.com/');
define('HTTP_IMAGE', 'https://garrysun.com/image/');
define('HTTP_ADMIN', 'https://garrysun.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'https://garrysun.com/');
define('HTTPS_IMAGE', 'https://garrysun.com/image/');
// DIR
define('DIR_APPLICATION', '/public_html/catalog/');
define('DIR_SYSTEM', '/public_html/system/');
define('DIR_DATABASE', '/public_html/system/database/');
define('DIR_LANGUAGE', '/public_html/catalog/language/');
define('DIR_TEMPLATE', '/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/public_html/system/config/');
define('DIR_IMAGE', '/public_html/image/');
define('DIR_CACHE', '/public_html/system/cache/');
define('DIR_DOWNLOAD', '/public_html/download/');
define('DIR_LOGS', '/public_html/system/logs/');
Code: Select all
// HTTP
define('HTTP_SERVER', 'https://garrysun.com/admin/');
define('HTTP_CATALOG', 'https://garrysun.com/');
// HTTPS
define('HTTPS_SERVER', 'https://garrysun.com/admin/');
define('HTTPS_CATALOG', 'https://garrysun.com/');
// DIR
define('DIR_APPLICATION', '/public_html/admin/');
define('DIR_SYSTEM', '/public_html/system/');
define('DIR_IMAGE', '/public_html/image/');
define('DIR_LANGUAGE', '/public_html/admin/language/');
define('DIR_TEMPLATE', '/public_html/admin/view/template/');
define('DIR_CONFIG', '/public_html/system/config/');
define('DIR_CACHE', '/public_html/system/storage/cache/');
define('DIR_DOWNLOAD', '/public_html/system/storage/download/');
define('DIR_LOGS', '/public_html/system/storage/logs/');
define('DIR_MODIFICATION', '/public_html/system/storage/modification/');
define('DIR_UPLOAD', '/public_html/system/storage/upload/');
define('DIR_CATALOG', '/public_html/catalog/');