I just created a mediawiki on my Hetzner Level 4 Webhosting Account.
As FTP client, I'm using FileZilla.
My mediawiki works perfectly.
Now I installed the maths extension.
However, when I try to edit my wikimediapages with something like this:
I receive the following error:
MediaWiki internal error.
Original exception: [ca0d47bbd292f473763fca42] 2019-12-29 09:47:25: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"
Exception caught inside exception handler.
Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.
Besides others, I have the following installed:
> MediaWiki 1.34.0
> PHP 7.3.13 (cgi-fcgi)
> MySQL 5.7.28-1
> Math 3.0.0 (b1a022f) 08:19, 30 September 2019 GPL-2.0-or-later Render mathematical formulas between <math> ... </math> tags Tomasz Wegrzanowski, Brion Vibber, Moritz Schubotz and Derk-Jan Hartman
I have tried several things, like using MediaWiki 1.33.1, log in/log out from accounts, etc. but I was not able to get the maths extension work sucessfully.
My workflow was as following:
1) Download Maths-extension and upload unzipped "Math" folder via FTP server to "extensions" directory where my mediawiki is installed.
wfLoadExtension( 'Math' );
3) Updated mediawiki via webbrowser (/mw-config/) as described here: https://www.mediawiki.org/wiki/Manual:Upgrading#Web_browser
Unfortunately, my Webhosting Account does not provide a command line input.
4) Editing a page with a math command -- and there I received the error message as stated above.
I also can't access detailed error messages: As soon as I set $wgShowExceptionDetails = true; I get a blank page. I also tried to display other error messages, however I always receive a blank page.
For me it looks like some database connection regarding the math extension is broken.
I also wonder if the /mw-config/ update does its job correctly, e.g. I had to clear my browser history in order to be able to run the /mw-config/... It is really depending on your browser I think...
It seems like anything else works fine if I don't use <math>.
Has anybody a idea what I could have done wrong? Did I miss a step?
This report claims similar issues with blank pages I have:
(However, they were able to fix the problem by running the update script, I can only run the updated script via /mw-config/ script as I have no command line input).