Golden Apple
6-24-05, 01:43 PM
I'm still plugging away at this SSL problem. I've copied the code posted to the top thread as carefully as I can but I come up with an error code:
unexpected ')' in line 39
This error is in my Catalog/Includes/Configure.php
Here's what I have coded:
define('HTTP_SERVER', 'http://goldenapplels.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://goldenapplel.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'goldenapplels.com');
define('HTTPS_COOKIE_DOMAIN', 'goldenapplel.secure.powweb.com');
define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
define('HTTPS_COOKIE_PATH', ''/osCommerce/catalog/);
define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
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', 'pub/');
define('DIR_FS_CATALOG', '/www/g/o/goldenapplels.com/htdocs/osCommerce/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'mysql10.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxxx');
define('DB_DATABASE', 'XXXXXXX');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
I would appreciate any help - does anyone see any glaring mistakes? At this point my website is working but unsecure and I'm hoping to put my authorize.net module up as soon as it is secure. Thanks
John
Golden Apple
unexpected ')' in line 39
This error is in my Catalog/Includes/Configure.php
Here's what I have coded:
define('HTTP_SERVER', 'http://goldenapplels.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://goldenapplel.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'goldenapplels.com');
define('HTTPS_COOKIE_DOMAIN', 'goldenapplel.secure.powweb.com');
define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
define('HTTPS_COOKIE_PATH', ''/osCommerce/catalog/);
define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
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', 'pub/');
define('DIR_FS_CATALOG', '/www/g/o/goldenapplels.com/htdocs/osCommerce/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'mysql10.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxxx');
define('DB_DATABASE', 'XXXXXXX');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
I would appreciate any help - does anyone see any glaring mistakes? At this point my website is working but unsecure and I'm hoping to put my authorize.net module up as soon as it is secure. Thanks
John
Golden Apple