xylene2301 Posted November 26, 2006 Posted November 26, 2006 Hello Group, I'm new here and there may be a faq or knowledge base that I've overlooked; if so please excuse... I installed oscommerce using a hosting service wizard. I had changed my website's root path using the host service's control panel so that I could install oscommerce to a folder other than the root. The install was directed to a folder /osc and proceeded without error. I then corrected the website's path back to its original setting. When I bring up the catalog, the pages are unformatted (no css) and no images. The image links have incorrect paths and I assume the path to the css is mangled as well. I'm pretty sure that these problems can be corrected by editing the admin and catalog/include configure.php files but I'm unsure of the configure.php option definitions and the files are not commented (perhaps they should be?). First off, are the configure.php options defined in the oscommerce docs and if so, where? If not, does anyone have any tips or advice? Thanks, Xylene
Barbie Posted November 26, 2006 Posted November 26, 2006 Hello Group, I'm new here and there may be a faq or knowledge base that I've overlooked; if so please excuse... I installed oscommerce using a hosting service wizard. I had changed my website's root path using the host service's control panel so that I could install oscommerce to a folder other than the root. The install was directed to a folder /osc and proceeded without error. I then corrected the website's path back to its original setting. When I bring up the catalog, the pages are unformatted (no css) and no images. The image links have incorrect paths and I assume the path to the css is mangled as well. I'm pretty sure that these problems can be corrected by editing the admin and catalog/include configure.php files but I'm unsure of the configure.php option definitions and the files are not commented (perhaps they should be?). First off, are the configure.php options defined in the oscommerce docs and if so, where? If not, does anyone have any tips or advice? Thanks, Xylene Hello Xylene, There's documentation under Solutions/Documentation and in the forums lots of questions already asked about the config files. Before going on, why don't you put your store directly in the root folder? Could be better for SEO purposes and easier to configure. Just a thought.
Get-Wireless 2 Posted November 26, 2006 Posted November 26, 2006 in configure.php have you got preceeding /'s before the paths? Worth a shot? Also do you a stylesheet.css in your catalog folder? Contributions installed so far Discount Coupon Codes Ultimate SEO Urls Star Product Product Description Header template Modern design Search box Add to favorites Discount Plus All Manufacturers Loginbox Best Lightbox V2 Optional Related Products Plus Many more
xylene2301 Posted November 26, 2006 Author Posted November 26, 2006 Hello Xylene, There's documentation under Solutions/Documentation and in the forums lots of questions already asked about the config files. I see the documentation but I can't find the section that addresses the configure.php files. Before going on, why don't you put your store directly in the root folder? Could be better for SEO purposes and easier to configure. Just a thought. ...and that might be what I want to do but I'm doing this work for a website design company and this is an experiment to see how much flexibility I can offer.
xylene2301 Posted November 26, 2006 Author Posted November 26, 2006 in configure.php have you got preceeding /'s before the paths?Worth a shot? ...not sure what you mean. here's most of the catalog/includes/configure.php file: (I'm particularly curious about the line define('DIR_FS_CATALOG', 'c:\hosting\webhost4life\member\testsite\osc/catalog/'); How can all that \ / be right?) define('HTTP_SERVER', 'http://mcdbuildsgreatsites.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'http://'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'mcdbuildsgreatsites.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); 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', 'c:\hosting\webhost4life\member\testsite\osc/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Also do you a stylesheet.css in your catalog folder? yes.
Get-Wireless 2 Posted November 26, 2006 Posted November 26, 2006 I cant list your images from their folder I get: Directory Listing Denied This Virtual Directory does not allow contents to be listed. Check the permissions if your images folder should be somthing like 745 Contributions installed so far Discount Coupon Codes Ultimate SEO Urls Star Product Product Description Header template Modern design Search box Add to favorites Discount Plus All Manufacturers Loginbox Best Lightbox V2 Optional Related Products Plus Many more
♥Vger Posted November 26, 2006 Posted November 26, 2006 Try this: 'c:/hosting/webhost4life/member/testsite/osc/catalog/'); Be aware that no domain is being used in the above pathway it resolves to a test folder - so any use of your domain in the configure.php files will probably be incorrect. Vger
xylene2301 Posted December 4, 2006 Author Posted December 4, 2006 I'm really having a hard time with this configuration as I don't have either examples or definitions for what's exactly expected in the configure.php files. I'm suprised that, as important as these files files are in the installation process, there's no specific section that covers them in the docs. If I'm wrong and anyone knows exactly where I can find this info or if someone would post their configure.php files (both admin and cataog configure files, with the database info removed), I would be very appreciative.
xylene2301 Posted December 5, 2006 Author Posted December 5, 2006 Dear Xylene, If you'll just look at http://www.oscommerce.com/forums/lofiversion/i...hp/t193738.html I think you'll find the info you need concerning the config.php files. It's true they could be a bit more out in the open, perhaps linked into the installation guide but at least they're available even if they are squirrelled away under tips and tricks ;) Love Always, Xylene
♥Vger Posted December 5, 2006 Posted December 5, 2006 Perhaps it's just me, but I find it a little ironic that you are struggling when the website you are trying to set up is called MCD Builds Great Sites .com If the install had worked correctly you wouldn't need to touch your configure.php files, because they'd be set up correctly. Have you looked at the first few pages of the Quick Install Guide thread? It's pinned to the top of this forum. Vger
xylene2301 Posted December 6, 2006 Author Posted December 6, 2006 Yes Vger... The reason for the difficult install is that it was done via my hosting service's ecommerce wizard. I used some tricks to have the wizard install osc to a folder other than the root folder, which worked, but the wizard wrote the config files incorrectly. X
♥Vger Posted December 6, 2006 Posted December 6, 2006 Delete the current install. They will be using an out of date version of osCommerce anyway. Download the zip file of the latest version from downloads at www.oscommerce.com, unzip on your 'puter and upload to your site. Go to phpMyAdmin and drop all of the tables in your osCommerce database. Then go to http://www.yourdomain.com/install and use the osCommerce installer. Vger
xylene2301 Posted December 6, 2006 Author Posted December 6, 2006 Thanks for your help Vger. I have a few questions for you: Where does my install of oscommerce keep its version info? Does the oscommerce installer ask where its catalog should be installed? (...and then write the config files properly, I assume.) (If yes, then that's definitely the way to go :)) Can multiple instances of oscommerce on a site function properly if the catalogs are in different folders and they have separate databases? mcdbuildsgreatsites.com is just MCD's testsite where we learn before unleashing on actual clients. I'm MCD's programmer and I've built shopping carts of my own but never used or installed a prefab one, so this is a learning process. I gravitated to oscommerce because of the installer on the host service (which I will probably not be using) and the existence of this user forum. Thanks again, X
Recommended Posts
Archived
This topic is now archived and is closed to further replies.