The Easter Sale is on! Join now or renew your subscription with a 25% OFF! Read More

Support Forum

CSS warning on Save Styles

Hi Ivo
Just built a site with Galaxy and have created a custom outline from the default outline. When I save I get the warning on the attached image. It doesn't affect the front end, but thought I would let you know in case it's a bug.
On a different topic (and not a template problem), I built the site on a test url and then moved it to a site with SSL enabled. Took hours to get it to work and was finally forced into a core hack, which I don't like doing.
Found this on the Joomla Issue Tracker and it does work, editing libraries/joomla/uri/uri.php and replacing:
if ((isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off')))

with
if ((isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) != 'off')) ||
(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && !empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && (strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) != 'off')))

This might help others but will need to remember to change it again when Joomla is updated.
Andrew
Attachments:
Responses (0)
Sorry, but you are not allowed to view the replies here.
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!