newbieman Posted March 5, 2007 Posted March 5, 2007 Testsite is located in a sub-domain called www.ecomm.testsite.com Physical server path is: /var/www/ecomm/ What works? 1. Website appears 2. Database works... and I can add products to the shopping cart Current issues: 1. Catalog images do not appear (the catalog index pictures are also missing) 2. I see a message stating, "Warning: The downloadable products directory does not exist: /download/. Downloadable products will not work until this directory is valid." 3. I cannot access the web admin panel when I type in www.ecomm.testsite.com/admin/login.php it immediate resolves into www.ecomm.testsite.com/var/www/ecomm/admin/login.php "The requested URL /var/www/ecomm/admin/login.php was not found on this server." - technically this is its correct absolute path but I get a 404 error (page not found) These problems persist despite everything seeming correct in both configure.php files. I have tried virtually every permutation of path configurations with absolutely no change in the results. :'( Any assistance will be most appreciated. :) ** \includes\configure.php <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.ecomm.testsite.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.ecomm.testsite.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.ecomm.testsite.com'); define('HTTPS_COOKIE_DOMAIN', 'www.ecomm.testsite.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/'); //Added for BTS1.0 define('DIR_WS_TEMPLATES', 'templates/'); define('DIR_WS_CONTENT', DIR_WS_TEMPLATES . 'content/'); define('DIR_WS_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); //End BTS1.0 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/ecomm/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/var/www/ecomm/download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . '/var/www/ecomm/pub/'); // define our database connection define('DB_SERVER', 'localhost.localdomain'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'testsite_com_ecomm'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> ** \admin\includes\configure.php <?php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.ecomm.testsite.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.ecomm.testsite.com'); define('HTTPS_CATALOG_SERVER', ''); define('HTTPS_SERVER', 'https://www.ecomm.testsite.com'); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers define('HTTPS_ADMIN_SERVER', '/'); define('HTTP_COOKIE_DOMAIN', 'www.ecomm.testsite.com'); define('HTTPS_COOKIE_DOMAIN', '/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('ENABLE_SSL', 'false'); // secure webserver for checkout procedure? define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_WS_HTTP_ADMIN', 'admin/'); define('DIR_WS_HTTPS_ADMIN', 'admin/'); define('DIR_FS_DOCUMENT_ROOT', 'var/www/ecomm/admin/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'admin/'); // absolute path required define('DIR_FS_ADMIN', 'var/www/ecomm/admin/'); // absolute path required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', 'var/www/ecomm/'); // 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 . 'var/www/ecomm/includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'var/www/ecomm/images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'var/www/ecomm/includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'var/www/ecomm/backups/'); // Added for Templating define('DIR_FS_CATALOG_MAINPAGE_MODULES', DIR_FS_CATALOG_MODULES . 'mainpage_modules/'); define('DIR_WS_TEMPLATES', DIR_WS_CATALOG . 'templates/'); define('DIR_FS_TEMPLATES', DIR_FS_CATALOG . 'templates/'); // define our database connection define('DB_SERVER', 'localhost.localdomain'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'testsite_com_ecomm'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Thank you for your kind assistance!
newbieman Posted March 5, 2007 Author Posted March 5, 2007 Do I smell or have leprosy or I have been banned or something? Not only are my questions rarely viewed by more than single digits, but I almost never get responses. :-( I guess I will search Google and this site for paid support...
jonquil Posted March 5, 2007 Posted March 5, 2007 You could read through here and post here for expert advice, you think? You've got some path problems. PINNED: Quick Install Guide, For reference http://www.oscommerce.com/forums/index.php?showtopic=162231 jon p.s. 1 hour 45 mins does not patience make. It's all just ones and zeros....
newbieman Posted March 5, 2007 Author Posted March 5, 2007 You could read through here and post here for expert advice, you think? You've got some path problems. PINNED: Quick Install Guide, For reference http://www.oscommerce.com/forums/index.php?showtopic=162231 jon p.s. 1 hour 45 mins does not patience make. >p.s. 1 hour 45 mins does not patience make. Actually, I've been asking the same question for several days now. I've just become a little frustrated. :-] I have also combed through the Quick Install Guide as well as a number of other resources on the Internet. I am at the point now where this is costing me too much in time. I am willing to pay someone to tell me what I'm doing wrong and how to fix it. Thank you for your reply. It is certainly appreciated. BTW, I was being factious with that whole smell and leprosy thing. :-)
newbieman Posted March 6, 2007 Author Posted March 6, 2007 For those of you who are experiencing similar trouble and getting little help... I will keep you posted on my developments. I am going it alone until I figure this out or I find someone (pay or free) who can assist me (not do it for me). BTW, I found an excellent tutorial on the dreaded configure.php files located here: http://www.oscommerce.com/forums/index.php?showtopic=193738 (Thank you Gil_e_n for this!)
newbieman Posted March 6, 2007 Author Posted March 6, 2007 Well folks, I am both embarrassed and pissed! When I discovered no change to my website after making a number changes to the configure.php files that SHOULD have made a noticeable difference (good or bad)... I found the problem! It was both my FTP client and me (for not realizing this earlier)! My configure.php files were 444'd (read only) but when my FTP client ($%&$@) FlashFXP asked if I wish to over-write, I naturally ASSUMED that when I clicked yes, it would ACTUALLY overwrite these files! Since the log error, "[R] 550 configure.php: Permission denied" was rather subtle..... I never noticed it until now. I am not impressed that their is no automatic chmod with Flashfxp! Time to get rid of FlashFXP or take a vacation! BTW, I have successfully moved my oscommerce to another domain. And it wasn't that difficult after all! <_<
Recommended Posts
Archived
This topic is now archived and is closed to further replies.