Manual talk:HotCat

About this board

Trouble with https on Apache Server

1
Ribewiki (talkcontribs)

Hotcat may produce '0 error' after changing from http to https with the following in the .htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

The error can be solved by adding this to LocalSettings.php:

$wgServer = '//example.com';
$wgCanonicalServer = 'https://example.com';

--Ribewiki (talk) 13:51, 19 September 2021 (UTC)

Reply to "Trouble with https on Apache Server"

HotCat breaks Mediawiki 1.32?

1
Tenbergen (talkcontribs)

I had Hotcat installed on my v1.31 wiki. When I upgraded I only got a blank page. Enabling debug parameters in Localsettings provided the following error:

Fatal error: Uncaught Error: Class 'WrappedString\WrappedString' not found in /home/intmed1/wiki.umintmed.ca/extensions/Gadgets/GadgetHooks.php:211 Stack trace: #0 /home/intmed1/wiki.umintmed.ca/includes/Hooks.php(174): GadgetHooks::beforePageDisplay(Object(OutputPage), Object(SkinMonoBook)) #1 /home/intmed1/wiki.umintmed.ca/includes/Hooks.php(234): Hooks::callHook('BeforePageDispl...', Array, Array, NULL, 'GadgetHooks::be...') #2 /home/intmed1/wiki.umintmed.ca/includes/OutputPage.php(2703): Hooks::runWithoutAbort('BeforePageDispl...', Array) #3 /home/intmed1/wiki.umintmed.ca/includes/exception/MWExceptionRenderer.php(136): OutputPage->output() #4 /home/intmed1/wiki.umintmed.ca/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(Object(Error)) #5 /home/intmed1/wiki.umintmed.ca/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(Object(Error), 2) #6 /home/intmed1/wiki.umintmed.ca/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(Object(Error)) #7 / in /home/intmed1/wiki.umintmed.ca/extensions/Gadgets/GadgetHooks.php on line 211
Reply to "HotCat breaks Mediawiki 1.32?"
There are no older topics
Return to "HotCat" page.