Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Config Files... Inside misconfigured?


Guest

Recommended Posts

http://smokymtnmall.com/oscommerce/ go there and you can see 4 products. If you click on the product it says not found. What coudl be the issue? Partially writing to database? If so please look at my files below.

 

My include

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

define('HTTP_SERVER', 'http://smokymtnmall.com');

define('HTTPS_SERVER', 'http://smokymtnmall.com');

define('ENABLE_SSL', 'false');

define('HTTP_COOKIE_DOMAIN', 'http://smokymtnmall.com');

define('HTTPS_COOKIE_DOMAIN', 'http://smokymtnmall.com');

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

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

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

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', 'D:/vhosts/smokymtnmall.com/httpdocs/oscommerce/');

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

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

 

// define our database connection

 

define('DB_SERVER', 'localhost:deleted');

define('DB_SERVER_USERNAME', 'deleted');

define('DB_SERVER_PASSWORD', 'deleted');

define('DB_DATABASE', 'mysql1011dd7561deleted');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

 

AND THE OTHER FILE

ADMIN INCLUDE

 

<?php

// Please, note that all changes in this file will be lost

// after reconfiguring application by Plesk

define('HTTP_SERVER', 'http://smokymtnmall.com');

define('HTTP_CATALOG_SERVER', 'http://smokymtnmall.com');

define('HTTPS_CATALOG_SERVER', 'http://smokymtnmall.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', 'D:/vhosts/smokymtnmall.com/httpdocs');

define('DIR_WS_ADMIN', '/oscommerce/admin/');

define('DIR_FS_ADMIN', 'D:/vhosts/smokymtnmall.com/httpdocs/oscommerce/admin');

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

define('DIR_FS_CATALOG', 'D:/vhosts/smokymtnmall.com/httpdocs/oscommerce/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

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

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

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

 

define('DB_SERVER', 'localhost:deleted');

define('DB_SERVER_USERNAME', 'deleted');

define('DB_SERVER_PASSWORD', 'deleted');

define('DB_DATABASE', 'mysqldeleted');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Link to comment
Share on other sites

I don't see anything wrong with it, I accessed the products, you may want to try clearing your browsers cache and closing all browser windows and reopen again.

 

 

Please try adding it to your cart....it doesnt add to cart. that is the problem.

Link to comment
Share on other sites

Please try adding it to your cart....it doesnt add to cart. that is the problem.

 

it may have somthing to do with the warning message at the bottom of the page.

try creating a php.ini file and putting it inside the giftshop folder and add either the line...

session.bug_compat_42 = 0;

or

session.bug_compat_warn = 0;

 

i would also throw in the line...

register_globals = on;

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...