get the following error after upgrading from 1.11 to 1.12 (PHP version 5.1.2, msql version 5.1.11) in the apache error log:
"[Thu Jun 26 09:51:45 2008] [error] [client 77.121.145.109] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/colorist/wiki3/includes/Preprocessor_DOM.php on line 566, referer: http://ww w.colorist.org/"
seems an XML error, could it be I have some extensions that are out-of- sync with the new version?
thanks in advance.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
"[Thu Jun 26 09:51:45 2008] [error] [client 77.121.145.109] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/colorist/wiki3/includes/Preprocessor_DOM.php on line 566, referer: http://ww w.colorist.org/"
Someone else just had a similar error. If you have control of your PHP installation do you know if you have the DOMDocument module compiled into it? You can check this by making a test php page like the following: <?php phpinfo(); ?>
If you don't have it, you can either change your php installation, or set your MW installation to use the old parser. It seems to be recommended that you don't try and use the old parser as a permanent fix.
Good luck! -Courtney
On Jun 26, 2008, at 9:45 PM, Christensen, Courtney wrote:
If you have control of your PHP installation do you know if you have the DOMDocument module compiled into it? You can check this by making a test php page like the following:
<?php phpinfo(); ?>
If you don't have it, you can either change your php installation, or set your MW installation to use the old parser. It seems to be recommended that you don't try and use the old parser as a permanent fix.
aha: '--disable-dom' came up from the php-info .. how would I go about setting the MW installation to use the old parser? and, come to think of it, would having these modules disabled as well cause any problems - (in which case I could recompile PHP):
'--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '-- without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable- xmlwriter'
thanks very much.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
On Jun 26, 2008, at 9:45 PM, Christensen, Courtney wrote:
If you don't have it, you can either change your php installation, or set your MW installation to use the old parser. It seems to be recommended that you don't try and use the old parser as a permanent fix.
I think I misread your last sentence, to read "don't try, and use the old parser as a permanent fix." :] I'll try rebuilding PHP, and thanks again.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
Glad I could be of assistance.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Rob Lingelbach Sent: Thursday, June 26, 2008 3:09 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] from 1.11 to 1.12 DOMDocument error
On Jun 26, 2008, at 9:45 PM, Christensen, Courtney wrote:
If you don't have it, you can either change your php installation, or set your MW installation to use the old parser. It seems to be recommended that you don't try and use the old parser as a permanent fix.
I think I misread your last sentence, to read "don't try, and use the old parser as a permanent fix." :] I'll try rebuilding PHP, and thanks again.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Using the old Parser isn't the fix. If you don't have the DOMDocument class then the fix is to use the hash preprocessor.
~Daniel Friesen(Dantman) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
Christensen, Courtney wrote:
"[Thu Jun 26 09:51:45 2008] [error] [client 77.121.145.109] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/colorist/wiki3/includes/Preprocessor_DOM.php on line 566, referer: http://ww w.colorist.org/"
Someone else just had a similar error. If you have control of your PHP installation do you know if you have the DOMDocument module compiled into it? You can check this by making a test php page like the following:
<?php phpinfo(); ?>
If you don't have it, you can either change your php installation, or set your MW installation to use the old parser. It seems to be recommended that you don't try and use the old parser as a permanent fix.
Good luck! -Courtney
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Jun 27, 2008, at 9:18 AM, DanTMan wrote:
Using the old Parser isn't the fix. If you don't have the DOMDocument class then the fix is to use the hash preprocessor.
just for the record the problem was fixed by grabbing php-xml, installing it and its dependencies (fresh mysql as well). So now I have the DOMDocument class.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
On Thu, Jun 26, 2008 at 10:29 AM, Rob Lingelbach rob@colorist.org wrote:
get the following error after upgrading from 1.11 to 1.12 (PHP version 5.1.2, msql version 5.1.11) in the apache error log:
"[Thu Jun 26 09:51:45 2008] [error] [client 77.121.145.109] PHP Fatal error: Class 'DOMDocument' not found in /var/www/html/colorist/wiki3/includes/Preprocessor_DOM.php on line 566, referer: http://ww w.colorist.org/"
seems an XML error, could it be I have some extensions that are out-of- sync with the new version?
Maybe read this:
http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_...
Roger
On Jun 26, 2008, at 11:01 PM, roger@rogerchrisman.com wrote:
Maybe read this:
http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_... :_Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwiki. 2Fincludes.2FPreprocessor_DOM.php_on_line_566
thanks very much Roger, I'd missed that in going over the webpages.
Rob -- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
One of the reasons I upgraded to MW 1.12 from 1.11 was because some people using Firefox (latest I think) and Opera (latest) were reporting problems with adding RSS feed from the Recent:Changes page. On 1.11 it had been working fine with Safari but I too noticed when using Opera the problem which I'll note here. The upgrade to 1.12 didn't change the behavior. Safari has no problem with the XML, only Opera and FF (though others might as well). The following error happens with either RSS or Atom feeds:
XML Parsing Error: XML or text declaration not at start of entity Location: http://tig.colorist.org/wiki3/index.php?title=Special:Recentchanges&feed... Line Number 1, Column 2: <?xml version="1.0" encoding="utf-8"?> -^
(where that upward-arrow character is pointing to the "<" character as part of the "?xml version" tag)
On Jun 26, 2008, at 11:04 PM, Rob Lingelbach wrote:
On Jun 26, 2008, at 11:01 PM, roger@rogerchrisman.com wrote:
Maybe read this:
http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_... :_Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwiki. 2Fincludes.2FPreprocessor_DOM.php_on_line_566
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
Check all your extensions and your LocalSettings.php for a space after the ?>. This caused the same problem for me.
On Jun 26, 2008, at 1:26 PM, Rob Lingelbach wrote:
One of the reasons I upgraded to MW 1.12 from 1.11 was because some people using Firefox (latest I think) and Opera (latest) were reporting problems with adding RSS feed from the Recent:Changes page. On 1.11 it had been working fine with Safari but I too noticed when using Opera the problem which I'll note here. The upgrade to 1.12 didn't change the behavior. Safari has no problem with the XML, only Opera and FF (though others might as well). The following error happens with either RSS or Atom feeds:
XML Parsing Error: XML or text declaration not at start of entity Location: http://tig.colorist.org/wiki3/index.php?title=Special:Recentchanges&feed... Line Number 1, Column 2: <?xml version="1.0" encoding="utf-8"?> -^
(where that upward-arrow character is pointing to the "<" character as part of the "?xml version" tag)
On Jun 26, 2008, at 11:04 PM, Rob Lingelbach wrote:
On Jun 26, 2008, at 11:01 PM, roger@rogerchrisman.com wrote:
Maybe read this:
http://www.mediawiki.org/wiki/Project:Support_desk#.28RESOLVED.29_PHP_Fatal_... :_Class_.27DOMDocument.27_not_found_in_.2Fvar.2Fwww.2Fhtml.2Fwiki. 2Fincludes.2FPreprocessor_DOM.php_on_line_566
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Darren VanBuren onekopaka@gmail.com ---------------------------------------------- Administrator of Onekopakaspace
Trunk MediaWiki install: http://oks.verymad.net/~onekopaka/mwtrunk/
On Jun 26, 2008, at 11:40 PM, Darren VanBuren wrote:
Check all your extensions and your LocalSettings.php for a space after the ?>. This caused the same problem for me.
goodness gracious, a lurking space in a forgotten extension, mailman.php, removed and thus fixed! thank you very much Darren.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
No problem! That's what I'm here for. On Jun 26, 2008, at 1:50 PM, Rob Lingelbach wrote:
On Jun 26, 2008, at 11:40 PM, Darren VanBuren wrote:
Check all your extensions and your LocalSettings.php for a space after the ?>. This caused the same problem for me.
goodness gracious, a lurking space in a forgotten extension, mailman.php, removed and thus fixed! thank you very much Darren.
-- Rob Lingelbach rob@colorist.org http://www.colorist.org/robhome.html
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Darren VanBuren onekopaka@gmail.com ---------------------------------------------- Administrator of Onekopakaspace
Trunk MediaWiki install: http://oks.verymad.net/~onekopaka/mwtrunk/
mediawiki-l@lists.wikimedia.org