#### Add the following part of code to the file:
####:<pre>} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</pre>
####:below this one:
####:<pre>} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</pre>
#### Save the file.
#### Try to enable the secure connection options.
Like This:
Add the following part of code to the file:
<pre>} elseif ($_SERVER['SERVER_PORT']=='443') {
define('HTTPS', true);</pre>
below this one:
<pre>} elseif (isset($_SERVER['HTTP_X_FORWARDED_SERVER']) && ($_SERVER['HTTP_X_FORWARDED_SERVER']=='secure')) {
define('HTTPS', true);</pre>
Save the file.
Try to enable the secure connection options.