clearasmud Posted March 4, 2006 Posted March 4, 2006 I just installed oscommerce to my pc for testing purposes. I added some categories and products through admin, but they are not adding to my database. Anybody have any ideas as to why this is happening or not happening? Thanks.
clearasmud Posted March 9, 2006 Author Posted March 9, 2006 Anyone have any ideas on this? I have looked at the admin/includes/configure.php file, and everything seems to be okay. Following are the settings: --------------------------------- // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://cip.local'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://pic.local'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // absolute path required 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', '*****'); // 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 persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> ---------------------------- It seems as though it has something to do with some settings. I, of course, can log into phpmyadmin and add data manually, but it is though when I go through admin, the data isn't being sent to the correct place or it can't access the database. I do have the correct database password entered in the configure file. I don't get any error message when I click save in admin -- the data just isn't added to the database. Does anyone have any ideas as to what could be causing this? Is there another file that needs to be modified? By the way, the folder structure on my PC is: -MyWebsite -osc -catalog -admin and documentroot in my httpd file is defined as: C:/MyWebsite/osc/catalog/ Your help is appreciated. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.