wiki:Drupal Gotchas CSS not displaying over HTTPS

Version 1 (modified by Richard Bramley, 9 years ago) ( diff )

--

Drupal Gotchas CSS not displaying over HTTPS

Tags: Drupal Gotchas_Category

Problem

When viewing a Drupal site over HTTPS, the CSS and JavaScript do not load

Solution

  1. Edit the file {Drupal Home}/sites/default/settings.php
  2. Either create or amend the setting $base_url to be the HTTPS base URL for the site. For example https://www.example.com

Error: Macro BackLinks(None) failed
'Environment' object has no attribute 'get_db_cnx'

Note: See TracWiki for help on using the wiki.