Topic on Project:Support desk

Unable to move the new CDB file into place.

4
DanielPalaversich (talkcontribs)

No is happening, from one day to another stopped working . Could you help me?

MediaWiki 1.27.1

PHP 5.5

MySQL 5.6

wikicarca.esy.es

[V9HzGh@qpBMAADrgRG4AAACJ] / MWException from line 118 of /home/u471652879/public_html/includes/cache/localisation/LCStoreCDB.php: Unable to move the new CDB file into place.

Backtrace:

#0 /home/u471652879/public_html/includes/cache/localisation/LocalisationCache.php(1024): LCStoreCDB->finishWrite()

#1 /home/u471652879/public_html/includes/cache/localisation/LocalisationCache.php(462): LocalisationCache->recache(string)

#2 /home/u471652879/public_html/includes/cache/localisation/LocalisationCache.php(379): LocalisationCache->initLanguage(string)

#3 /home/u471652879/public_html/includes/cache/localisation/LocalisationCache.php(294): LocalisationCache->loadSubitem(string, string, string)

#4 /home/u471652879/public_html/languages/Language.php(2561): LocalisationCache->getSubitem(string, string, string)

#5 /home/u471652879/public_html/includes/cache/MessageCache.php(869): Language->getMessage(string)

#6 /home/u471652879/public_html/includes/cache/MessageCache.php(827): MessageCache->getMessageForLang(Language, string, boolean, array)

#7 /home/u471652879/public_html/includes/cache/MessageCache.php(768): MessageCache->getMessageFromFallbackChain(Language, string, boolean)

#8 /home/u471652879/public_html/includes/Message.php(1178): MessageCache->get(string, boolean, Language)

#9 /home/u471652879/public_html/includes/Message.php(801): Message->fetchMessage()

#10 /home/u471652879/public_html/includes/Message.php(892): Message->toString()

#11 /home/u471652879/public_html/includes/title/MalformedTitleException.php(49): Message->text()

#12 /home/u471652879/public_html/includes/title/MediaWikiTitleCodec.php(296): MalformedTitleException->__construct(string, string)

#13 /home/u471652879/public_html/includes/Title.php(3343): MediaWikiTitleCodec->splitTitleString(string, integer)

#14 /home/u471652879/public_html/includes/Title.php(367): Title->secureAndSplit()

#15 /home/u471652879/public_html/includes/MediaWiki.php(79): Title::newFromURL(string)

#16 /home/u471652879/public_html/includes/MediaWiki.php(135): MediaWiki->parseTitle()

#17 /home/u471652879/public_html/includes/MediaWiki.php(661): MediaWiki->getTitle()

#18 /home/u471652879/public_html/includes/MediaWiki.php(519): MediaWiki->main()

#19 /home/u471652879/public_html/index.php(43): MediaWiki->run()

#20 {main}

87.123.36.109 (talkcontribs)

Make sure to set $wgCacheDirectory to an existing directory and make sure that permissions on that directory are correct!

DanielPalaversich (talkcontribs)
Many thanks! It was comment out the line 101 LocalSettings.php

## Set $ ​​wgCacheDirectory to a writable directory on the web server
## To make your wiki go slightly faster . The directory shouldnt
## Be publically accessible from the web .
# $ WgCacheDirectory = " $ IP / cache " ;

Then I corrected the line and was thus , was solved .

$ WgCacheDirectory = " $ IP / cache " ;

That could have caused this, if before worked well ?

Thanks for your prompt response.
87.123.36.109 (talkcontribs)

Note that the spelling of the variable name, especially its casing is important. Whether it is a capital W or a small w makes a difference! Also the spaces inside the line should not be there. Correct is this one:

$wgCacheDirectory = "$IP/cache";