Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shopping Cart is Empty


mcdown75

Recommended Posts

I am new to this, but an old hand at PERL. I cannot find my PHP.ini file, but I did edit the .htaccess file under my catalog. My site is set up to where the root is var/www/html/catalog so everything has to go down one level to catalog. I suspect the problem is in my config.php file under catalog/includes. It is not adding anything to the database, although all of my other items have added just fine includeing my user info. Here is my config.php file:

 

define('HTTP_SERVER', 'http://www.###.com/catalog/'); // 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', 'catalog/');

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

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', '/catalog/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_ADMIN', "admin/");

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

 

define('DIR_FS_DOCUMENT_ROOT','/var/www/html/catalog/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_ICONS', '/var/www/html/catalog/admin/images/icons');

define('DIR_FS_CATALOG_LANGUAGES','/var/www/html/catalog/includes/languages/');

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

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

define('DIR_FS_BACKUP', '/var/www/html/catalog/admin/backups/');

 

// define our database connection

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

define('DB_SERVER_USERNAME', ####);

define('DB_SERVER_PASSWORD', ###);

define('DB_DATABASE', ###);

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

 

I have been trying to get this set up for a week and it is kicking my butt. I'm starting to feel like an idiot. Can someone please help me?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...