I have been successfully re-installed ZC a couple times in the past (although some common problems arised (due to user's fault) and solved), however, this time I am facing a problem I have yet found a solution.
Here is the outline of the senario:
-Had a working zc1.26d running
-decided to move a new host
-followed the usual way as descibed here: https://www.zen-cart.com/tutorials/i...hp?article=100
-pulled out the configure.php from both /includes and /admin/includes
-modified the configure.php for my current database
-removed the installed zc1.26d from the new server, and uploaded the working site from the OLD server to the NEW server. Sticked back the modified configure.php files in the new server.
-ran fix_cache_key.php
-BUT Catalogue loads blanks.
-STRANGELY, admin is working perfectly fine.
-rechecked with this : https://www.zen-cart.com/tutorials/index.php?article=82
-the configure.php seems OK.
Then I did something to try and determine the problem. That was, I created a subdirectory called "teststore" under the root, and install another copy of the same version zc into this teststore .... after the installation, same thing happened: Catalogue loads blanks, just blank ....... but admin is working!!
Here is my site:
http://www.pepamilk.com/
(note: sometimes it loads,.... but if you just click any links, blank page again)
here is my working admin:
http://www.pepamilk.com/zen_admin/
here is the freshly installed zc:
http://www.pepamilk.com/teststore/
(not working of course... just blank)
here is the working admin for the test site:
http://www.pepamilk.com/teststore/admin/login.php
here is the /includes/configure of my current (not loading) catalogue:
**************************************************
// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
define('HTTP_SERVER', 'http://www.pepamilk.com');
// Secure webserver: eg, https://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.pepamilk.com');
// 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', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
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', '/var/www/vhosts/pepamilk.com/httpdocs/');
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', '');
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty
define('DB_SERVER_USERNAME', 'myuser');
define('DB_SERVER_PASSWORD', 'mypw');
define('DB_DATABASE', 'mydatabase');
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', '/var/www/vhosts/pepamilk.com/httpdocs/cache');
***********************************************************
Any thoughts on that?
Much thanks !!
pepamilk



