Forums / Basic Configuration / how to configure my configure.php file

how to configure my configure.php file

Locked

Views: 3,279

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Oct 2006, 1:06 PM
#1
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

how to configure my configure.php file

https://www.caytech.net

i got this warning when i configure my files.. from other server

what is main reason.? how i can solve this.

my config file

define('HTTP_SERVER', 'http://www.caytech.net');
define('HTTPS_SERVER', 'https://www.caytech.net');

// 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', '');
define('DIR_WS_HTTPS_CATALOG', '');

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', '/usr/local/apache2/misc/23/699/532/568/user/web/caytech.net/');

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', '8888888');
define('DB_SERVER_USERNAME', 'xxxxx);
define('DB_SERVER_PASSWORD', 'xxxxxxxx');
define('DB_DATABASE', xxxxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // 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', '/usr/local/apache2/misc/23/699/532/568/user/web/caytech.net/cache');

?>

my functions/sessions.php:145 code:


function zen_session_save_path($path = '')
{
if (!empty($path))
{
return session_save_path($path);
} else {
return session_save_path();
}
}


to see my php info file :

https://www.caytech.net/phpinfo.php

seeking for any one urgent help

[email protected]
[email protected]

30 Oct 2006, 2:24 PM
#2
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: how to configure my configure.php file

Compare the following with your file, you should see what you are missing.

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

The learning is in the doing.

Potent Products

30 Oct 2006, 2:55 PM
#3
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: how to configure my configure.php file

thanks man

its done

thanks one more time

30 Oct 2006, 2:57 PM
#4
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: how to configure my configure.php file

man it still saw error on this pages:

http://www.caytech.net/index.php?main_page=shopping_cart

add any prdouct and then see "Backtoshopping"

hope you help me soon just like previos one

30 Oct 2006, 3:00 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: how to configure my configure.php file

I posted the fix to this in one of the three other posts on this,

you need to add a / to the defines
in your includes configure.php you have this

define('DIR_WS_CATALOG', '');
define('DIR_WS_HTTPS_CATALOG', '');

and you need to make it like this

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

Zen cart PCI compliant Hosting