Guest Posted September 11, 2008 Posted September 11, 2008 Please copy & paste both your configure.php files so I can see what I am doing wrong. Obviously put bogus info in there to keep your stuff private, but I am going nuts trying to figure out what my problem is. My webhost automatically installed oscommerce for me into a database I created, but it put everything in their default location. I want my store to be located at http://www.mysite.com....not http://www.mysite.com/catalog/, so I removed all traces of /catalog/ in the configure files. It did not work. I've attempted http://www.mysite.com, http://www.mysite.com/, /, ../ - none work. All my links and images are broken because they are attempting to reach mysite.com/catalog/. I copied and pasted everything from the catalog directory into my root folder and then deleted the catalog folder. I am clueless. Other than this stupid problem I'm not experiencing any other error messages. So if someone who successfully has their store running from http://www.yoursite.com would kindly copy/paste your configure.php files for me I would greatly appreciate it so I can compare notes. Thank you. ;)
FIMBLE Posted September 11, 2008 Posted September 11, 2008 Hi Tara Here is the includes file <?php define('HTTP_SERVER', 'http://www.xxxxxxxxxxx.com'); define('HTTPS_SERVER', 'https://www.xxxxxxxxxxxx.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'http://www.xxxxxxxxxxxxx.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.xxxxxxxxxx.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/xxxxxxxx/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
FIMBLE Posted September 11, 2008 Posted September 11, 2008 Here is the includes / admin <?php define('HTTP_SERVER', 'http://www.xxxxxxxxxx.com'); define('HTTP_CATALOG_SERVER', 'http://www.xxxxxxxxxxxx.com'); define('HTTPS_CATALOG_SERVER', 'https://www.xxxxxxxxxxxx.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/xxxxxx/public_html/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/home/xxxxxxx/public_html/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/xxxxxx/public_html/'); 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/'); Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
germ Posted September 11, 2008 Posted September 11, 2008 Two reasons why it may still be trying to go to /catalog/. First, go in your Admin and set "Use Cache" to false. Save it. If that doesn't help, look for this file: /includes/local/configure.php If this file is present (it may not be, and that's OK) be sure the settings in it are correct. osC will use settings from this file if present. ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted September 12, 2008 Posted September 12, 2008 THANK YOU BOTH, it worked!!! Now I can be happy :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.