I don't know what happened, when i back home, my zencart getting like this http://greenwoodmensstyle.com/zencart/index.php
admin panel getting like this: http://greenwoodmensstyle.com/4images/data/media/72/help.JPG
Is there anyone can help me?i'm almost cannot sleep now.
Thank you
Something goes wrong with your includes/configure.php and admin/includes/configure.php. Did you or anyone else make changes to those files? If you have a back up of your site files, back up the current version of those 2 files, then upload the 2 configure files from your back up to overwrite the current ones.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Thank you all, but i didn't change anything.
It work very great about one month, but just now when i back home and look my site, it just become what you see, i even don't know why?
Even if you haven't changed anything, some things have changed! On the Admin side it looks as though your admin/includes/configure.php file has been deleted or corrupted, and on the catalog side, it rather looks as though your stylesheets have completely disappeared.
Kim's advice is good, restore the latest backup that you have. Alternatively, your files up again (your database looks OK), then copy a fresh set of files from the version of Zen Cart that you were using over your cart and hope that you were using the over-ride system properly. You will still need to reconstruct the admin/includes/configure.php file by hand though.
Even if you haven't changed anything, some things have changed! On the Admin side it looks as though your admin/includes/configure.php file has been deleted or corrupted, and on the catalog side, it rather looks as though your stylesheets have completely disappeared.
Kim's advice is good, restore the latest backup that you have. Alternatively, your files up again (your database looks OK), then copy a fresh set of files from the version of Zen Cart that you were using over your cart and hope that you were using the over-ride system properly. You will still need to reconstruct the admin/includes/configure.php file by hand though.
Dear kuroi,
Thank you, but i compare those two configure.php, they doesn't change anything, anyword, now i'm so confuse.........
Post the content of the file here, without the mysql login info of course (I suspect that this has something to do with your host, so you should contact them as well)
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Post the content of the file here, without the mysql login info of course (I suspect that this has something to do with your host, so you should contact them as well)
Thank you yellow1912, i think it's a great idea.
<?php
/**
* @package Configuration Settings circa 1.3.8
* @copyright Copyright 2003-2007 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0
*/
// 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://greenwoodmensstyle.com');
define('HTTPS_SERVER', 'https://greenwoodmensstyle.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', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');
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', '/home/greenwoo/public_html/phpBB2/');
// * 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/greenwoo/public_html/zencart/');
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
/********************************************************************************
* The following code block alternates database users based on 15-minute segments
* It supports separate users for each 15-minute segment of a given hour
*/
// Enter your 4 database usernames here.
// If you have only two, then repeat them: first, second, first, second
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
$dbuser[] = 'greenwoo_***';
$db_pwd[] = '****';
// NO NEED TO DO ANYTHING IN THIS SECTION:
// calculate the current "minute"
$current_minute = date('i');
// calculate which "quarter of the hour" we're in
$db_user_active = (int)($current_minute/5);
define('DB_SERVER_USERNAME', $dbuser[$db_user_active]);
define('DB_SERVER_PASSWORD', $db_pwd[$db_user_active]);
//echo $db_user_active;
/*** END OF rotating db-users code***********************************/
define('DB_DATABASE', 'greenwoo_zencart');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to '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/greenwoo/public_html/zencart/cache');
?>
> - >
- Copy and paste the above code in a blank page
>
- Save it as absolutepath.php
>
- Upload it via FTP to the location where you install your ZC
>
- Open your favorite browser and enter the URL to point to this file:
> - Example: **<http://www.your-site.com/absolutepath.php>**Copy and paste the display content here.
Thank you, yellow1912
I already to move my shopping cart to my country - Taiwan, but i'll test this before i move it well, ipowerweb always mad me crazy.:no: