Hello,
I am using MediaWiki version 1.39.1 and when I define the SyntaxHighlight_GeSHi extension in LocalSettings.php file, I encounter two separate errors.
Problems I am experiencing:
$wgServer must be set in LocalSettings.php error: I get this error and then I define $wgServer correctly (for example: https://www.docs.clomosy.com). However, when I resolve this error, I encounter a second error.
500 Internal Server Error: I cannot access the page and I get a 500 Internal Server Error error. Because of this error, I have to disable the extension.
Tests I have performed:
When I test the same configuration on my local server with MediaWiki version 1.39.0, everything works fine.
However, I am facing this issue with version 1.39.1 in the live environment.
I have set the $wgServer configuration correctly and checked the file permissions.
When I remove the wfLoadExtension( 'SyntaxHighlight_GeSHi' ); line that I added to the LocalSettings.php file, the site is accessible again.
I kindly ask for your help on what to do about this.