Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL - No stylesheet, no pic's


Aplrapid

Recommended Posts

Posted

Hi everybody,

 

Need info on following problem: Activate SSL support for catalog and running fine, means if you switch to checkout.php server switches to SSL based page, but

 

-processing run's correct

- but I lost graphical display, no boxes, no pictures,no stylesheet... also it is installed in the secure path and if I look on properties of a missing pic it has the address of the non secure path, and I think this link would be suppressed by secure server, he must!

 

Any idea

Rainer

Posted

Hi,

 

subject could be closed, I solved it with a addional var in configure.php named dir_ws_sslcatalog where i could define a extra path

 

bye

aplrapid

  • 2 weeks later...
Posted

Can you explain a bit further on how to get this to work? I have the same problem and I'm kind of new to the OS Commerce package. Thanks in advance!

Posted

Hi Treibling,

 

I define a new variable for the case of testing, because if it runs not correct you may set the value of SSL to false in configure.php and you have no problem that you changed the original statement.

 

Therefore a little shortcut how I solved it

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.beatrice-cosmetic.com'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://ssl2.inode.at/beatrice-cosmetic.com'); // eg, https://localhost - should not be NULL for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/shop/catalog/'); // absolute path required

define('DIR_WS_SSLCATALOG', 'https://ssl2.inode.at/beatrice-cosmetic.com/shop/catalog/'); // absolute path required

 

in the last line you could change the value, but remember to copy this version of your configure.php from /catalog/include/ also to your SSL space /catalog/include, cause you switch between pathes if you have SSL activated.

 

Is this clear to you? If not send me your link of your current construction, I take a look on it :)

 

Aplrapid

Archived

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

×
×
  • Create New...