Forums | Mahara Community

Support /
Images disappear with SSL certificate


Juan Ezeiza's profile picture
Posts: 35

01 January 2021, 5:51

Hi,
I'm working with Mahara 19.10. After installing an SSL certificate, images are not shown. When I purge the cache, the images appear, but they disappear again a bit later. Why is it happening? How can it be fixed? Suggestions are welcome.
Thanks in advance.

Robert Lyon's profile picture
Posts: 757

11 January 2021, 9:19

Hi Juan,

The first thing I'd check is if your Mahara has the 'wwwroot' set to http instead of https

- try looking in the config.php file to see if the $cgf->wwwroot is set and set to http

- try looking in the database and see if the config table has the field 'wwwroot' set and if it's set to http rather than https

If either (or both) of these are wrong they will need to be updated

Cheers

Robert

Juan Ezeiza's profile picture
Posts: 35

12 January 2021, 20:35

Hi Robert,
Thank you for your answer.
The $cgf->wwwroot was set to https in the config.php, but I haven't found any 'wwwroot' field in the config table of the database. Should I create it?
Best regards,

Robert Lyon's profile picture
Posts: 757

19 January 2021, 10:08

Hi Juan,

Having it set correctly in config.php should be fine.

Is there some server issue where a person is reaching the site on http and not https ?

Cheers

Robert

4 results