2hard4u Posted February 21, 2003 Share Posted February 21, 2003 ne one no how to get ride of that pop-up that says: "This page contains secure and non-secure items, do you want to display non-secure items?" ne one no? Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2003 Share Posted February 22, 2003 Your cert needs to match the server name as called in the https url or visa versa. ie: if your ssl cert from thawte or whomever is for domain.com but your ssl server is defined in osc as http://www.domain.com you will get an error. Even if you are using a shared cert .. you can put that url in the ssl setting in config.php ie: http://host.mysharedhost/~mydomain.com/ This will of course mean that your url will change during secure periods. If you don't want that, then you will need to get your own cert. Link to comment Share on other sites More sharing options...
toolcrazy Posted February 22, 2003 Share Posted February 22, 2003 Actualy you need to move the non-secure items to your secure server. And that is usally caused by images. Move your images to your SSL server and the warning will go away. Steve ------------------------- Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2003 Share Posted February 22, 2003 you are 100% correct Big brain fade on my part .. I had the pop up saying that the cert didn't match the domain name .. and even if it was that .. I forgot to use https in my post . My addition about the shared cert was also silly because you obviously have ssl working so you have a good ssl url in configure.php :oops: It has been a long week. If you have any extra images in your pages .. header.php is a good example ... many people put different images in there and call them by their full url http://domain.com/image/blah.gif .. that should either be a proper https path to that image or a relative linke ie: just image/blah.gif thanks for catching that toolcrazy ! Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2003 Share Posted March 17, 2003 Hi guys, Another twist to the nonsecure popup message. I have CPanel which only has a public_html folder. When an SSL is installed there is no need copy files to a separate folder. They are just caled as https:// and work fine. I am still getting this error message. Anyone have any ideas? Link to comment Share on other sites More sharing options...
mugitty Posted March 17, 2003 Share Posted March 17, 2003 You need to be sure that ALL of the images that are called in your secure pages are called with the accepted "tep_image(DIR_WS_IMAGES etc." type of call or they will be seen as non-secure. ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
Guest Posted March 30, 2003 Share Posted March 30, 2003 You need to be sure that ALL of the images that are called in your secure pages are called with the accepted "tep_image(DIR_WS_IMAGES etc." type of call or they will be seen as non-secure. What is the exact format for calling an image from the catalog/images directory for instance? I need afew examples so i can see it on the screen here. 1. A picture with a link tied to it, and 2. just a picture, and 3. picture with specified dimensions I have the first one down: <?php echo tep_image(DIR_WS_IMAGES . 'some_picture.jpg'); ?> But the other two are stumping me Link to comment Share on other sites More sharing options...
meandrew Posted March 31, 2003 Share Posted March 31, 2003 this is now a problem for me too, the pop up displaying that there are both non secure and secure item. How is this problem overcome? All my files reside on the same server so I thought this should not happen,but it's something to do with the paths. Which ones do I need to change please? Andrew Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2003 Share Posted March 31, 2003 I've been having the same problem... Here is what I found with the help BirdBrain... http://www.oscommerce.com/forums/viewtopic.php...ock%2A&start=30 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.