nick8701 Posted January 17, 2009 Share Posted January 17, 2009 Hi i dont know whether theres a problem with the coding or the ssl certificate. I bought an QuickSSL cert from geotrust, installed it on my website. and when i go to click order on the whmcs page it says this: "Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party. Are you sure you want to continue sending this information?" Any guys got any tips on how to improve on this situation as my other main pages dont have that problem, just the whmcs pages???? any help would be greatly appreciated Thanks in advance! 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted January 17, 2009 Share Posted January 17, 2009 What System URLS do you have in Configuration > General Settings? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 17, 2009 Share Posted January 17, 2009 Can you link the page with the issue? If you've "hard coded" any of the image links or something, that would produce that sort of error as well. 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 17, 2009 Author Share Posted January 17, 2009 Im currently having a problem with my images in my site as i get an error message saying: this page contains both secure and non-secure items,a nd when i click on no secure items it doesnt show my images so the problems is with the images and i need to change from http to https, but i images are like: (images/bgr_down.jpg) so how do i change that to https, need help thanks. I need to know where i change the images to http and reference it to https, when i cant find any http ones, so confused??? 0 Quote Link to comment Share on other sites More sharing options...
goddess_dix Posted January 17, 2009 Share Posted January 17, 2009 i answered this on another thread. it's less confusing if you post your questions in one place instead of crosspost. 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 17, 2009 Author Share Posted January 17, 2009 sorry about that my mistake. i kept getting new problems so i posted some here. ill check the one that u answered. All the images are in /images/myimage.gif and not http://mydomain/images/myimage.gif???? i still get the error??? which files do i need to change??? for the images to be secure??/ 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 18, 2009 Share Posted January 18, 2009 If you post your url... we may be able to see where the error is coming from and then point you in the right direction. 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 18, 2009 Author Share Posted January 18, 2009 (edited) Bear helped me fix the problem. The problem was the base in the header.tpl. it was <base href="{$systemurl}" /> and i changed it to: <base href="https://domain.com/whmcs/" /> So far i have no errors on internet explorer or firefox. Edited January 18, 2009 by nick8701 spelling 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 18, 2009 Share Posted January 18, 2009 Bear helped me fix the problem. The problem was the base in the header.tpl. it was <base href="{$systemurl}" /> and i changed it to: <base href="https://domain.com/whmcs/" /> So far i have no errors on internet explorer or firefox. If you leave it like that you will end up having problems with SEO where non ssl is needed. base href is only required for knowledgebase, announcements, and downloads. I have changed the default line in mine to this below and have had no problems. Original code: {if $systemurl}<base href="{$systemurl}" />{/if} Modified to: {if $systemurl} {if $smarty.server.PHP_SELF == '/knowledgebase.php' || $smarty.server.PHP_SELF == '/announcements.php' || $smarty.server.PHP_SELF == '/downloads.php'} <base href="{$systemurl}" /> {/if} {/if} If you still get your errors check the WHMCS SSL url is correct in config => General Settings. If you don't have an SSL cert then leave the field blank. 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 18, 2009 Author Share Posted January 18, 2009 Thanks for the tip sparky, Ive added both http in the general settings as well as https in the general settings as i have an ssl. But now my announcements/knowledge base and do on dont work wny more i get error pages when i click on them. I want to implement your suggestion of: {if $systemurl} {if $smarty.server.PHP_SELF == '/knowledgebase.php' || $smarty.server.PHP_SELF == '/announcements.php' || $smarty.server.PHP_SELF == '/downloads.php'} <base href="{$systemurl}" /> {/if} {/if} But i dont know what to put on the bold code??? Instead of smarty.server.PHP what do i put??? 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 18, 2009 Share Posted January 18, 2009 sorry your install is in a directory {if $systemurl} {if $smarty.server.PHP_SELF == '/whmcs/knowledgebase.php' || $smarty.server.PHP_SELF == '/whmcs/announcements.php' || $smarty.server.PHP_SELF == '/whmcs/downloads.php'} <base href="{$systemurl}" /> {/if} {/if} 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 18, 2009 Author Share Posted January 18, 2009 (edited) ok thanks ill try to implement it now, and how do i take the php info bar out of the server status bar???? Do i put the install like this for the header??? {if $systemurl} {if $https://domain.com/ == '/whmcs/knowledgebase.php' || $smarty.server.PHP_SELF == '/whmcs/announcements.php' || $smarty.server.PHP_SELF == '/whmcs/downloads.php'} <base href="{$systemurl}" /> {/if} {/if} ?????? Edited January 18, 2009 by nick8701 spelling 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted January 18, 2009 Share Posted January 18, 2009 What did I just post!! Does it look like that? 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 18, 2009 Author Share Posted January 18, 2009 Hi Sparkey, ive implemented it and it now works. The problem was that i had an extra IF statement on the header- u posted 2 ifs {/if} {/if}, i took one away and then it worked. Also i kept getting an error page when i inserted the https link in whmcs ssl link page. i took that off and kept the http and now it works. Thanks for your help sparky, much appreciated. Nick 0 Quote Link to comment Share on other sites More sharing options...
clbryan26 Posted January 18, 2009 Share Posted January 18, 2009 Oh well! I just commented on your other post! Glad you found a solution to your problem though! The hardest part is getting everything set up; after that hopefully its a cake walk. The only thing is in this industry development never ends and idle hands make for lots of new inventions to get out to market . 0 Quote Link to comment Share on other sites More sharing options...
nick8701 Posted January 18, 2009 Author Share Posted January 18, 2009 thanks mycommon, yea i totally agree setting everything up is such a hassle, you fix one thing and another thing stops working. Like ive just sorted out the ssl problem and now my numbers dont add up to the total, ie. total should be £25, but it shows £44.76. Just one thing after another-lol. Should be worth it in the end i hope 0 Quote Link to comment Share on other sites More sharing options...
biovolt Posted March 24, 2010 Share Posted March 24, 2010 is there not a https version of $systemurl ?? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.