Moving (replicating) ZC 1.2.6 from functioning, live Linux host server to local WinXPPro machine (in preperation for 1.3.x conversion). Followed the steps outlined here:
http://www.zen-cart.com/wiki/index.p...Switch_Servers
Successfully completed Steps 1 through 5. During Step 2, the newly installed ZC functioned perfectly - both the cart and the admin. No warning flags during install (all green). At Step 6, I download and copy the "fix_cache_key.php" file to my ZC folder and open it in a browser: http://localhost:8088/zc1.2.6/fix_cache_key.php
THE PROBLEM: After opening the above URL, the browser window display is blank - no text, images or forms, no server errors, no PHP errors. Literally nothing. Navigating to the admin page: http://localhost:8088/zc1.2.6/admin/login.php
... it too is blank (i.e. no admin login. Nothing displayed. No PHP or server errors - just blank).
PHP "ALL_ERRORS" are on. No error messages present in Apache error log. Apache access log shows:
127.0.0.1 - - [19/Nov/2006:09:08:19 -0800] "GET /zc1.2.6/fix_cache_key.php HTTP/1.1" 200 742
127.0.0.1 - - [19/Nov/2006:09:08:45 -0800] "GET /zc1.2.6/admin/login.php HTTP/1.1" 200 598
127.0.0.1 - - [19/Nov/2006:09:08:57 -0800] "GET /zc1.2.6/index.php HTTP/1.1" 200 5298
As for the cart itself: http://localhost:8088/zc1.2.6/index.php - it's appears to be fully functional in all ways.
Live, functioning server info (for reference):
Apache/1.3.34 (Unix)
PHP/4.4.1
MySQL 4.0.27-standard
Local (target) machine info:
WinXPPro
Apache/2.0.59
PHP/4.4.1
MySQL 4.1.21-community-nt
Current local configure files:
../admin/includes/configure.php:
// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
define('HTTP_SERVER', 'http://localhost:8088');
// Secure webserver: eg, https://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://localhost:8088'); // eg, https://localhost
define('HTTP_CATALOG_SERVER', 'http://localhost:8088');
define('HTTPS_CATALOG_SERVER', 'https://localhost:8088');
// secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', '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_ADMIN', '/zc1.2.6/admin/');
define('DIR_WS_CATALOG', '/zc1.2.6/');
define('DIR_WS_HTTPS_ADMIN', '/zc1.2.6/admin/');
define('DIR_WS_HTTPS_CATALOG', '/zc1.2.6/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
// * 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_ADMIN', 'D:/apache_websites/zc1.2.6/admin/');
define('DIR_FS_CATALOG', 'D:/apache_websites/zc1.2.6/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
define('DIR_FS_CATALOG_BLOCKS', DIR_FS_CATALOG . 'includes/blocks/');
define('DIR_FS_CATALOG_BOXES', DIR_FS_CATALOG . 'includes/boxes/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
define('DIR_FS_FILE_MANAGER_ROOT', 'D:/apache_websites/zc1.2.6'); // path to starting directory of the file manager
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
// 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', 'database');
define('DIR_FS_SQL_CACHE', 'D:/apache_websites/zc1.2.6/cache');
../includes/configure.php
// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
define('HTTP_SERVER', 'http://localhost:8088');
// Secure webserver: eg, https://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://localhost:8088');
// 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', '/zc1.2.6/');
define('DIR_WS_HTTPS_CATALOG', '/zc1.2.6/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_BLOCKS', DIR_WS_INCLUDES . 'blocks/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');
// * 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', 'D:/apache_websites/zc1.2.6/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', 'zen_');
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db'
// 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', 'database');
define('DIR_FS_SQL_CACHE', 'D:/apache_websites/zc1.2.6/cache');
Any assistance most appreciated - just holler if additional info is required.
Thanks!
bf



