G
G
Gravio2016-10-23 20:03:13
PHP
Gravio, 2016-10-23 20:03:13

How to solve the problem when installing MediaWiki 1.27?

This is the error it gives:
Warning: rename(/tmp/l10n_cache-en.cdb.tmp.1457297703,/tmp/l10n_cache-en.cdb): Operation not permitted in /home/u96904/wiki.test.ru/vendor/ wikimedia/cdb/src/Writer/PHP.php on line 89
Warning: fclose(): supplied resource is not a valid stream resource in /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src/Writer/ PHP.php on line 236
[WAzq4VvZCasAAEsECPEAAAAU] 2016-10-23 16:52:49: Fatal exception of type MWException
Warning: fwrite(): supplied resource is not a valid stream resource in /home/u96904/wiki.test.ru /vendor/wikimedia/cdb/src/Writer/PHP.php on line 100
Warning: fclose(): supplied resource is not a valid stream resource in /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src /Writer/PHP.php on line 236
Warning: unlink(/tmp/l10n_cache-en.cdb.tmp.1457297703): No such file or directory in /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src/Writer/PHP.php on line 237
Fatal error: Uncaught Cdb\Exception: Error writing to CDB file "/tmp/l10n_cache-en.cdb.tmp.1457297703". in /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src/Writer/PHP.php:239 Stack trace: #0 /home/u96904/wiki.tets.ru/vendor/wikimedia/cdb/src /Writer/PHP.php(102): Cdb\Writer\PHP->throwException('Error writing t...') #1 /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src/Writer /PHP.php(215): Cdb\Writer\PHP->write('\x00\x00\x00\x00\x00\x00\x00\x00') #2 /home/u96904/wiki.test.ru/vendor /wikimedia/cdb/src/Writer/PHP.php(82): Cdb\Writer\PHP->finish() #3 /home/u96904/wiki.test.ru/vendor/wikimedia/cdb/src/Writer.php (88): Cdb\Writer\PHP->close() #4 [internal function]: Cdb\Writer->__destruct() #5 {main} thrown in /home/u96904/wiki.test.ru/vendor/wikimedia /cdb/src/Writer/PHP.php on line 239

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Novikov, 2016-10-23
@BOOMER_74

I so suspect business in the rights, and can in a mistake. Try changing the cache folder via:
Make sure the permissions are set correctly.
Slightly different bug , but with the same error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question