I have an issue with the HTTPS header for the ExpressionEngine control panel where the JS is being disabled. It keeps generating error messages where HTTP is being loaded over HTTPS (see below):
The base and site URLs have been updated to cater for HTTPS. Also, the SSL is being forced in the .htaccess file and the themes URL should pick up the protocol using the PHP rule below—
// Declaring site variables $domain = $_SERVER['HTTP_HOST']; $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https://' : 'http://'; $base_url = $protocol . $domain; // Theme URL $config['theme_folder_url'] = $base_url . "/". $themes_folder;
The basic troubleshooting has been covered but not having much success.
Can anyone suggest a way around this please?