gigant Posted March 10, 2006 Posted March 10, 2006 Any idea on how to fix this? I was initially thinking to redefine "tep_image_button"... Is that right? Where can I configure "tep_image_button"? when I'm on SSL mode image link is: https://s.hosting.com/osc/languages/english...on_continue.gif but it is supposed to be: https://s.hosting.com/@rmywebsite.com/ssl/i...on_continue.gif *where in, "OSC"(in the 1st URL) is my nonSSL folder and "SSL"(in the 2nd URL) is my SSL folder ...by the way, this is meant to be this way(2 sets of "catalog" folder namely "osc"-for nonSSL and "ssl"-for SSL access) because I'm using yahoo server. Any help would be greatly appreciated. Thanks! my SSL configure.php --- define('HTTP_SERVER', 'http://www.mywebsites.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://s.hosting.com/@mywebsite.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mywebsite.com'); define('HTTPS_COOKIE_DOMAIN', 's.hosting.com/@mywebsite.com'); define('HTTP_COOKIE_PATH', '/osc/'); define('HTTPS_COOKIE_PATH', '/ssl/'); define('DIR_WS_HTTP_CATALOG', '/osc/'); define('DIR_WS_HTTPS_CATALOG', '/ssl/'); define('DIR_WS_IMAGES', '/@mywebsite.com/ssl/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_LANGUAGES', '/osc/languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/ssl/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); --- my nonSSL configure.php --- define('HTTP_SERVER', 'http://mywebsite.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://s.hosting.com/@mywebsite.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://mywebsite.com'); define('HTTPS_COOKIE_DOMAIN', 's.hosting.com/@mywebsite.com'); define('HTTP_COOKIE_PATH', '/ssl/'); define('HTTPS_COOKIE_PATH', '/ssl/'); define('DIR_WS_HTTP_CATALOG', '/ssl/'); define('DIR_WS_HTTPS_CATALOG', '/ssl/'); 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_LANGUAGES', 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/ssl/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ---
gigant Posted March 10, 2006 Author Posted March 10, 2006 How do I delete this post(I can't modify it)... sorry but the TITLE should be: images/buttons not showing when "ON" SSL mode
stevel Posted March 10, 2006 Posted March 10, 2006 It would appear that with Yahoo hosting, you can't get it done the right way. As I suggested in a PM to you, either you resort to using https for everything or you duplicate your store files in the SSL and non-SSL areas. If you want to use https for everything, which is really ugly and may scare away customers (as the URL will look very strange to casual shoppers to your store), make HTTP_SERVER and DIR_WS_HTTP_CATALOG match what you now have for the HTTPS versions. There is one mistake in your file, though - DIR_WS_IMAGES should be just 'images/'. I think I know what you tried to do here but it won't work. Oh, and HTTPS_COOKIE_DOMAIN is wrong. It should be just 's.hosting.com'. It doesn't really matter, though, as long as it is different from HTTP_COOKIE_DOMAIN if youy are using shared SSL. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
gigant Posted March 10, 2006 Author Posted March 10, 2006 Hi steve :D Thank you so much for your help. I finally got it to work. You're my hero! ;) Although now I have another question... I would like to install Paypal with IPN. Where do I start, considering that I'm using shared ssl at Yahoo? Any Idea? Have a nice day and God bless you more! :)
stevel Posted March 11, 2006 Posted March 11, 2006 I have no experience with PayPal IPN. I suggest that you find the support topic where it is discussed and start reading. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Recommended Posts
Archived
This topic is now archived and is closed to further replies.