Guest Posted January 11, 2005 Share Posted January 11, 2005 Thanks to some help, I was able to get the Admin panel to appear on my website via "http://www.XXXXX.XXX/catalog/admin" None of the admin panel links work though - I assumed that once the admin panel came up I would be able to click those and create my shopping cart in that manner.....or do I have to edit each individual file via wordpad to get this running? I'm learning as I go here - I have some html knowledge, we currently have a website for the store that is just an information/idea website with working links and such - but have I bitten off more than I can chew with this? I appreciate any advice/help you can offer!! Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2005 Share Posted January 11, 2005 pretty tough to troubleshoot without knowing what else may be going on. when you installed the site, did you change any of the settings during the installation process? where did you copy your files to on your server? did you perhaps move the admin or rename it in anyway? Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2005 Share Posted January 11, 2005 nope - I installed following the Knowledge Base directions......everything went well, but I couldn't access the catalog or admin - got an Unable to access database..... Bobg7 & etepalusip had me edit my config php files: define('HTTP_SERVER', 'http://www.2galsscrappin.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', 'www.2galsscrapping.com'); define('HTTPS_COOKIE_DOMAIN', 'www.2galsscrapping.com'); define('DIR_FS_CATALOG', '/home/www/2galsscrapping.com/catalog/'); (The absolute path to your website) define('DB_SERVER', 'yourhost.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxx_xxxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxx_xxxx'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' I did this this morning, and now I can access the Admin Tool panel with all the categories listed - but when I click on any of the links (like My Store, or Cache, or Catalog) I get a HTTP 404 Page Not Found error...... When I installed the program, I copied all the files to my /public file on our site (same directory all of our files need to be for our site to work). I haven't changed the location of any of the files, the only editing I have done is the config php - I downloaded them, did the editing via WordPad and then uploaded them to the same directory I had taken them from in the first place.....and that's it! Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2005 Share Posted January 11, 2005 can you post your complete configure.php without the db info? Link to comment Share on other sites More sharing options...
arod Posted January 11, 2005 Share Posted January 11, 2005 please note the line: define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers seems to me you did not follow the instructions.... try to set it to the same server as the http. Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2005 Share Posted January 11, 2005 Ok - here's the one: <?php/* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.2galsscrappin.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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', 'xxxx.xxxxxxx.xxx'); define('DB_SERVER_USERNAME', 'xxx.xxxxxx.xxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxx_xxxxxx_xxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> And the other: <?php/* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.2galsscrappin.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', 'www.2galsscrapping.com'); define('HTTPS_COOKIE_DOMAIN', 'www.2galsscrapping.com'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_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', '/home/www/2galsscrapping.com/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', 'xxxx.xxxxx.xxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx.xxxxxxx.xxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxx_xxxxxxx_xxx'); define('USE_PCONNECT', 'true'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Thanks - I really appreciate the help..... Link to comment Share on other sites More sharing options...
♥Vger Posted January 11, 2005 Share Posted January 11, 2005 Okay here's one (note the bold entries) <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.2galsscrappin.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.2galsscrappin.com'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/catalog/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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', 'xxxx.xxxxxxx.xxx'); define('DB_SERVER_USERNAME', 'xxx.xxxxxx.xxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxx_xxxxxx_xxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Vger Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2005 Share Posted January 11, 2005 post your catalog/includes/configure.php file here to get that working also, as it is snafu Link to comment Share on other sites More sharing options...
♥Vger Posted January 11, 2005 Share Posted January 11, 2005 and here's the other (bold entries again) define('HTTP_SERVER', 'http://www.2galsscrappin.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', 'www.2galsscrapping.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', ''); 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', '/home/www/2galsscrapping.com/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', 'xxxx.xxxxx.xxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx.xxxxxxx.xxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxx_xxxxxxx_xxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Vger Link to comment Share on other sites More sharing options...
♥Vger Posted January 11, 2005 Share Posted January 11, 2005 Sorry Mibble - was already working on it. Vger post your catalog/includes/configure.php file here to get that working also, as it is snafu <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
bobg7 Posted January 11, 2005 Share Posted January 11, 2005 Hi 2Gals, I just looked at you site, including admin ( need to get that password protected by the way) and it looks like everything is working now. Just need to remove or rename the install directory and set the permissions on the configuration as instructed in the setup instructions and let the fun begin. Congrats and good luck, Bob G. :thumbsup: Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.