Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

whats wrong with this config file?


point2pointdev

Recommended Posts

this is catalog/includes/configure.php

define('HTTP_SERVER', 'http://www.website.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.sterlingjoy.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', website.com');

define('HTTPS_COOKIE_PATH', website.com');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

I couldn't run the web install for some weird reason, can anyone tell me what i probably have wrong here? The /catalog/index.php loads fine but the subcategories, login and everything on the site just goes to a blank white page. and no, no i can't turn errors on so it's either guess at these variables or hunt for a new cart.

 

thanks in advance.

Link to comment
Share on other sites

Fix these if they're really wrong, the ' in front of website.com is missing.

 

define('HTTP_COOKIE_PATH', website.com');

define('HTTPS_COOKIE_PATH', website.com');

 

change to:

 

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

 

I don't know if those could cause the problem though.

 

Try setting the:

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

 

explicity. I mean using phpinfo() to find the path name or checking in your server control panel to get it.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

well i tried that and now my index.php refuses to load, just a blank white page.

 

think im going to give up, wasted a week on this stupid software. i wish they would put a little more documentation in the configure.php for when their install.php craps out.

 

Fix these if they're really wrong, the ' in front of website.com is missing.

 

define('HTTP_COOKIE_PATH', website.com');

define('HTTPS_COOKIE_PATH', website.com');

 

change to:

 

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

 

I don't know if those could cause the problem though.

 

Try setting the:

 

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

 

explicity. I mean using phpinfo() to find the path name or checking in your server control panel to get it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...