Topic on Project:Support desk

Mediawiki on Debian Jessie shows blank pages

3
2.14.170.35 (talkcontribs)

Just updated my old debian Weezy that runs on 1.23 wiki/visualeditor with php 5.4.39 and mysql 5.5.43 to the new debian Jessie, all update was done right, but, now the pages are blank. But, if i launch the editor, content is already here... hurra... but if i previsualize or other stuffs, the page remains blank...

So, i decide to follow an advice given here http://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#All_pages_have_no_content.2C_but_when_editing_a_page_the_wiki_text_is_there and i update my wiki to the 1.24.2 with the visualeditor associated to the 1.24. After doing it all, i run the database update and.... the pages are empty now... Adding the error report it shows me the error below :

Warning: spl_object_hash() expects parameter 1 to be object, null given in /var/www/mediawiki-1.24.2/mediawiki-1.24.2/includes/Title.php on line 184
Catchable fatal error: Argument 1 passed to MediaWikiTitleCodec::__construct() must be an instance of Language, null given, called in /var/www/mediawiki-1.24.2/mediawiki-1.24.2/includes/Title.php on line 195 and defined in /var/www/mediawiki-1.24.2/mediawiki-1.24.2/includes/title/MediaWikiTitleCodec.php on line 567

Any suggestions ?

Ciencia Al Poder (talkcontribs)

Did you upgraded all the extensions as well? Try disabling all extensions to see if one of them is causing the problem.

2001:780:0:B:AC67:93F:7FB6:685A (talkcontribs)

For me, this error came up when I didn't have proper permissions for the database. You can check that by using one of the maintenance scripts, like this

php maintenance/showSiteStats.php