Topic on Extension talk:MobileFrontend

HTTPs in Mobile View Link

12
212.21.161.88 (talkcontribs)

Hi!

I found a problem, on my setup www.laub-home.de, the mobileview link ist with https. I never configured something with https, because my Server doesn't work with https.

when I change in includes/MobileContext.php

if ( $forceHttps ) {
                        $parsedUrl['scheme'] = 'https';

to

$parsedUrl['scheme'] = 'http';

The Link is fine. I think the Problem is the variable $forceHttps. It seems that this one is set to true. But I need a false.

Could someone help me with that`?

Greetings Andreas

101.166.163.189 (talkcontribs)

I'm having the same issue. Any help out there?

119.15.78.139 (talkcontribs)

Same problem here, too. Would appreciate any advice!

Tickihgk (talkcontribs)

Just change in MobileContext.php:

$parsedUrl['scheme'] = 'https'; to
$parsedUrl['scheme'] = 'http';

...tested & worked (MediaWiki 1.22.0)

Tickihgk (talkcontribs)

$forceHttps have to be set to: false

119.15.78.50 (talkcontribs)

Perfect! Thanks. :)

Peculiar Investor (talkcontribs)

Is this bug 55982? If so, perhaps the information should be included on the extension's page.

Needsoft (talkcontribs)

I think it's not a bug. Just add this line in "LocalSettings.php"

$wgMFForceSecureLogin = false;

before

require_once( "$IP/extensions/MobileFrontend/MobileFrontend.php" );
Koemski (talkcontribs)

I set $forceHttps = false in LocalSettings.php -> doesn't work here.

I scanned the code (REL1_22) and found out that this var is never set to true... which is strange

Karsten

Unikum~mediawikiwiki (talkcontribs)

Same here in the REL1_22 branch. It should be fixed in upstream.

Reply to "HTTPs in Mobile View Link"