Topic on Project:Support desk

Jump to navigation Jump to search

topic who have 500 in mw-config/index.php

2400:2650:7020:3D00:A5F4:1188:167D:B825 (talkcontribs)

1.enable display-error : ON in php.ini or if you can't access php.ini, write this on very first line of mw-config/index.php

ini_set('display_errors', "On");

then reload.

2.see the error.

for me, i see something like this

ClassLoader.php at line 444 cannot access /path/to/mediawiki/vendor/composer/../liuggio/"tl;dr"/StatsdDataFactory.php

to solve this, simply copy the path you see on error and then go to that path.

you should have something called StatsdDataFactory (without file extension)

now rename and add the file extension .php

3.My unsolved error

i have a problem that says :

Fatal error: Cannot declare interface Liuggio\StatsdClient\Factory\StatsdDataFactoryInterface, because the name is already in use in C:\path\to\mediawiki\vendor\liuggio\statsd-php-client\src\Liuggio\StatsdClient\Factory\StatsdDataFactory.php on line 7

i have look at many php help website but i can't find any of it.

(i found something but it need to rewrite entire php that use Interface, and it's pretty be easy to get many error, im not good at php rn)

Bawolff (talkcontribs)

sometimes this error happens due to a bug in 7zip. Try redownloading mediawiki and using a different tar program (git for windows allegedly includes one that works)

Reply to "topic who have 500 in mw-config/index.php"