Support Forum

  • Page:
  • 1
  • 2

Http to https template conversion

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi!
I have to convert some sites, that all have the Joomlabamboo template, from http: to https:.
However, the template appears on www.agriquartuccio.it (www.agriquartuccio.it/index.php) all messed up. The hosting provider said that this error is caused because in the template or plugin there are references to links in http and therefore are blocked by the security certificate because deemed unsafe.
Can you help me to fix these http links?
Thanks!
Before https:
Before-https.jpg


After https:
After-https.jpg
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
Last Edit: 3 years 2 weeks ago by mikyilfilosofo.
The administrator has disabled public write access.
Hi

In the global configuration - have you set it to force https?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi!
After I forced https for all the web site (3th option) in global configuration, I've this:

After-forced-https-for-all-website.jpg


...that means:

"This page is not redirecting properly

Firefox has detected that the server is redirecting the request for this page so that it can never be completed.

This problem is often caused by the blockage or by the refusal of cookies."

Cheers
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
Last Edit: 3 years 2 weeks ago by mikyilfilosofo.
The administrator has disabled public write access.
Have you tried forcing https via htaccess?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I have written this at the end of .htaccess:

"RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}"
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
It could be a cache enabled problem?
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
Depends if caching is enabled on the site or server

You would flush the cache on both and I'd even disable till the site is up and running correctly

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi!
I disabled system cache and plugin cache, but nothing is changed.
Can I delete the cache listed in this screenshot?:
cache-for-https.jpg

Thanks!
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
Have you purged the cache?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No, I haven't.
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
So you need to do that
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I've deleted the cache. But the appearence of the site is the same.
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
Right so you have done this?

1. Checked server that any server caching is disabled
2. Site global and plugin caching is disabled
3. Site global config to force SSL sitewide
4. Turned off any css / file optimisation in the template or extension e.g. files are not merged together
5. Changed htaccess
6. Purged caches file on site and server
7. Set up SSL certificate as advised by host and Certificate body?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Okay, I'm checking your instructions
Cheers!
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
If no luck I'll check with the developers to see if there is anything I've not covered

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks!

We'll talk within 12-18 hours (because of the time zone).
Cheers!
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.
Hi!
By adding these commands at index.php (in root and in administrator), the home page layout is ok:
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
	    $_SERVER['HTTPS'] = 'on';

But still I can not remove the yellow triangle on the gray padlock near https in some pages , eg. www.agriquartuccio.it/it/contatti-top.html . Maybe a JBMap problem that uses http : //maps.google... instead of https : //maps.google... But I can't access to it to change.
All pages with Joomla IFrame Wrapper disappeared, but there aren't http link inside of them (eg: www.agriquartuccio.it/it/virtual-tour-2/virtual-tour-camere.html , www.agriquartuccio.it/it/prenotazione.html , etc.)
Cheers
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
Last Edit: 3 years 2 weeks ago by mikyilfilosofo.
The administrator has disabled public write access.
Thanks for the update

With the maps looks like two issues one with secure layer issue and other api key did you create an api key for the map?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
With the iframe

it is loading a non https page if you check the browser console window

Mixed Content: The page at 'www.agriquartuccio.it/it/virtual-tour-2/virtual-tour-camere.html' was loaded over HTTPS, but requested an insecure resource 'www.agriquartuccio.it/Virtual-Tours-miei/output/Camera1.html'. This request has been blocked; the content must be served over HTTPS.

developer.mozilla.org/en-US/docs/Web/Security/Mixed_content/How_to_fix_website_with_mixed_content
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi!
I think not.
If I go in Maps2 module, I have this:

Maps2-module-of-Lifestyle2.jpg


Cheers
  • mikyilfilosofo's Avatar
  • mikyilfilosofo
  • 6 Month Developer
  • 419 posts
  • Karma: 0
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers