Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images loads from HTTPS - is this normal?


Guest

Recommended Posts

Posted

Hi,

 

I made a online store and it is running normal until a few days ago. Now I can't see any images at all. All images are in images directory and when I look properties of those images from IE, I see that they are loading from HTTPS. Also I noticed that in admin console I have notice about SSL "You are protected by a unknown secure SSL connection.". Is that somehow a reason, why I can't see images on my online store?

 

My includes configure.php file

 

define('HTTP_SERVER', 'http://meler.si/osc'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://meler.si/osc'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'meler.si');
 define('HTTPS_COOKIE_DOMAIN', 'meler.si');
 define('HTTP_COOKIE_PATH', '/osc/');
 define('HTTPS_COOKIE_PATH', '/osc/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_ADMIN', 'admin/');
 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/melersi/public_html/osc/');
 //define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


// protected since inside docroot instead of outside to facilitate addon installer
 define('DIR_FS_WORK', '/home/melersi/public_html/osc/admin/_work/');

 

 

and admin/includes/configure.php

 

  define('HTTP_SERVER', 'http://meler.si/osc'); // eg, http://localhost - should not be empty for productive servers


 define('HTTP_CATALOG_SERVER', 'http://meler.si');
//

 define('HTTPS_SERVER', 'https://meler.si/osc'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'meler.si');
 define('HTTPS_COOKIE_DOMAIN', 'meler.si');
 define('HTTP_COOKIE_PATH', '/osc/');
 define('HTTPS_COOKIE_PATH', '/osc/');

 // dodatno
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server
 //

 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_ADMIN', '/admin/');

 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 define('DIR_FS_CATALOG', '/home/melersi/public_html/osc/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
// protected since inside docroot instead of outside to facilitate addon installer
 define('DIR_FS_WORK', '/home/melersi/public_html/osc/admin/_work/');
 define('DIR_FS_DOCUMENT_ROOT', '/home/melersi/public_html/osc');
 define('DIR_FS_BACKUP','/home/melersi/public_html/osc/admin/backups/');

 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

 

Any help please

 

 

Denis

Archived

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

×
×
  • Create New...