Last modified: 2010-05-15 15:33:52 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 T8817, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6817 - Fatal bug in upgrade from 1.4.x, "tag conditions not met"
Fatal bug in upgrade from 1.4.x, "tag conditions not met"
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.4.x
All Windows XP
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6818 6926 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-25 23:17 UTC by Doug Clark
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Attachments

Description Doug Clark 2006-07-25 23:17:51 UTC
I can upgrade from verstion 1.4.5 to 1.4.10.  But when I try to upgrade from either 1.4.5 or 1.4.10 
to a 1.5.* or 1.6.* release I fail with the following message.

Tag conditions not met. This should never happen and is a bug.
Backtrace:
GlobalFunctions.php line 451 calls wfbacktrace()
Sanitizer.php line 670 calls wfdebugdiebacktrace()
Sanitizer.php line 552 calls sanitizer::gettagattributecallback()
Parser.php line 655 calls sanitizer::fixtagattributes()
Parser.php line 784 calls parser::dotablestuff()
Parser.php line 193 calls parser::internalparse()
OutputPage.php line 254 calls parser::parse()
OutputPage.php line 245 calls outputpage::addwikitexttitle()
refreshLinks.inc line 89 calls outputpage::addwikitext()
refreshLinks.inc line 55 calls fixlinksfromarticle()
rebuildall.php line 34 calls refreshlinks()

MediaWiki (http://wikipedia.sf.net/): 1.4.5 
PHP (http://www.php.net/): 4.3.4 (apache2handler) 
MySQL (http://www.mysql.com/): 4.0.18-Max
Comment 1 Jimmy Collins 2006-07-26 19:07:40 UTC
*** Bug 6818 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2006-07-26 20:40:43 UTC
If it's listing 1.4.5, you have a broken mix of files. Please 
upgrade *ALL* files.
Comment 3 Doug Clark 2006-07-26 20:55:16 UTC
The steps I used to do the upgrade are as follows;

Download the compressed tar file 
Using tar -zxvf mediawiki*.gz a directory structure is created for example /tmp/mediawiki-1.5.5
Move using "mv /tmp/mediawiki-1.5.5 /srv/www/htdocs" command the directory structure
From the /srv/www/htdocs/wiki directory (where wiki version 1.4.5 is running) I issue a "cp -
R /srv/www/htdocs/mediawiki-1.5.5/* ." command.  I am assuming that all the files I need to update are copied 
to the current wiki directory.
Update the AdminSettings.php with the mysql user and password
Alter the changes in the LocalSettings.php file per the changes in the UPGRADE text document
change directory to wiki/maintenance
run "php update.php" - all works fine
run "php refreshLinks.php" and I get the error as noted above.

If I am missing some files and not updating "ALL" of them please tell me where or how to get them.  Should I 
modify my "cp -R" copy command?  I am willing to try anything.


Comment 4 Rob Church 2007-01-06 18:22:23 UTC
*** Bug 6926 has been marked as a duplicate of this bug. ***
Comment 5 Niklas Laxström 2009-07-29 18:33:12 UTC
Instead of copying all files over your old installation, try copying LocalSettings.php, images and other user content over the new installation.

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


Navigation
Links