Guest Posted November 8, 2010 Share Posted November 8, 2010 Hey guys I am trying to stop the ssl pop up window from displaying when in my shop. Is there a quick fix? is it even I am getting a little confused talking with a few people so I wanted to start a new thread and hoppfully get a better understanding of the issue.THE ISSUE-Customers during checkout first encounter a do you want to view this page in secure or non secure pop up. then when clicked yes view in secure mod another window about how active x is and can be a threat.without disabling the ssl in the back office how or what should i do to get rid of these pop ups from displaying to my customers? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 8, 2010 Share Posted November 8, 2010 Please do not use all caps in the title of posts. Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2010 Share Posted November 8, 2010 lol sure and thanks for your response! Link to comment Share on other sites More sharing options...
tomerg3 Posted November 9, 2010 Share Posted November 9, 2010 It sounds like you are loading images directly from http (and not https) which will show an error.It's usually caused by 3rd party modules or hard coded changes. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 I figured out what is causing it and it is a 3rd party module called addheader what can i do to keep the module and still use it with out the issue happenning any ideas? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 9, 2010 Share Posted November 9, 2010 make sure all the images are loading with https when it's enabled.you can look at other modules to see how it's done right (I believe block advertisement is doing it properly) Link to comment Share on other sites More sharing options...
jhnstcks Posted November 9, 2010 Share Posted November 9, 2010 Its not only images but also any scripts that have to be called by httpsIf you copy and paste the contents of the tpl file here we can have a look. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 There is also a php file witch has to do with the module it selfThis is the only code in the addheader .tpl file. ]<!-- MODULE AddHeader --> {$addheader_code} <!-- /MODULE AddHeader --> This module calls on a html file that has images and a navigation bar. the navbar script and image is below. <!-- MODULE AddHeader --> <title>Welcome To The Design Shop!</title> <style type="text/css"> <!-- body { background-image:url("../../../TJG-DESIGNS/images/Background/BGB2.jpg"); background-position:50% 0; background-repeat:repeat-x; } body,td,th { color: #000000; } --> </style> [removed] <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];[spam-filter] } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent;.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d;.all) x=d.all[n]; for (i=0;!x&&i; for(i=0;!x&&d;.layers&&i; if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_nbGroup(event, grpName) { //v6.0 var i,img,nbArr,args=MM_nbGroup.arguments; if (event == "init" && args.length > 2) { if ((img = MM_findObj(args[2])) != null && !img.MM_init) { img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src; if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array(); nbArr[nbArr.length] = img; for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = args[i+1]; nbArr[nbArr.length] = img; } } } else if (event == "over") { document.MM_nbOver = nbArr = new Array(); for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up); nbArr[nbArr.length] = img; } } else if (event == "out" ) { for (i=0; i < document.MM_nbOver.length; i++) { img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; } } else if (event == "down") { nbArr = document[grpName]; if (nbArr) for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; } document[grpName] = nbArr = new Array(); for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) { if (!img.MM_up) img.MM_up = img.src; img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up; nbArr[nbArr.length] = img; } } } //--> [removed] The only other thing that is in this file is metadata information. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 ok, i added the full path the the image in the header section and the second pop up is not there any more! Thats the one that said something about active x beware!The only pop up that is left is this one what shouold i do to not have this display? Link to comment Share on other sites More sharing options...
jhnstcks Posted November 9, 2010 Share Posted November 9, 2010 You are trying to display an image in the footer Apart from the fact that the url has been entered incorrectly, it is also not setup for a secure site.Why are you adding meta data to the addheader module when the meta data is already included in the page from Prestashop, I would have thought it is confusing the spiders trying to crawl your site.You have this <title>Contact us - TJG-Designs</title> <meta name="description" content="Use our form to contact us" /> <meta name="keywords" content="contact, form, e-mail, tjg, tjg-designs" /> and also this for the contact page <meta name="TJG-DESIGNS" content="www.tjg-designs.com"> <meta name="keywords" content="tjg, tjg-design, tjg-designs, tommys art, tommy,mass, design, massdesigner, massdesign, webshop, artwork, art, printns, canvas, paintings, weeb design, tjg, tjg-designs"> <meta name="description" content="Welcome to the TJG-Designs Art & Web Design Web Shop"> <title>Welcome To The Design Shop!</title> Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 Well first the addheader module was created by someone else and they said it was for extra metadata information I also needed it to add an image to make my shop look like all my other web pages the addheader module adds extra room to the top of the shops pages.the second part is i am sure your right and it is confusing for spiders I'll change the section to https and make the metadata info consistant. this part is also another module "piwik" is a separtae stats module I added but didn't change anything in the code (I didn't notice it till you said something) I fix it and see what happens.Also for the addheader part would it be better if i removed the metadata info in the addheader page left everything else like image, nav bar.? Or should i try and do what i suggested and just make it the same info on both addheader html page and in the prestashop metadata section? Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 This is what i see the first half is https and the second is http. I don't know where to change this and get rid of the second http section. I looked in the piwik module folder and in the various links module folder I can't find the second http to remove? "https://http://[color=orange][b]SPAM[/b][/color]/PiWik/piwik" : "http://http://[color=orange][b]SPAM[/b][/color]/PiWik/piwik"); Going to fix the metadata info now Link to comment Share on other sites More sharing options...
jhnstcks Posted November 9, 2010 Share Posted November 9, 2010 Bubba is this your site or are you helping someone else? The module creation guide that is on there, is this your own work?You can't change the meta data to be the same as the Prestashop data as prestashop changes the meta data for each page, whereas the addheader module is the same for every page. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 Ok, I got rid of the extra http in the piwik section witch by the way was in the piwik module set up. Then I removed the metadata section in the addheader file html page so now the only metadata info for the shop is comming from the metadata input section under preferances.I still get that warning box as soon as the product is added and the customer goes to the shopping cart. If you select yes on the warning box the background image disapers. So, i added the s in https to the addheader image in the css section for that page. Now what happens is it will go the extra step befor the warning pops up before the visitor would add the product to cart go to cart and a pop up would open now that part doesn't happen but when the user is on the login page it opens. So it got pushed back a little I feel like i am on the right track! Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 That guide is something i wrote a while back ,but the example of the code i didn't write, to be honest it's not that good of a guide because i am still learnning about modules. I have sucssesfuly created a few as you can see but I have learned a few things since i wrote the guide. I sould probably take it down and write a better one in the future know that i have a better understanding about modules. I know i can do better then that guide and as a merchant who cares about long term visitors and customers I should write a new one sometime. I am a very humble person who can admit I don't know everything about modules. Thanks for your concern!The issue- The warning box still keeps poping up? Is it possible to stop this all together???????? And Keep the https enabledI have fixed the extra http prefix and added a https to the image in the add header module.removed the metadata information from header.The image in the footer was added by the piwik module -- should i remove it? Transplant it some place else?What else am i missing? Link to comment Share on other sites More sharing options...
jhnstcks Posted November 9, 2010 Share Posted November 9, 2010 Try disabling that piwki module and see if that stops the secure warning. The only way to stop the pop up is to make sure all your data is secure when using https pages. Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2010 Share Posted November 9, 2010 I figured it out before i saw this message, I was using a free module that adds a fastlane checkout to the log in page. I disabled it and i didn't see the pop up any more! Thanks for the help figuring this out and helping me clean up some other messes (metadata)&(https) as it was a pain in the butt!Thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now