I have followed the instruction on the recommended upgrading steps, and these are what I have done to start the upgrading:
1. Backup SQL
2. Created new DB and renamed new DB name for 1.5
3. Edited files, including most add-ons (Image Handler V2 recommended to be uninstalled and replace with IH4 - recommended to uninstall from Admin/Tools/IH2 which I assumed it has to done after the upgrade; Zen Light box also to install fresh)
4. Deleted old Time Zone table in SQL (manually, as there is no uninstall SQL)
5. Edit the configure.php files in both includes/configure.php and admin/includes/configure.php
PHP Code:
define('HTTP_SERVER', 'http://domain.com');
define('HTTPS_SERVER', 'https://domain.com');
// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');
// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/test/');
define('DIR_WS_HTTPS_CATALOG', '/test/');
define('DIR_WS_IMAGES', '/test/images/');
define('DIR_WS_INCLUDES', '/test/includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . '/test/functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . '/test/classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . '/test/modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . '/test/languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . '/test/pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . '/test/templates/');
define('DIR_WS_PHPBB', '/test/');
// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/domain/public_html/test/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/test/download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/test/pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . '/test/uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . '/test/email/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'myusername');
define('DB_SERVER_PASSWORD', 'mypassword');
define('DB_DATABASE', 'domain_zc1234567');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage
// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/home/domain/public_html/test/cache');
// EOF
6. Created sub-domain to test the upgrade
7. Created new folder at http://domain.com/test/
8. Uploaded the modified files and installation files to above folder
9. Run zc_install/index.php
10. Chose upgrade database
11. 4 steps skipped (said that they already existed)
12. Chose 'done with updates'
13. Clicked on the 'visit admin page'
But it's a broken link. What did I do wrong? When created the subdomain, I point it to the root folder at http://domain.com/test/.
Appreciate your help.
Bookmarks