|
Jan 24
2011
|
Moving Zen CartPosted by bohemia in Untagged |
|
Moving Zen Cart to a local server or remote server is an easy process. All that is necessary is to move the files and database over to the new server. If the passwords and database have the same names, the setup will go seamlessly. However, 2 configure files need to be updated. The files are /admin/includes/configure.php and includes/configure.php. Both files look the same. The main lines of code to change are:
Since the includes/configure.php operates properly with permissions 444, it is recommended to change them to 644 during editing, then back to 444, or an error message will persist.
Another method is to do a clean Zen Cart installation and update the template and database.
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://domain.or.subdomain.com/');
define('HTTPS_SERVER', 'https://domain.or.subdomain.com/');
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://domain.or.subdomain.com/');
define('HTTPS_SERVER', 'https://domain.or.subdomain.com/');
Since the includes/configure.php operates properly with permissions 444, it is recommended to change them to 644 during editing, then back to 444, or an error message will persist.
Another method is to do a clean Zen Cart installation and update the template and database.




