mesaboogie Posted December 20, 2009 Share Posted December 20, 2009 I really hope someone can help me out ... I installed oscommerce without SSL ... I have now put SSL on the site ... but, I am having a problem with the images on the site ... they are all showing but the little lock down in the bottom righthand corner in Firefox shows a red exclamation mark on it .. when I view the site in IE and click to show the nonsecure items the whole template disappears along with all the products that have been uploaded ... all I have is the text ... I have been ripping my hair out for the past 8 hours trying to figure out how to fix this ... I have searched everywhere online trying to figure out how to get the product images and the template images to be secure, so that there isn't a red exclamation mark on the little ssl lock ... can some PLEASE HELP ME ... I'm at the end of my wits with this ... here is a link to the site ..... atlanticskyaviary.com/store in FIREFOX if you click on log in or anything that should be a secure page the little lock appears with the RED X ... if you access the site using IE you will get the little window that says the page isn't secure ... please click to NOT show the secure items and you will see that there are no images on the page whatsoever ... I would really appreciate any help with this .... THANK YOU SO VERY MUCH !!!!!!!!!! Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2009 Share Posted December 20, 2009 Probably your configure.php files. Read this thread to see if it helps. The SSL In OsCommerce Guide For The Innocent Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 thankyou ... I read the link you posted and to the best of my knowledge the 2 config files are correct .... the problem is the folder where the images are located ... I can post my config files if you want, but like I said I believe they are fine ... I'm wondering if its something in the application_top file that is giving me trouble Link to comment Share on other sites More sharing options...
BryceJr Posted December 20, 2009 Share Posted December 20, 2009 Post your configure.php files. Do NOT include the database portion. Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 hi there ... I did some searching on this forum and managed to get it to work by changing a line in the application_top.php ... not sure if this is okay, but it is working ... I am also including my configure files just to be sure everything is okay ... the oscommerce installation is in a folder on the server called "store" ... thank you so much for your help I changed this // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; to this // set the type of request (secure or not) $request_type = ( $_SERVER['SERVER_PORT'] = '443' ) ? 'SSL' : 'NONSSL'; admin/includes/configure.php <?php define('HTTP_SERVER', 'http://atlanticskyaviary.com'); define('HTTP_CATALOG_SERVER', 'http://atlanticskyaviary.com'); define('HTTPS_CATALOG_SERVER', 'https://atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/mnt/w0807/d21/s34/b03116cf/www/atlanticskyaviary.com/store/'); define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_FS_ADMIN', '/mnt/w0807/d21/s34/b03116cf/www/atlanticskyaviary.com/store/admin/'); define('DIR_WS_CATALOG', '/store/'); define('DIR_FS_CATALOG', '/mnt/w0807/d21/s34/b03116cf/www/atlanticskyaviary.com/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); 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 . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); includes/configure.php <?php define('HTTP_SERVER', 'http://atlanticskyaviary.com'); define('HTTPS_SERVER', 'https://atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com'); define('ENABLE_SSL', TRUE); define('HTTP_COOKIE_DOMAIN', 'atlanticskyaviary.com/store'); define('HTTPS_COOKIE_DOMAIN', 'atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com/store'); define('HTTP_COOKIE_PATH', '/atlanticskyaviary.com/store/'); define('HTTPS_COOKIE_PATH', '/atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); 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', '/mnt/w0807/d21/s34/b03116cf/www/atlanticskyaviary.com/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
germ Posted December 20, 2009 Share Posted December 20, 2009 For what it's worth it seems to work OK. I wasn't sure about the cookie settings but I can make an account, click around putting things in the cart and get to the checkout without dumping the cart contents. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 thankyou so very much for checking this for me ... it was so late last night when I finally got it working that I didn't get a chance to set up an account and go through the checkout thing ... what was your concern over the cookie settings, is there something that you feel should be changed, if so, I will gladly change things .... can you please let me know .. thank you ! Link to comment Share on other sites More sharing options...
germ Posted December 20, 2009 Share Posted December 20, 2009 thankyou so very much for checking this for me ... it was so late last night when I finally got it working that I didn't get a chance to set up an account and go through the checkout thing ... what was your concern over the cookie settings, is there something that you feel should be changed, if so, I will gladly change things .... can you please let me know .. thank you ! Let's just say that if I was setting up the shop what you have for the cookie settings aren't what I would have started with. But I'm not correct all the time (far from it). I say if it works, run with it! It's pretty hard to argue with success. :thumbsup: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 thanks again .... I really appreciate your help ... I think the only thing I might have changed in the cookie settings was putting /store, since that is the folder where the catalog is ... for some reason I can't find the original files without the changes ... I just noticed that I never put /store in on one of the lines, should that be changed, or should I get rid of the /store on all the lines ... here is the part of the configure file with the cookie settings ...can you PLEASE tell me what you would change ... what would the cookie settings be that you would use ...thank you define('HTTP_COOKIE_DOMAIN', 'atlanticskyaviary.com'); define('HTTPS_COOKIE_DOMAIN', 'atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com/store'); define('HTTP_COOKIE_PATH', '/atlanticskyaviary.com/store/'); define('HTTPS_COOKIE_PATH', '/atlanticskyaviary1.sslpowered.com/atlanticskyaviary.com/store/'); Link to comment Share on other sites More sharing options...
germ Posted December 20, 2009 Share Posted December 20, 2009 If it works, don't muck with it. You have no idea how hard it can be to get shared SSL and osC to "play nice together" sometimes. :-" If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 no kidding ...I am waiting to see if everything works as it should ... the person that this is for is not receiving an email saying that an order was placed .. what could the problem be ... can you help me figure this out ... also, could you please go through the catalog and pretend you are buying something and go right through to the very end and purchase something just to make sure everything is okay ... thanks again Link to comment Share on other sites More sharing options...
germ Posted December 20, 2009 Share Posted December 20, 2009 There are hundreds (if not thousands) of posts dealing with the "no email issue". I've never looked at them closely, but they do exist if you look for them. And no, I'm not going to order anything. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
mesaboogie Posted December 20, 2009 Author Share Posted December 20, 2009 no problem ... I am reading through the other posts relating to the email problem ... thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.