Closed (outdated)
Project:
Secure Pages
Version:
6.x-1.9
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2012 at 20:33 UTC
Updated:
26 Nov 2024 at 10:26 UTC
Jump to comment: Most recent
Secure pages seems to be working properly, however on it's initial redirect (the first time it goes from http:// to https://) the theme completely breaks. it seems that no stylesheets are loaded. If you then reload the page or go to another secure page, the theme loads properly.
I'm wondering if a cause may be that we're using Varnish server side caching...Anyone seen this?
Comments
Comment #1
Rob_Feature commentedOops, changing to the proper version where I'm seeing this bug...
Comment #2
babusaheb.vikas commentedPut it in your setting.php
if (isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on') {
$protocol = 'https';
} else {
$protocol = 'http';
}
$base_url = $protocol . "://" . "example.com" ;
I hope your problem will solve.
Comment #3
astonvictor commentedI'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks