[Urgent Help]My admidio member website doesn't works after transition to HTTPS

If you aren't speaking german, you can ask for support or post your request here.
Antworten
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

[Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Dear All,

Today SSL certificate got installed and my admidio website(https://member.unihomeswelfaresociety.com) has gone bad.
myadmidio website with https gone bad-1.PNG
myadmidio website with https gone bad-1.PNG (114.78 KiB) 11434 mal betrachtet
I have updated adm_program/installation/config.php as below: but still its not working.

Code: Alles auswählen

// URL to this Admidio installation
// Example: 'https://www.admidio.org/example'
//$g_root_path = '%ROOT_PATH%';
$g_root_path = 'https://member.unihomeswelfaresociety.com';
Can someone help me real quick?

Thanks,
Amitabh
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von XimeX »

this is the wrong config file. The right config file is in adm_my_files/config.php
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Thank you very very much Ximex..Really appreciate your prompt reply..

I just corrected the line in adm_my_files/config.php & its working now. I will update the FAQ with this..

// URL to this Admidio installation
// Example: 'https://www.admidio.org/example'
//$g_root_path = 'http://member.unihomeswelfaresociety.com';
$g_root_path = 'https://member.unihomeswelfaresociety.com';

Thanks again..
Amitabh
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von XimeX »

The config.php in the installation folder is the config template from that we create the config.php in the adm_my_folders. So please don't change the config in the installation folder
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Thanks for your suggestion Ximex..

I noticed that https lock/status on the browser for https://member.unihomeswelfaresociety.com/ doesn't seem to be stable.

How to make sure all member website content/pages loads with https. Any other file to be changed to https?
admidio-https.PNG
admidio-https.PNG (20.1 KiB) 11421 mal betrachtet
Loading mixed (insecure) display content “http://member.unihomeswelfaresociety.co ... s/home.png” on a secure page
Loading mixed (insecure) display content “http://member.unihomeswelfaresociety.co ... s/home.png” on a secure page

Below screenshot is from developer panel (F12 in browser) and navigate to "Console", you will see the following warnings:
Dateianhänge
F12-developer console panel.PNG
F12-developer console panel.PNG (14.72 KiB) 11421 mal betrachtet
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von XimeX »

As i see you changed the footer of admidio and added a link to the homepage. there you added the home icon with HTTP.

Use our constants to get the correct paths
https://www.admidio.org/dokuwiki/doku.p ... precations
https://www.admidio.org/dokuwiki/doku.p ... #constants
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Thanks for pointing out Ximex. Many thanks.

I have just corrected the link and all works fine..

Thanks for these links..
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Hi Ximex,

I want to add secure site seal code on member site.. any idea where should i copy this code..I tried in adm_program/index.php but i got white page..

https://www.positivessl.com/secure-site-seal.php
<a href="https://www.positivessl.com/trusted-ssl-site-seal.php" style="font-family: arial; font-size: 10px; color: #212121; text-decoration: none;"><img src="https://www.positivessl.com/images-new/ ... transp.png" alt="Trusted Site Seal" title="Trusted Site Seal for Transparent background" border="0" /></a>
<div style="font-family: arial;font-weight:bold;font-size:15px;color:#86BEE0;"><a href="https://www.positivessl.com" style="color:#86BEE0; text-decoration: none;">SSL Certificate</a></div>
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von XimeX »

If you want it on every site you have to put in in my_body_bottom.php in themes
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Many Thanks Ximex. I updated my_body_bottom.php and its showing in all the pages..

In case, want to display on home page only, which file to be updated to achieve this?
XimeX
Developer
Beiträge: 1148
Registriert: 12. Jul 2015, 13:21
Wohnort: Austria

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von XimeX »

adm_program/index.php
Benutzeravatar
amitabhmca
Beiträge: 104
Registriert: 18. Apr 2018, 02:44
Wohnort: Singapore

Re: [Urgent Help]My admidio member website doesn't works after transition to HTTPS

Beitrag von amitabhmca »

Thanks a lot and appreciate Ximex.

I will update the FAQ => https://www.admidio.org/dokuwiki/doku.php?id=en:2.0:faq with this info.
Antworten