Thread:Project:Support desk/Mediawiki error: File upload not working

Hello All,

I've freshly installed MediaWiki 1.25.1 on a dedicated server. "Fatal exception of type MWException" error pops up when I try to upload a file.

Here's the backtrace log:


 * 1) 0 /home/wiki/includes/filerepo/file/LocalFile.php(1148): LocalFile->lock
 * 2) 1 /home/wiki/includes/upload/UploadBase.php(715): LocalFile->upload(string, string, string, integer, array, boolean, User)
 * 3) 2 /home/wiki/includes/specials/SpecialUpload.php(476): UploadBase->performUpload(string, string, boolean, User)
 * 4) 3 /home/wiki/includes/specials/SpecialUpload.php(195): SpecialUpload->processUpload
 * 5) 4 /home/wiki/includes/specialpage/SpecialPage.php(384): SpecialUpload->execute(NULL)
 * 6) 5 /home/wiki/includes/specialpage/SpecialPageFactory.php(582): SpecialPage->run(NULL)
 * 7) 6 /home/wiki/includes/MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)
 * 8) 7 /home/wiki/includes/MediaWiki.php(566): MediaWiki->performRequest
 * 9) 8 /home/wiki/includes/MediaWiki.php(414): MediaWiki->main
 * 10) 9 /home/wiki/index.php(41): MediaWiki->run
 * 11) 10 {main}

I had already tried the following tips: Thread:Project:Support desk/Problem With File Upload: Could not acquire lock for "mwstore://local-backend/local-public/1/1e Mediawiki error: File upload not working

Thanks in advance.