[Mediawiki-l] api.php giving 500 errors

Zach H. luckenbach at gmail.com
Tue Jun 21 12:11:30 UTC 2011


Thanks for all the assistance, this indeed did resolve my issue (although my
main_page is not blank :-/)

On Mon, Jun 20, 2011 at 11:46 AM, Zach H. <luckenbach at gmail.com> wrote:

> Running into api.php returning an 500 error when attempting to run the
> following query api.php?action=query&meta=siteinfo
>
> The exact error is :
> Fatal error: Call to a member function getPrefixedText() on a non-object in
> /var/www/html/SupportWiki/includes/api/ApiQuerySiteinfo.php on line 110
>
>
> I have installed an "Test" database along side my existing and if I change
> to the "fresh" database it works without fail. I THINK the error is related
> to  $mainPage = Title :: newFromText( wfMsgForContent( 'mainpage' ) );
>
> what should I be looking for inside my database as switching to the "new"
> instance resolves the API issue.
>
> Thanks in advance for any assistance.
>
> Zach
>
>


More information about the MediaWiki-l mailing list