I have a clean CentOS 7 VM with SELinux turned off on which I've only done the following:
- Install apache, mariadb, texlive, ocaml using yum
- Untar'd mediawiki-1.24.0.tar.gz into my DocumentRoot /var/www/mediawiki
- Ran the standard installation script and copied LocalSettings.php into $IP
Everything works at this point. After this I did the following:
- cloned the math extension git repo into $IP/extensions/Math
- Compiled texvc and texvccheck and left them in their default locations.
At this point if I enable the Math extension by adding:
require_once "$IP/extensions/Math/Math.php";
into LocalSettings.php and then try to edit the main page by adding <math>x</math> somewhere there, I get the following error:
A database query error has occurred. This may indicate a bug in the software.
There is nothing printed in my error_log.