New Zenner
- Join Date:
- Apr 2008
- Posts:
- 21
- Plugin Contributions:
- 1
Serious Zenner help needed: trying to move to new server
Hi,
First I want to say that I have read the tutorial called
I want to move my Zen Cart installation to another host or a different server
All I can say is "I wish it were that simple". Nothing has worked and my frustration is compounded by having a slow internet connection, so FTPing back and forth to change settings is time consuming.
So here I am on day 3.
I first tried, without the article's help, to
- create new database and user.
- export data from old server's db and import to new server's db.
- Copy all files to new server. 4. Fire up in browser expecting issues.
- See the Zen Cart page that says that you haven't installed or you configure.phps are wrong.
- manually modify configure.php (in admin too) to reflect new server location, cache, db.
- Fire up in browser and the store front comes up as a blank plane white page.
- Find out what fix_cache_key.php does, and manually open db in phpmyadmin. Find the offending path to cache, change it.
- Fire up in browser, store front is still blank white page. Admin side is a few lines of garbled characters.
Attempt 2. Wipe the whole lot clean and do what I should have done the first time, read the article and follow the steps precisely.
.
.
.
To cut a long story short, I followed the instructions precisely and you'll never guess... blank white page on the store front and a few lines of garbled text on the admin side. :smartalec:
In the rare event that any of you speak garbled, please tell me what this says:
<html><head>
<style type="text/css">
<!--
h1 {
color: #B56224;
}
h2 {
color: #D67732;
}
h3 {
color: #D67630;
}
.red {
color: #FF0000;
font-weight: bolder;
}
.green {color: #009900;
font-weight: bolder;
}
-->
</style>
</head><body>
‹������¬“MÓ0†ïHü‡ÙˆÅW&RÕ¦ÚH¥…¤°ÚSä8“Æjâ‰lgCøõLÓ²lââÃ|>3óúõ+Ù¼—J79†`ìÁC>YÝ8²æ»
†,ì‰Z)8N6·q†šºm5û<Ûocé‡âOä½)[Õ÷ŽzgT@ÐsñÊ8ÔÜ59˜hpà
{¿“â’RS…±h¨C1b©ªÎX¡jg´²#¹£4EÃQ4¡k9‰Š¹ºs¢,ˆŸ/c-tT©å–ÝŒ{E›¡ª@†¯Ò¬XçEþyS,ËûD
6Bí¨M¶6‡ÁaÔ7ýKRŽøNN»ð]*##i°gŠ<Éót·-²tŸÌ”,÷»ìñc,ðÂU©<þ‘Béàh'Ñekt1wÖ##AüÙï ó»¥üóÙYQ]ƒ®.íÁr(¯%(c=>mMmK#çüuŒ;øŸœßµ±Æ7XE¿Î.k¦cĖ܇Uœ£œ ÓµT7É"O`•l’}ûû4‡uºI`í>ÂãîKy’}M2Øînnž±¥8¿ôΰ£§ÓÜ¡1jÃÂS›oÅLZq:‰æíYHgÅ£{Bü72ž½#
mõ®Dh”>¢ó¢gpÅc{‚ΚÀÙx„@<YÇ:÷xQ5’¢¤jbÂÓÎâ���ÿÿ�iÑcÃÙ��
Ok, here's the only thing I can think of right now that could be wrong. My store used to be in the root directory of public_html. In my new store it's under public_html/store/
Although I don't see a problem here because I am using the configure.php files from the new installation so it has the new directory path covered.
Another helpful hint... the garbled text is actually trying to tell me something. If I visit the admin side the garbled text is always the same "message". If I run fix_cache_key the message changes, but if I re-run it it's the same message each time. Still completely blank white page for front end.
I would love to get this figured out. If anyone is willing to share ideas or help then please let me know what info I need to post up so you can see what's wrong. I'll start with the front end config file:
<?php
/**
* @package Configuration Settings circa 1.3.8
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
*/
/*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
/*************** The 2 files should be kept separate and not used to overwrite each other. ***********/
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://africanworks.co.uk');
define('HTTPS_SERVER', 'https://africanworks.co.uk');
// 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', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
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_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', '/home/webadmin/africanworks.co.uk/html/store/');
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');
define('DB_SERVER_USERNAME', 'zencart_XXX');
define('DB_SERVER_PASSWORD', 'XXXXXX');
define('DB_DATABASE', 'zencart_XXX');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'db');
// for STORE_SESSIONS, 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', 'none');
define('DIR_FS_SQL_CACHE', '/home/webadmin/africanworks.co.uk/html/store/cache');
// EOF