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.

<!-- Favicon -->
<link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
<link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" />
<!-- Sheet Css -->
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" />
<link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl style.css}>" />

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: 535

  • Since: 2010/12/27


Hi

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

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 backhttps://mywebsite.com/themes/xbootstrap/

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

please check all your templates and blocks, maybe you have somewhere hardcoded link tohttp://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

147 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

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

Latest GitHub Commits