Jump to content

Recommended Posts

Posted

Hello

We have inherited a Processwire site using version 2.2.3 and have added an SSL certificate.

After adding the certificate we get the error:

"too many redirects"

We have tried editing the htaccess file as advised in some posts but are still having an issue.

Any help appreciated.

Thanks

David

Posted

Hello

Thanks very much for your reply and help.

We are new to process wire but as far as I can see all the pages are using the basic template and setting the urls for this template in it's settings to https (ssl encrypted) has helped. Thank you.

We can now view the site but two of the pages have lost there styling.

We have tested the site and its ssl (why no padlock) and get the errors below?

Can anyone advise how er would go about fixing these errors please? We are unsure how or where to update the urls mentioned.

Many thanks

David

 
 
Hard Failure
 
A style-sheet with an insecure url of "http://www.reallawsolicitors.com/site/modules/Minify/min/b=site/templates/styles&f=rls.css,jquery-ui-1.7.3.custom.css,ui.selectmenu.css,jplayer.blue.monday.css" was loaded on line: 11 of https://www.reallawsolicitors.com/.
This URL will need to be updated to use a secure URL for your padlock to return.

 
 
Hard Failure
 
A script with an insecure url of "http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" was loaded on line: 12 of https://www.reallawsolicitors.com/.
This URL will need to be updated to use a secure URL for your padlock to return.

 
 
Hard Failure
 
A script with an insecure url of "http://www.reallawsolicitors.com/site/modules/Minify/min/b=site/templates/scripts&f=jquery-ui.min.js,ui.selectmenu.js,jquery.jplayer.min.js,cufon-yui.js,Breuer_Text_400.font.js,general.js" was loaded on line: 13 of https://www.reallawsolicitors.com/.
This URL will need to be updated to use a secure URL for your padlock to return.

 
 
Soft Failure
 
An image with an insecure url of "http://www.reallawsolicitors.com/site/templates/images/contact-details.png" was loaded on line: 28 of https://www.reallawsolicitors.com/.
This URL will need to be updated to use a secure URL for your padlock to return.
Posted

Please have a look at your used page template via (S)FTP (possible location: /site/templates/basic-page.php) and find these two lines:

<base href="http://www.reallawsolicitors.com/" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>

Try to update them as followed - changing http to https:

<base href="https://www.reallawsolicitors.com/" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>

As far as I can see right now this should fix your issues.

Posted

Hello 

Thanks very much for your quick reply and help. Much appreciated.

I have located the basic-page.php in the location suggested.

For some reason it only contains the code below:

Thanks again for your help.

<?php 

/**
 * Page template
 *
 */

include("./head.inc"); 

echo $page->body;

include("./foot.inc"); 

Posted

You're welcome.

That looks fine. At least it tells us where to look now.

Look for the head.inc file now and check if the two lines mentioned above will be in there and change them.

Posted

Hello

Thanks very much for taking the time to help.

That has made all pages secure now except one which returns the error below.

Thanks

David

Parse Error syntax error, unexpected '<' (line 14 of /home/sites/reallawsolicitors.com/public_html/site/templates/basic-page.php) 

This error message was shown because you are logged in as a Superuser. Error has been logged.

Posted

Glad to hear that but there is more to do.

You want to take care of your page https://www.reallawsolicitors.com/directions/ as the map doesn't load and the embedded script doesn't exist anymore.

<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=5"></script>

I don't know if you tested your contact form and request callback widget but you definitely should do that.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...