Red Hat Bugzilla – Bug 212600
mediawiki-1.8.2-4.fc6 missing files
Last modified: 2007-11-30 17:11:46 EST
Description of problem:
StartProfiler absend from fresh instgall of mediawiki. I found this after
upgrade from fc5 to fc6.
Version-Release number of selected component (if applicable): mediawiki-1.8.2-4.fc6
Install version 1.8.2-4.fc6
Access the wiki from web and check logs
[Fri Oct 27 20:06:20 2006] [error] [client xxxx] PHP Warning:
href='function.require-once'>function.require-once</a>]: failed to open stream:
No such file or directory in /var/www/mediawiki/includes/WebStart.php on line 59
[Fri Oct 27 20:06:20 2006] [error] [client xxxx] PHP Fatal error:
require_once() [<a href='function.require'>function.require</a>]: Failed opening
required './StartProfiler.php' (include_path='.:/usr/share/pear') in
/var/www/mediawiki/includes/WebStart.php on line 59
I checked WebStart.php and really tries to load a file with name that doesn't
*** Bug 213997 has been marked as a duplicate of this bug. ***
*** Bug 214758 has been marked as a duplicate of this bug. ***
*** Bug 215968 has been marked as a duplicate of this bug. ***
mediawiki-1.8.2-5.fc6 is also missing files.
Specifically, the directory mediawiki-x.x.x/serialized needs to be copied to the
mediawiki directory, and then a 'make' needs to be issued in the new serialized
I see the closed dupes, and apologize if this futher info is not helpful.
Chris, yes, I already pushed a -6 release to the repos (waits for the repo
maintainers to sign and release it), I changed the subject and used the version
mentioned in there, not the current available one.
But indeed I missed the make invocation in serialized. The package needs a total
revamping anyway, and it looks like the missing make for now would only be
required for performance improvements (or not?). I'd like to see the package
working at all first :)
Without the serialized directory, mediawiki barfs when you post an edit. If you
enable debug messages in the mediawiki config, you see something like this:
Utf8Case.ser is missing, please run "make" in the serialized directory
#0 /var/www/mediawiki/languages/Language.php(950): Language::getCaseMaps()
Language->stripForSearch('What you will f...')
#2 /var/www/mediawiki/includes/Wiki.php(269): SearchUpdate->doUpdate()
#3 /var/www/mediawiki/includes/Wiki.php(251): MediaWiki->doUpdates(Array)
#4 /var/www/mediawiki/index.php(48): MediaWiki->finalCleanup(Array,=20
I hope this is useful.
Utf8Case.ser is already part of mediawiki-1_8_2-6, but this still hasn't been
signed and released. The system seems to have stalled since 2 days:
*** Bug 217144 has been marked as a duplicate of this bug. ***
The package is now available, can you please confirm it's working in your setups?
I removed mediawiki via yum, whacked the /var/www/mediawiki dir, and
re-installed via yum.
Worked out-of-the box.
I did copy my LocalSettings.php file back in instead of generating a new one -
probably doesn't matter, but thought I'd mention it. I used the DB from the
previous install also.