Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Help - 1.10.1 -> 1.12.0 upgrade broke

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


plaws at ou

Jun 23, 2008, 1:11 PM

Post #1 of 10 (1570 views)
Permalink
Help - 1.10.1 -> 1.12.0 upgrade broke

Followed the instructions at http://www.mediawiki.org/wiki/Manual:Upgrading
so I probably CAN get back ...

But ...

Now, aside from the main page, I get only blank pages. The only thing that
I can think of that it has to do with the fact that I have this:


$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['user']['edit'] = true;

set in LocalSettings.php and that it's a cookie or other auth thing. Ideas?


--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!


plaws at ou

Jun 23, 2008, 1:17 PM

Post #2 of 10 (1525 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Peter Laws wrote:

> Now, aside from the main page, I get only blank pages. The only thing that
> I can think of that it has to do with the fact that I have this:
>
>
> $wgGroupPermissions['*']['edit'] = false;
> $wgGroupPermissions['*']['read'] = false;
> $wgGroupPermissions['user']['edit'] = true;
>
> set in LocalSettings.php and that it's a cookie or other auth thing. Ideas?

Killed firefox and now get a blank for the Main page as well. Ideas?
Don't care to roll back (mostly because I live in fear of MySQL).

--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!


jimhu at tamu

Jun 23, 2008, 1:25 PM

Post #3 of 10 (1524 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Blank as in no content in empty skin or blank as in white screen of
death? If the latter, check the error logs. Also, try disabling
extensions to troubleshoot.

JH

On Jun 23, 2008, at 3:17 PM, Peter Laws wrote:

> Peter Laws wrote:
>
>> Now, aside from the main page, I get only blank pages. The only
>> thing that
>> I can think of that it has to do with the fact that I have this:
>> $wgGroupPermissions['*']['edit'] = false;
>> $wgGroupPermissions['*']['read'] = false;
>> $wgGroupPermissions['user']['edit'] = true;
>> set in LocalSettings.php and that it's a cookie or other auth
>> thing. Ideas?
>
> Killed firefox and now get a blank for the Main page as well.
> Ideas? Don't care to roll back (mostly because I live in fear of
> MySQL).
>
> --
> Peter Laws / N5UWY
> National Weather Center / Network Operations Center
> University of Oklahoma Information Technology
> plaws [at] ou
> -----------------------------------------------------------------------
> Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank
> you!
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


ChristensenC at BATTELLE

Jun 23, 2008, 1:27 PM

Post #4 of 10 (1521 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Peter Laws
Sent: Monday, June 23, 2008 4:12 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] Help - 1.10.1 -> 1.12.0 upgrade broke


$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['user']['edit'] = true;
-----------------------------------------------------------------------



Did you add Main_Page and login to your whitelist?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


plaws at ou

Jun 23, 2008, 1:28 PM

Post #5 of 10 (1519 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Jim Hu wrote:
> Blank as in no content in empty skin or blank as in white screen of
> death? If the latter, check the error logs. Also, try disabling
> extensions to troubleshoot.

WSOD, apparently. No extensions other than what ships with the tarball.

Searching for logs now ...

--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!


plaws at ou

Jun 23, 2008, 1:32 PM

Post #6 of 10 (1516 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Peter Laws wrote:
> Jim Hu wrote:
>> Blank as in no content in empty skin or blank as in white screen of
>> death? If the latter, check the error logs. Also, try disabling
>> extensions to troubleshoot.
>
> WSOD, apparently. No extensions other than what ships with the tarball.
>
> Searching for logs now ...

[Mon Jun 23 14:58:12 2008] [error] [client 10.197.0.114] PHP Fatal error:
Class 'DOMDocument' not found in /data/wiki/includes/Preprocessor_D
OM.php on line 566, referer: http://myhost/wiki/index.php/Main_Page


Gee, this wouldn't have anything to do with it, would it??? :-)

What is a 'DOMDocument' and where would I get one?


--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!


ChristensenC at BATTELLE

Jun 23, 2008, 1:49 PM

Post #7 of 10 (1515 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

It should be compiled into your PHP. What OS and version of PHP are you
running?

-----Original Message-----
From: mediawiki-l-bounces [at] lists
[mailto:mediawiki-l-bounces [at] lists] On Behalf Of Peter Laws
Sent: Monday, June 23, 2008 4:32 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Help - 1.10.1 -> 1.12.0 upgrade broke

Peter Laws wrote:
> Jim Hu wrote:
>> Blank as in no content in empty skin or blank as in white screen of
>> death? If the latter, check the error logs. Also, try disabling
>> extensions to troubleshoot.
>
> WSOD, apparently. No extensions other than what ships with the
tarball.
>
> Searching for logs now ...

[Mon Jun 23 14:58:12 2008] [error] [client 10.197.0.114] PHP Fatal
error:
Class 'DOMDocument' not found in /data/wiki/includes/Preprocessor_D
OM.php on line 566, referer: http://myhost/wiki/index.php/Main_Page


Gee, this wouldn't have anything to do with it, would it??? :-)

What is a 'DOMDocument' and where would I get one?


--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


plaws at ou

Jun 23, 2008, 1:52 PM

Post #8 of 10 (1518 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Christensen, Courtney wrote:
> It should be compiled into your PHP. What OS and version of PHP are you
> running?

RHEL 5.2
php-5.1.6-20.el5


All this worked under 1.10.1 (this morning) and MW really is the only thing
I've changed (no, "well except for ...").


--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!


steve at marmot

Jun 23, 2008, 2:08 PM

Post #9 of 10 (1516 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Peter Laws wrote:
> Peter Laws wrote:
>> Jim Hu wrote:
>>> Blank as in no content in empty skin or blank as in white screen of
>>> death? If the latter, check the error logs. Also, try disabling
>>> extensions to troubleshoot.
>>
>> WSOD, apparently. No extensions other than what ships with the tarball.
>>
>> Searching for logs now ...
>
> [Mon Jun 23 14:58:12 2008] [error] [client 10.197.0.114] PHP Fatal
> error: Class 'DOMDocument' not found in /data/wiki/includes/Preprocessor_D
> OM.php on line 566, referer: http://myhost/wiki/index.php/Main_Page
>
>
> Gee, this wouldn't have anything to do with it, would it??? :-)
>
> What is a 'DOMDocument' and where would I get one?

the problem is related specificaly to v1.12.0

There is a quick fix - add to LocalSettings.php:
$wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';

The "permanent" fix is to install the 'php-xml' package and restart Apache:
# yum -y install php-xml (on fedora anyway)
# service httpd restart

Actually, I found the "permanent" fix was quicker to implement than the
quick fix 8^) ...but I tested each and both worked (for me)

the reference is (watch out for the line wrapping):
http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_error:_Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwiki.2Fincludes.2FPreprocessor_DOM.php_on_line_566

--
Steve Lindemann __
Network Administrator //\\ ASCII Ribbon Campaign
Marmot Library Network, Inc. \\// against HTML/RTF email,
url: http://www.marmot.org //\\ vCards & M$ attachments
email: mailto:steve [at] marmot
voice: +1.970.242.3331 ext 116
fax: +1.970.245.7854



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


plaws at ou

Jun 23, 2008, 2:21 PM

Post #10 of 10 (1510 views)
Permalink
Re: Help - 1.10.1 -> 1.12.0 upgrade broke [In reply to]

Steve Lindemann wrote:

> the problem is related specificaly to v1.12.0
>
> There is a quick fix - add to LocalSettings.php:
> $wgParserConf['preprocessorClass'] = 'Preprocessor_Hash';
>
> The "permanent" fix is to install the 'php-xml' package and restart Apache:
> # yum -y install php-xml (on fedora anyway)
> # service httpd restart
>
> Actually, I found the "permanent" fix was quicker to implement than the
> quick fix 8^) ...but I tested each and both worked (for me)
>
> the reference is (watch out for the line wrapping):
> http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_error:_Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwiki.2Fincludes.2FPreprocessor_DOM.php_on_line_566


That was exactly it. Fixed. Permanently. Thanks for the quick replies!!



--
Peter Laws / N5UWY
National Weather Center / Network Operations Center
University of Oklahoma Information Technology
plaws [at] ou
-----------------------------------------------------------------------
Feedback? Contact my director, Craig Cochell, craigc [at] ou Thank you!

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.