Topic on Extension talk:ParserFunctions

on install: Unable to move the new CDB file into place

3
Ruud Habets (talkcontribs)

On running the installed extension I get: Unable to move the new CDB file into place.

As I understand I should have 777 rights on the cache subdir. changing that still genertes the error. any help is appreciated.

MW 1.19 is used

ruud



Backtrace:

  1. 0 /var/www/html/wiki/includes/Cdb_PHP.php(325): CdbWriter_PHP->throwException('Unable to move ...')
  2. 1 /var/www/html/wiki/includes/LocalisationCache.php(1032): CdbWriter_PHP->close()
  3. 2 /var/www/html/wiki/includes/LocalisationCache.php(702): LCStore_CDB->finishWrite()
  4. 3 /var/www/html/wiki/includes/LocalisationCache.php(397): LocalisationCache->recache('nl')
  5. 4 /var/www/html/wiki/includes/LocalisationCache.php(283): LocalisationCache->initLanguage('nl')
  6. 5 /var/www/html/wiki/includes/LocalisationCache.php(218): LocalisationCache->loadItem('nl', 'fallback')
  7. 6 /var/www/html/wiki/languages/Language.php(3620): LocalisationCache->getItem('nl', 'fallback')
  8. 7 /var/www/html/wiki/languages/Language.php(184): Language::getFallbacksFor('nl')
  9. 8 /var/www/html/wiki/languages/Language.php(149): Language::newFromCode('nl')
  10. 9 /var/www/html/wiki/includes/Setup.php(473): Language::factory('nl')
  11. 10 /var/www/html/wiki/includes/WebStart.php(157): require_once('/var/www/html/w...')
  12. 11 /var/www/html/wiki/index.php(54): require('/var/www/html/w...')
  13. 12 {main}
2001:982:A21F:1:D866:C154:9D6C:691E (talkcontribs)

Hmm :-) trying to install USerMerge extension, run into the same error, googling for an answer I stumble upon this (my) error fromm last year.

Any suggestions?

ruud

Ciencia Al Poder (talkcontribs)

Message from User:Ruud Habets that was posted on the wrong place :


As it turns out: as root you can create the cache directory everywhere you want, but it can't be read by apache. I found cdb files in

/tmp
/var/www/html/cache
/var/www/html/wiki/cache

all because of typos and wrong entries in LocalSettings.php and because I did not start >php maintenance/rebuildLocalisation.php after each edit

All is well now

-)
Reply to "on install: Unable to move the new CDB file into place"