Hello.
I just upgraded to MW 1.20, and now I'm getting this error after setting $wgShowExceptionDetails to true (I turn it on when I get an error message suggesting it, make a request to check, and turn it back off, don't worry):
MediaWiki internal error.
Original exception: exception 'BadTitleError' with message 'The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters which cannot be used in titles.' in /xxxxxxxxxx/includes/Wiki.php:197 Stack trace: #0 /xxxxxxxxxx/includes/Wiki.php(536): MediaWiki->performRequest() #1 /xxxxxxxxxx/includes/Wiki.php(446): MediaWiki->main() #2 /xxxxxxxxxx/index.php(59): MediaWiki->run() #3 {main}
Exception caught inside exception handler: exception 'MWException' with message 'PCRE needs to be compiled with --enable-unicode-properties in order for MediaWiki to function' in /xxxxxxxxxx/includes/parser/Parser.php:1528 Stack trace: #0 /xxxxxxxxxx/includes/parser/Parser.php(1160): Parser->replaceExternalLinks('') #1 /xxxxxxxxxx/includes/parser/Parser.php(370): Parser->internalParse('The requested p...') #2 /xxxxxxxxxx/includes/cache/MessageCache.php(873): Parser->parse('The requested p...', Object(Title), Object(ParserOptions), true) #3 /xxxxxxxxxx/includes/Message.php(605): MessageCache->parse('The requested p...', Object(Title), true, true, Object(Language)) #4 /xxxxxxxxxx/includes/Message.php(434): Message->parseText('The requested p...') #5 /xxxxxxxxxx/includes/Message.php(496): Message->toString() #6 /xxxxxxxxxx/includes/OutputPage.php(3528): Message->parseAsBlock() #7 /var/www/wikistates.outwardhosting.com/includes/OutputPage.php(2062): OutputPage->addWikiMsgArray('badtitletext', NULL) #8 /xxxxxxxxxx/includes/Exception.php(342): OutputPage->showErrorPage('badtitle', 'badtitletext', NULL) #9 /xxxxxxxxxx/includes/Exception.php(374): ErrorPageError->report() #10 /xxxxxxxxxx/includes/Exception.php(620): BadTitleError->report() #11 /xxxxxxxxxx/includes/Exception.php(690): MWExceptionHandler::report(Object(BadTitleError)) #12 /xxxxxxxxxx/includes/Wiki.php(449): MWExceptionHandler::handle(Object(BadTitleError)) #13 /xxxxxxxxxx/index.php(59): MediaWiki->run() #14 {main}
So I downloaded my Linux distribution's source package and recompiled PCRE with the proper options and installed it in the distribution's standard location and restarted Apache, only to get the same error. I ran ldd on both the PHP executable and Apache's libphp5.so and they're pointing to the correct libpcre.so. I'm running PHP 5.3.17.
What am I missing here?
Thank you, Kurt Weber
On 11/16/2012 08:19 PM, Kurt M. Weber wrote:
What am I missing here?
Could you send the phpinfo output from your php? Create a test.php page with the contents:
<?php phpinfo();
Visit the page in your web browser and send at least the pcre area. MediaWiki is working for me and my pcre settings show:
PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 8.30 2012-02-04
Directive Local Value Master Value pcre.backtrack_limit 1000000 1000000 pcre.recursion_limit 100000 100000
I've filled a bug with some comments at https://bugzilla.wikimedia.org/42229 as well.
mediawiki-l@lists.wikimedia.org