1
stonez
How to set xoAppUrl & xoImgUrl from http to https?
  • 2019/3/26 15:57

  • stonez

  • Just popping in

  • Posts: 16

  • Since: 2002/9/29


Hi all,
How do I change xoAppUrl & xoImgUrl from http to https?

I recently upgraded my Xoops from old version to 2.5.9
During the upgrade, I also made my site from http to https.

However, I got this error message:

Mixed Content: The page at 'https://ww2.mysite.com/modules/tadgallery/dictionary.php' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.mysite.com/xoops.css'. This request has been blocked; the content must be served over HTTPS.

It seems I need to change /theme/mytheme/theme.php following lines, but I don't know where to setup xoAppUrl & xoImgUrl.








Please shin me some lights here...

Thank you!

2
goffy
Re: How to set xoAppUrl & xoImgUrl from http to https?
  • 2019/3/26 21:35

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27


Hi

both are using the real url, if your website is https then it will provide https://....

xoImgUrl can't be the problem, because this goes to the directory of your theme, e.g. if you are using xbootstrap then it gives you back https://mywebsite.com/themes/xbootstrap/

I also don't think that xoAppUrl is the reason, because this should provide https://mywebsite.com

please check all your templates and blocks, maybe you have somewhere hardcoded link to http://www.mysite.com/xoops.css'

3
stonez
Re: How to set xoAppUrl & xoImgUrl from http to https?
  • 2019/3/26 23:57

  • stonez

  • Just popping in

  • Posts: 16

  • Since: 2002/9/29


Thank you, let me try to see have these settings.... :)

Login

Who's Online

263 user(s) are online (160 user(s) are browsing Support Forums)


Members: 0


Guests: 263


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits