0

我在使用媒体 wiki 时遇到问题,我升级了 mediawiki,但这里的问题仍然是错误消息,我收到 MediaWiki 内部错误。

原始异常:异常 'BadTitleError' 带有消息“请求的页面标题无效、为空或链接错误的跨语言或跨 wiki 标题。它可能包含一个或多个不能在标题中使用的字符。在 /home/website/public_html/wiki/includes/Wiki.php:197 堆栈跟踪:

#0 /home/website/public_html/wiki/includes/Wiki.php(536): MediaWiki->performRequest()
#1 /home/website/public_html/wiki/includes/Wiki.php(446): MediaWiki->main()
#2 /home/website/public_html/wiki/index.php(59): MediaWiki->run()
#3 {main}

异常处理程序中捕获的异常:在 /home/website/public_html/wiki/includes/parser/Parser.php 中带有消息“PCRE 需要使用 --enable-unicode-properties 编译才能使 MediaWiki 运行”的异常 'MWException' :1528 堆栈跟踪:

#0 /home/website/public_html/wiki/includes/parser/Parser.php(1160): Parser->replaceExternalLinks('')
#1 /home/website/public_html/wiki/includes/parser/Parser.php(370): Parser->internalParse('The requested p...')
#2 /home/website/public_html/wiki/includes/cache/MessageCache.php(873): Parser->parse('The requested p...', Object(Title), Object(ParserOptions), true)
#3 /home/website/public_html/wiki/includes/Message.php(605): MessageCache->parse('The requested p...', Object(Title), true, true, Object(Language))
#4 /home/website/public_html/wiki/includes/Message.php(434): Message->parseText('The requested p...')
#5 /home/website/public_html/wiki/includes/Message.php(496): Message->toString()
#6 /home/website/public_html/wiki/includes/OutputPage.php(3528): Message->parseAsBlock()
#7 /home/website/public_html/wiki/includes/OutputPage.php(2062): OutputPage->addWikiMsgArray('badtitletext', NULL)
#8 /home/website/public_html/wiki/includes/Exception.php(342): OutputPage->showErrorPage('badtitle', 'badtitletext', NULL)
#9 /home/website/public_html/wiki/includes/Exception.php(374): ErrorPageError->report()
#10 /home/website/public_html/wiki/includes/Exception.php(620): BadTitleError->report()
#11 /home/website/public_html/wiki/includes/Exception.php(690): MWExceptionHandler::report(Object(BadTitleError))
#12 /home/website/public_html/wiki/includes/Wiki.php(449): MWExceptionHandler::handle(Object(BadTitleError))
#13 /home/website/public_html/wiki/index.php(59): MediaWiki->run()
#14 {main}

感谢您的帮助谢谢

4

1 回答 1

0

skalee 的解决方案适用于嵌套:尝试升级 PCRE 或 Perl,或自行使用该选项编译 PCRE。

于 2015-04-29T11:05:43.600 回答