Dj-Viper Posted January 9, 2017 Share Posted January 9, 2017 Hi, I'm trying to get SSL to work correctly in OSC 2.3.4 BS Gold but i'm getting errors. In admin the icon etc images are not shown. all the admin pictures like folder icon's etc are gone. In the front side, when put something in the basket and than register for a account, if it is register or login without accoun or just login, i return afterwards to the index page and the cart is empty. Includes config : define('HTTP_SERVER', 'http://www.fotomeinema.nl'); define('HTTPS_SERVER', 'https://www.fotomeinema.nl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.fotomeinema.nl'); define('HTTPS_COOKIE_DOMAIN', 'https://www.fotomeinema.nl'); define('HTTP_COOKIE_PATH', '/shop/catalog/'); define('HTTPS_COOKIE_PATH', '/shop/catalog/'); define('DIR_WS_HTTP_CATALOG', '/shop/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/shop/catalog/'); define('DIR_WS_IMAGES', 'shopimages/'); 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/'); Admin config : define('HTTP_SERVER', 'http://www.fotomeinema.nl'); define('HTTP_CATALOG_SERVER', 'http://www.fotomeinema.nl'); define('HTTPS_CATALOG_SERVER', 'https://www.fotomeinema.nl'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/root etc/catalog/'); define('DIR_WS_ADMIN', '/shop/catalogxxxxp/'); define('DIR_FS_ADMIN', '/home/vhosts/fotomeinema.nl/httpdocs/shop/catalog/xxxx/'); define('DIR_WS_CATALOG', '/shop/catalog/'); define('DIR_FS_CATALOG', '/root etc/catalog/'); define('DIR_WS_IMAGES', 'shopimages/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'shopimages/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'shopimages/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('HTTPS_SERVER', 'http://www.fotomeinema.nl'); define('ENABLE_SSL', 'false'); define('HTTP_COOKIE_DOMAIN', 'www.fotomeinema.nl'); define('HTTPS_COOKIE_DOMAIN', 'www.fotomeinema.nl'); define('HTTP_COOKIE_PATH', '/shop/catalog/'); define('HTTPS_COOKIE_PATH', '/shop/catalog/'); define('DIR_WS_HTTPS_ADMIN', '/shop/catalog/xxxx/'); Greetings, Anne Link to comment Share on other sites More sharing options...
azpro Posted January 9, 2017 Share Posted January 9, 2017 @@Dj-Viper Hi Anne, In stead of define('HTTP_COOKIE_DOMAIN', 'www.fotomeinema.nl'); define('HTTPS_COOKIE_DOMAIN', 'https://www.fotomeinema.nl'); Try define('HTTP_COOKIE_DOMAIN', fotomeinema.nl'); define('HTTPS_COOKIE_DOMAIN', 'fotomeinema.nl'); Regards! Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 10, 2017 Share Posted January 10, 2017 @@Dj-Viper If the cert will work with the www and that is what you want to use, the shops configure file should be define('HTTP_COOKIE_DOMAIN', '.www.fotomeinema.nl'); define('HTTPS_COOKIE_DOMAIN', '.www.fotomeinema.nl'); And the admin should be define('HTTP_SERVER', 'https://www.fotomeinema.nl'); define('HTTP_CATALOG_SERVER', 'https://www.fotomeinema.nl'); define('HTTPS_CATALOG_SERVER', 'https://www.fotomeinema.nl'); define('ENABLE_SSL_CATALOG', 'true'); Also, the configure file for the admin appears to be the pre-BS type so it is missing some things. I suggest you use the one included with the BS package. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.