Last modified: 2010-05-15 16:03:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16841, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14841 - Error in refreshlinks.php
Error in refreshlinks.php
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.13.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-17 03:36 UTC by 555
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description 555 2008-07-17 03:36:00 UTC
After successfully importing ptwikisource-20080716-interwiki.sql.gz and ptwikisource-20080716-pages-meta-current.xml.bz2, I'm getting the following error if I try to run refreshlinks.php:

C:\xampp\htdocs\ptws>php maintenance\refreshlinks.php
Refreshing links table.
Starting from page_id 1 of 35049.
Warning: domdocument::domdocument() expects at least 1 parameter, 0 given in C:\
xampp\htdocs\ptws\includes\parser\Preprocessor_DOM.php on line 574
Fatal error: Call to undefined method domdocument::loadXML() in C:\xampp\htdocs\
ptws\includes\parser\Preprocessor_DOM.php on line 576

I'm running XAMPP 1.6.7 @ WinXP Home SP3, with this additional config:

$wgExtraNamespaces[100] = "Portal";
$wgExtraNamespaces[101] = "Portal_Discussão";
$wgExtraNamespaces[102] = "Autor";
$wgExtraNamespaces[103] = "Autor_Discussão";
$wgExtraNamespaces[104] = "Galeria";
$wgExtraNamespaces[105] = "Galeria_Discussão";
$wgExtraNamespaces[106] = "Página";
$wgExtraNamespaces[107] = "Página_Discussão";
$wgExtraNamespaces[108] = "Em_Tradução";
$wgExtraNamespaces[109] = "Discussão_Em_Tradução";
$wgExtraNamespaces[110] = "Anexo";
$wgExtraNamespaces[111] = "Anexo_Discussão";

$wgNamespaceAliases = array(
       'Em_tradução' => 108,
	   'Em_Tradu%E7%E3o' => 108,
	   'Em_Tradução' => 108,
	   'Em_tradu%E7%E3o' => 108,
	   'Em_tradução' => 108,
       'Discussão_Em_tradução' => 109,
       'Discussão_em_tradução' => 109,   
	   );

require_once( 'extensions/Cite/Cite.php' );
require_once( 'extensions/ImageMap/ImageMap.php' );
require_once( 'extensions/inputbox/inputbox.php');
require_once( 'extensions/LabeledSectionTransclusion/lst.php' );
require_once( 'extensions/ParserFunctions/ParserFunctions.php' );
require_once( 'extensions/Poem/Poem.php');

$wgDisableCounters = true; 
$wgDisableTextSearch = true; 
$wgDisableSearchUpdate = true;

$wgShowExceptionDetails = true;

Best regards,
[[:m:User:555]]
Comment 1 Niklas Laxström 2008-07-17 08:57:07 UTC
Check that you have dom extension or configure the parser to use hash preprocessor.
Comment 2 555 2008-08-02 22:26:08 UTC
It was a bug on my box, nevermind :S

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links