Hi,
Hoping that someone can help.
I have recently restored two wikis from a backup after a harddisk failure. The wikis make use of a single MySQL database, each of them using prefixed tables. One of the wikis is running just fine after the restore; the other one is not.
The issue is that all of the content on the malfunctioning wiki's main page is gone; the page just displays the sample text "There is currently no text in this page. You can search ..." Even worse, I cannot edit the wiki's main page: clicking the edit button when registered brings up the message "No such section --- You tried to edit a section that does not exist. Since there is no section , there is no place to save your edit."
What's also confusing is that all of the other pages seem to be fine; I can search for pages, and clicking on "Random page" does what it's supposed to do. I can also edit all other pages except for the main page.
Has anyone come across anything remotely similar?
I am pretty sure it has to be an error within the database. If I export an XML dump of all the pages, the main page is not among the pages in the XML. However, the page table contains an entry for the main page. How can I test the validity of that entry?
Best, Sebastian
Version information:
MediaWiki: 1.14.0
PHP: 5.2.11
MySQL: 5.1.37 Reply a day ago 134.34.80.80 (talkcontribs)
Does the revision table have a row for the current revision ID listed in the page table?
On Fri, Aug 7, 2015 at 8:51 AM, Sebastian Sulger < sebastian.sulger@uni-konstanz.de> wrote:
Hi,
Hoping that someone can help.
I have recently restored two wikis from a backup after a harddisk failure. The wikis make use of a single MySQL database, each of them using prefixed tables. One of the wikis is running just fine after the restore; the other one is not.
The issue is that all of the content on the malfunctioning wiki's main page is gone; the page just displays the sample text "There is currently no text in this page. You can search ..." Even worse, I cannot edit the wiki's main page: clicking the edit button when registered brings up the message "No such section --- You tried to edit a section that does not exist. Since there is no section , there is no place to save your edit."
What's also confusing is that all of the other pages seem to be fine; I can search for pages, and clicking on "Random page" does what it's supposed to do. I can also edit all other pages except for the main page.
Has anyone come across anything remotely similar?
I am pretty sure it has to be an error within the database. If I export an XML dump of all the pages, the main page is not among the pages in the XML. However, the page table contains an entry for the main page. How can I test the validity of that entry?
Best, Sebastian
Version information:
MediaWiki: 1.14.0
PHP: 5.2.11
MySQL: 5.1.37 Reply a day ago 134.34.80.80 (talkcontribs)
-- Sebastian Sulger FB Sprachwissenschaft Universität Konstanz http://ling.uni-konstanz.de/pages/home/sulger
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org