Post by S.M.T.F » Sun Apr 14, 2019 10:03 pm

Hello everyones
Recently i bought a SSL from my host and i search for how to enable it.
finally i could enable it but i have a little proble
this Problem
An image with an insecure url of "http://mywebsite.com/image/catalog/AjaxLoader.gif" was loaded on line: 43
how can i find where is this line ?
to change it to https

this is my code in Line 43

Code: Select all

 </script> </div> </div> </header> <div id="content"> <div class="main-row full-width"> <div class="container"> <div class="row"> <div class="main-col col-sm-12 col-md-12"> <div class="row sub-row"> <div class="sub-col col-sm-12 col-md-12"> <div id="ajax-login-block"> </div> <div id="ajax-loader"> <img src="http://mywebsite.com/image/catalog/AjaxLoader.gif" alt="" /> </div> <div class="ajax-body-login"> <div class="account-login"> <div class="page-title"> <h1>وارد شوید یا ثبت نام نمایید</h1> <a href="javascript:void(0);" class="a-close-frm" onclick="ocajaxlogin.closeForm();"><span>Close</span></a> </div> <div class="ajax-content"> <div class="ajax-container"> <div class="login-form-content"> <h2>مشتری فروشگاه</h2> <p><strong>من مشتری فروشگاه هستم</strong></p> <form action="#" method="post" id="ajax-login-form" enctype="multipart/form-data"> <div class="form-group"> <label class="control-label" for="input-email">آدرس ایمیل</label> <input type="text" name="email" value="" placeholder="آدرس ایمیل" id="input-email" class="form-control" /> </div> <div class="form-group"> <label class="control-label" for="input-password">رمز ورود</label> <input type="password" name="password" value="" placeholder="رمز ورود" id="input-password" class="form-control" /> <a class="forgotten" href="https://mywebsite.com/forgot-password/">فراموشی رمز عبور</a> </div> <div class="action"> <button class="button" type="button" onclick="ocajaxlogin.loginAction(document.getElementById('input-email').value, document.getElementById('input-password').value)"><span>ورود</span></button> <button class="button" type="button" onclick="ocajaxlogin.appendRegisterForm()"><span>ایجاد حساب کاربری</span></button> <img class="ajax-load-img" alt="" src="http://mywebsite.com/image/catalog/AjaxLoader.gif" width="30" height="30" /> </div> </form> </div> </div> <script >
 

New member

Posts

Joined
Tue Feb 06, 2018 4:20 pm

Post by D3MO » Sun Apr 14, 2019 10:19 pm

Makesure in config.php and admin/config.php you set https urls

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by S.M.T.F » Sun Apr 14, 2019 11:06 pm

D3MO wrote:
Sun Apr 14, 2019 10:19 pm
Makesure in config.php and admin/config.php you set https urls
i am sure about that.
just Address of one GIF file have Problem.

New member

Posts

Joined
Tue Feb 06, 2018 4:20 pm

Post by S.M.T.F » Mon Apr 15, 2019 11:25 am

every one can help me on this ?

New member

Posts

Joined
Tue Feb 06, 2018 4:20 pm

Post by cyclops12 » Mon Apr 15, 2019 2:46 pm

Doesnt seem to be in the default files so maybe you have an extension added which has this coded into it

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by D3MO » Mon Apr 15, 2019 3:06 pm

S.M.T.F wrote:
Mon Apr 15, 2019 11:25 am
every one can help me on this ?
Download all modified files (tpl or twig depending on your version) and use something like advanced find and replace to search for that image in tpl files

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by DigitCart » Mon Apr 15, 2019 3:41 pm

Hi
it is not a default theme / extension code, so better to contact your theme / extension developer for this issue.

My Extensions / DigitCart


User avatar
Active Member

Posts

Joined
Thu Jun 22, 2017 5:32 pm


Post by paulfeakins » Mon Apr 15, 2019 6:40 pm

Search your source code.

It sounds like it's a theme so you could download your theme via FTP and then use a text editor to search all files for "http:"

Or if you have SSH access, get to your theme folder then run:

Code: Select all

grep -ril "http:"
That will tell you what file contains the non-SSL code.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom
Who is online

Users browsing this forum: No registered users and 25 guests