Last modified: 2012-09-22 18:27:37 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 T23468, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21468 - SelectCategoryTagCloud doesn't work after system upgrade
SelectCategoryTagCloud doesn't work after system upgrade
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
Other Linux
: Normal critical (vote)
: ---
Assigned To: Leon Weber
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-10 18:52 UTC by barny
Modified: 2012-09-22 18:27 UTC (History)
5 users (show)

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


Attachments

Description barny 2009-11-10 18:52:08 UTC
I upgraded openSuse from 11.1/64 to 11.2/64 and after restoring my wikimedia software I noticed that it wasn't working due to a problem caused by this extension. After disabling it (with # in the settings file), wikimedia started again working.
Adding the string "$wgShowExceptionDetails = true;" to localsettings.php, the message that appears is:

####Start####

Errore interno (internal error in english)

Detected bug in an extension! Hook fnSelectCategoryOutputHook failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:

#0 /srv/www/htdocs/wiki2/includes/OutputPage.php(565): wfRunHooks('OutputPageParse...', Array)
#1 /srv/www/htdocs/wiki2/includes/OutputPage.php(573): OutputPage->addParserOutputNoText(Object(ParserOutput))
#2 /srv/www/htdocs/wiki2/includes/Article.php(3615): OutputPage->addParserOutput(Object(ParserOutput))
#3 /srv/www/htdocs/wiki2/includes/Article.php(979): Article->outputWikiText('==Todo==?[[:cat...')
#4 /srv/www/htdocs/wiki2/includes/Wiki.php(450): Article->view()
#5 /srv/www/htdocs/wiki2/includes/Wiki.php(63): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#6 /srv/www/htdocs/wiki2/index.php(116): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#7 /srv/www/htdocs/wiki2/index.php5(1): require('/srv/www/htdocs...')
#8 {main}

###end###

My system is:
opensuse: 11.2/64 (final release)
apache: 2.2.14-2.1
php: 5.3.1_git200911032107-29.1
mysql: 5.1.36-59.1

The wikimedia software is original (I mean I have not changed by myself the code) and I have only an other one extension (CategoryTree).
Comment 1 Niklas Laxström 2009-11-10 18:55:55 UTC
You should use a version Select Category that is compatible with your MediaWiki version.
Comment 2 barny 2009-11-10 19:15:13 UTC
I don't know if is a version problem. I used it for some time without any problem. 
My wikimedia is 1.15.1 and category cloud is 1.4 (2008-08-11).
I only want to indicate this problem, but I'm not a programmer, so it could be my fault.
In this case, I can only say sorry for the inconvenient.
Bye
Comment 3 Sam Reed (reedy) 2009-11-10 19:30:07 UTC
Make sure you're running the latest version, just to make sure
Comment 4 barny 2009-11-10 19:43:36 UTC
I think it is. The dates of the files are 11/08/2008 06:54 (It means 11 July for English), so I think it is the 1.4
Comment 5 Matthew Pallotta 2010-01-06 18:32:08 UTC
We have same problems on our site. It surfaced on our upgrade to php-5.3.1, we did see the problem while on php-5.2.10, php-5.2.11, php-5.2.12.

We were originally running 1.13.3 with SelectCategoryTagCloud (version 1.3). We upgraded to php-5.3.1 and say the problem. We downgraded php-5.2.12 and it started working again.

Then we upgraded mediawiki to 1.15.1 SelectCategoryTagCloud (version 1.3) and php-5.3.1. Problem surfaced. 

Next we upgrade SelectCategoryTagCloud (version 1.4). Problem still exists.

Also my installed OS is a bit different

Solaris: amd64
Apache: 2.2.14
php: 5.3.1
mysql: 5.1.34sp1-enterprise-gpl-pro-log
Comment 6 Matthew Pallotta 2010-01-06 18:34:04 UTC
I would like to update this. First sentence should read with "*not see"

We have same problems on our site. It surfaced on our upgrade to php-5.3.1, we
did not see the problem while on php-5.2.10, php-5.2.11, php-5.2.12.
Comment 7 martin 2010-02-08 21:49:58 UTC
I am also having the same issue. I run a few other products on the same machine so I don't want to backrev php. Does anyone have a work around?
Comment 8 crushking 2011-02-28 09:26:57 UTC
For me it didn't work on a fresh installation of mediawiki the newest version.
Comment 9 crushking 2011-02-28 09:56:10 UTC
Found some sort of a workaround (Don't know if it can be called a solution [it's up to the developers team] but it did the trick).

What I did was:
1) open the body file.
2) go to all the hook functions and remove the & from the second parameter.
3) and it worked.
Comment 10 Niklas Laxström 2011-02-28 14:05:40 UTC
The extension is broken and unmaintained - keeping this bug open to please bugzilla.
Comment 11 Christian Boltz 2012-09-22 18:27:37 UTC
[Fixing the "Component" field - SelectCategoryTagCloud != SelectCategory]

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


Navigation
Links