Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images/buttons not showing when on SSL mode


gigant

Recommended Posts

Posted

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/');

---

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...