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)
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
here is the configure.php from /zencart/includes/
http://greenwoodmensstyle.com/zencar.../configure.rar
thanks all.
You have to paste the content here, we can not view php files.
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
<?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');
?>
Code:<?php echo $_SERVER['DOCUMENT_ROOT']; ?>Copy and paste the display content here.
- 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
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