Guest Posted October 8, 2008 Posted October 8, 2008 I want to pull my freakin' hair out. I don't think this has anything to do with oscommerce since I've installed dozens of carts. I think it has to do with the POS host my client chose. When I click on a category in the admin panel (or various other links, too) I get a 502 Bad Gateway error. And the URL is missing a slash (it goes from site.com/store to site.comstore). Why oh why is this happeneing and how do I fix this. :cry
FIMBLE Posted October 8, 2008 Posted October 8, 2008 Hiya To where do you have your define('DB_SERVER', ''); in your configure.php file pointing? Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted October 11, 2008 Posted October 11, 2008 To where the host has my database: mysql3.loosefoot.com
Guest Posted October 11, 2008 Posted October 11, 2008 Here is my config file (with private info changed!). Do you see any potential problems? define('HTTP_SERVER', 'http://www.site.net\shop'); define('HTTPS_SERVER', 'http://www.site.net\shop'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.site.net\shop'); define('HTTPS_COOKIE_DOMAIN', 'www.site.net\shop'); 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', 'E:/web/public_html/username/public/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'mysql3.loosefoot.com'); define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'dbname'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql');
Guest Posted October 11, 2008 Posted October 11, 2008 I also notice that the images in my admin panel point to: .../includes/languages/english/images/icon.gif The entire store is in a director called "shop" and that is missing from that url. And of course they are x's not images. *sigh*
Guest Posted October 11, 2008 Posted October 11, 2008 When I click on "Tools" and then "Server Info" in admin panel I get the following error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Guest Posted October 12, 2008 Posted October 12, 2008 Maybe 'http://www.site.net\shop' should be 'http://www.site.net/shop'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.