Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL working but Images not found?


JohnnyVegas

Recommended Posts

I got my SSL working but once the site goes into SSL all images and graphics are not found.

 

 

Ok I found the issue but don't know how to solve it.

 

My SSL Shared address is:

https://secure26.vosn.net/~xteammod

 

The images are linking to:

https://secure26.vosn.net/Store/images/dvd/speed_2.gif

 

It's missing the "~xteammod"

 

There is no HTTPS Image spacif require in teh configuration.php files.

 

How can I fix this?

Link to comment
Share on other sites

I looked at your site and I think you have made several errors in your configure.php.? Post the first 25 lines - up through DIR_WS_IMAGES.

 

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://xteammods.com');
define('HTTPS_SERVER', 'https://secure26.vosn.net/~xteammod');
?define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'http://xteammods.com');
define('HTTPS_COOKIE_DOMAIN', 'https://secure26.vosn.net/~xteammod');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', 'https://secure26.vosn.net/~xteammod/');
define('DIR_WS_HTTP_CATALOG', '/Store/');
define('DIR_WS_HTTPS_CATALOG', '/Store/');
define('DIR_WS_IMAGES', '/Store/images/');

 

 

I do have it to False untill I resolve this..

 

BTW

Link to comment
Share on other sites

Try this:

 

define('HTTP_SERVER', 'http://xteammods.com');
define('HTTPS_SERVER', 'https://secure26.vosn.net/~xteammod);
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'xteammods.com');
define('HTTPS_COOKIE_DOMAIN', 'secure26.vosn.net');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/Store/');
define('DIR_WS_HTTPS_CATALOG', '/Store/');
define('DIR_WS_IMAGES', 'images/');

 

Your DIR_WS_IMAGES was the real culprit, but you had other errors as well.

Link to comment
Share on other sites

Try this:

 

define('HTTP_SERVER', 'http://xteammods.com');
define('HTTPS_SERVER', 'https://secure26.vosn.net/~xteammod);
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'xteammods.com');
define('HTTPS_COOKIE_DOMAIN', 'secure26.vosn.net');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/Store/');
define('DIR_WS_HTTPS_CATALOG', '/Store/');
define('DIR_WS_IMAGES', 'images/');

 

Your DIR_WS_IMAGES was the real culprit, but you had other errors as well.

 

 

Still the same.

 

:(

Link to comment
Share on other sites

Unless you turn on SSL mode I can't look to see what the problem might be. But I know some hosts require that content to be accessed by SSL has to be uploaded to a separate location. Is yours one of those?

Link to comment
Share on other sites

also, if you are using this:

define('HTTP_SERVER', 'http://xteammods.com');

this needs to be:

define('HTTP_COOKIE_DOMAIN', '.xteammods.com');

Link to comment
Share on other sites

With the leading dot? I don't use that on my sites and it works ok. The workings of the cookies is somewhat opaque to me, so please enlighten me if there's an aspect I don't understand. (In particular, I'm puzzled as to why I can't seem to get a cookie set on the SSL side of things no matter what I put in HTTPS_COOKIE_DOMAIN, using shared SSL.)

Link to comment
Share on other sites

Still the same here.

 

I can't put it in SSL for you since the store is live right now taking orders.

 

All I do know is all the graphics links are missing "~xteammod".

 

No, my SSL is not like that. SSL is the same directory

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...