Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Problem


mnmoda

Recommended Posts

Posted

After searching the forums for 2 hours and searching the wiki documentation. I have yet to figure out how to get rid of this problem. When accessing the site through non-secure, everything is fine, but accessing through secure page non of the images will load, the html/php will load fine but not the images. I have yet to find a secure/ssl/anything folder to place the images in so they would work.I am about ready to kick the keyboard after trying to fix this. Here are the links:

 

Http://mnmoda.com/shopping/

https://secure.localserver.us/~mnmoda/shopping/

Posted

hiya,

I would hazard a guess that your catalog/configure.php is set up incorrectly,

if you would like to post it here [ xxx out all sensitive parts ] & we can have a look and help you further.

regards Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

also if your ssl site is another location, you will need to copy the images, and whatever else is needed to the ssl folder

Posted

No, my hosting company uses the same folders for the secured and nonsecured

 

But here is my configure.php

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://mnmoda.com/'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://secure.localserver.us/~mnmoda/'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://www.mnmoda.com');
 define('HTTPS_COOKIE_DOMAIN', 'https://secure.localserver.us/~mnmoda/');
 define('HTTP_COOKIE_PATH', '/shopping/');
 define('HTTPS_COOKIE_PATH', '/shopping/');
 define('DIR_WS_HTTP_CATALOG', 'shopping/');
 define('DIR_WS_HTTPS_CATALOG', 'shopping/');
 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', '/home/mnmoda/public_html/shopping/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL for productive servers
 define('DB_SERVER_USERNAME', 'XXXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXXXX');
 define('DB_DATABASE', 'XXXXXXXX);
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

// STS: ADD: Define Simple Template System files
 define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php');
 define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); 
 define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php');
 define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/');
 define('STS_DEFAULT_TEMPLATE', DIR_WS_INCLUDES . 'sts_template.html'); 
 define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php');
 define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php');
// STS: EOADD
?>

Posted

LOL you beat me to that post, I was just gonna say that and I contacted my hosting company about it and just waiting for a reply.

Posted

Dyland,

 

In your HTML page, try removing all hard coded URL's.

 

The AREA MAPs seem to be pointing to "http://???????.com/aaaa/xxxx.jpg"

 

Is it possible to change this to "/aaaa/xxxx.jpg"

 

Maybe this wont solve your problem, but on many occasion it has happened to me that when I did the above mentioned, the images show ok and I don't see those unsecured PopUp message box's.

 

It could be something else altogether. Just keep on digging.

 

Later, Izzy.

Posted

Its not my problem - thankfully.

 

You could try creating a standard html page with the image in it and see if that works on the secure server. If its does it might be the image map problem IzzySoft suggested.

 

Dylan

Archived

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

×
×
  • Create New...