I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page. When I did the upgrade I did a random spot check of a bunch of pages to make sure everything looked ok. I did that again today and everything I've checked other than this page looks fine.
I'm not familiar with the layout of the database but I went through and looked at the tables to see if there was anything that looked promising. Between the two servers/versions, everything for this entry seems to match in searchindex, pagelinks, page, categorylinks, and archive from what I can find just searching for the text string or the id numbers that I'm getting but I'm really going at this blind. Is there a better way to verify a broken link for this? Would re-running the update.php script do anything? I'd be happy to just re-create the page since its just this one but I don't know how to delete the page thats there without being able to get to it through the web. Any help is appreciated. Thanks!
Josh
Josh Greenberg wrote:
I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page.
This is a PHP error. See the error log for the reason.
Your page is still there, the problem is at display time. Has MediaWiki been configured with the same mysql options as it previously had?
Thanks for the response. The mysql options are mostly the same. The mysql version is different so $wgDBmysql5 was changed to true. Also, the database name was changed since the former one was sort of ambiguous but the necessary edit was made in LocalSettings.php. Everything else should be the same. When I try to get to the page, I get the log error: *Fatal error*: Argument 1 passed to Article::__construct() must be an object of class Title, called in /var/www/html/default/wiki/extensions/accesscontrol.php on line 162 and defined in */var/www/html/default/wiki/includes/Article.php* on line *47
*So it looks like its a problem with the access control file but I'm not sure why this would happen on the new server and not the old one since the extensions dir was copied over. Any suggestions on how to fix it?
Platonides wrote:
Josh Greenberg wrote:
I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page.
This is a PHP error. See the error log for the reason.
Your page is still there, the problem is at display time. Has MediaWiki been configured with the same mysql options as it previously had?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Josh Greenberg wrote:
Thanks for the response. The mysql options are mostly the same. The mysql version is different so $wgDBmysql5 was changed to true. Also, the database name was changed since the former one was sort of ambiguous but the necessary edit was made in LocalSettings.php. Everything else should be the same. When I try to get to the page, I get the log error: *Fatal error*: Argument 1 passed to Article::__construct() must be an object of class Title, called in /var/www/html/default/wiki/extensions/accesscontrol.php on line 162 and defined in */var/www/html/default/wiki/includes/Article.php* on line *47
*So it looks like its a problem with the access control file but I'm not sure why this would happen on the new server and not the old one since the extensions dir was copied over. Any suggestions on how to fix it?
You updated from 1.8.2 to 1.13.2. Looks like accesscontrol extension doesn't work on 1.13. Disable that extension and check that it works. Then look for an updated version of the extension.
That worked! Sorry for my ignorance on this. I didn't do the initial setup on this wiki and I didn't know that accesscontrol was a separate extension that needed to be downloaded. I thought it just came with the distribution. I put the new AccessControl.php file in the extensions dir and its working now. Thanks again.
Josh
Platonides wrote:
Josh Greenberg wrote:
Thanks for the response. The mysql options are mostly the same. The mysql version is different so $wgDBmysql5 was changed to true. Also, the database name was changed since the former one was sort of ambiguous but the necessary edit was made in LocalSettings.php. Everything else should be the same. When I try to get to the page, I get the log error: *Fatal error*: Argument 1 passed to Article::__construct() must be an object of class Title, called in /var/www/html/default/wiki/extensions/accesscontrol.php on line 162 and defined in */var/www/html/default/wiki/includes/Article.php* on line *47
*So it looks like its a problem with the access control file but I'm not sure why this would happen on the new server and not the old one since the extensions dir was copied over. Any suggestions on how to fix it?
You updated from 1.8.2 to 1.13.2. Looks like accesscontrol extension doesn't work on 1.13. Disable that extension and check that it works. Then look for an updated version of the extension.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi,
What does the AccessControl.php file control? I am trying to deploy to MediaWiki using a tool called ePublisher and it refuse to deploy my images. The wiki pages come across fine but without images. Could this be due to the AccessControl.php file?
Thanks,
Linda
Josh Greenberg josh@pha.jhu.edu Sent by: mediawiki-l-bounces@lists.wikimedia.org 12/09/2008 06:45 AM Please respond to MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org
To MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org cc
Subject Re: [Mediawiki-l] missing a page after mediawiki update
That worked! Sorry for my ignorance on this. I didn't do the initial setup on this wiki and I didn't know that accesscontrol was a separate extension that needed to be downloaded. I thought it just came with the distribution. I put the new AccessControl.php file in the extensions dir and its working now. Thanks again.
Josh
Platonides wrote:
Josh Greenberg wrote:
Thanks for the response. The mysql options are mostly the same. The mysql version is different so $wgDBmysql5 was changed to true. Also,
the
database name was changed since the former one was sort of ambiguous
but
the necessary edit was made in LocalSettings.php. Everything else
should
be the same. When I try to get to the page, I get the log error: *Fatal error*: Argument 1 passed to Article::__construct() must be an object of class Title, called in /var/www/html/default/wiki/extensions/accesscontrol.php on line 162 and
defined in */var/www/html/default/wiki/includes/Article.php* on line
*47
*So it looks like its a problem with the access control file but I'm
not
sure why this would happen on the new server and not the old one since the extensions dir was copied over. Any suggestions on how to fix it?
You updated from 1.8.2 to 1.13.2. Looks like accesscontrol extension doesn't work on 1.13. Disable that extension and check that it works. Then look for an updated version of the extension.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Josh Greenberg wrote:
I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page.
After Platonides' suggestion, try adding &action=edit to the end of the blank pages' URL. Then visually scan the page for bad syntax. I have to do this all the time since my users forget to close tags from extensions and stuff like that.
I'm afraid that won't work. I'm using short urls on the page so I can't tack on long url style initiatives. If you know the complete string to get to the page through long urls then I could type it in. I can see the id numbers for it in the database. I've created a second page for now but I really need to get rid of that other one.
Josh
Christensen, Courtney wrote:
Josh Greenberg wrote:
I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page.
After Platonides' suggestion, try adding &action=edit to the end of the blank pages' URL. Then visually scan the page for bad syntax. I have to do this all the time since my users forget to close tags from extensions and stuff like that.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Well in that case, add "?action=edit" to the end.
The full URL would be http://<sever>/<wiki>/index.php?title=<pageTitle>&action=edit
Do you want to share your URL or is it closed?
Good luck! -Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Josh Greenberg Sent: Monday, December 08, 2008 1:41 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] missing a page after mediawiki update
I'm afraid that won't work. I'm using short urls on the page so I can't tack on long url style initiatives. If you know the complete string to get to the page through long urls then I could type it in. I can see the id numbers for it in the database. I've created a second page for now but I really need to get rid of that other one.
Josh
Christensen, Courtney wrote:
Josh Greenberg wrote:
I've just finished migrating and upgrading my mediawiki server from 1.8.2 to 1.13.2. I also migrated it to another server so I have the old version to refer to if needed. I got a complaint today that there was a page missing. I checked it and it just comes up completely blank with no 404 error or permissions error or anything like that. Its just a blank page.
After Platonides' suggestion, try adding &action=edit to the end of the blank pages' URL. Then visually scan the page for bad syntax. I have to do this all the time since my users forget to close tags from extensions and stuff like that.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org