Last modified: 2009-03-16 06:49:35 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 T18267, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16267 - Fatal error in customizeTabs for LQT in certain situations.
Fatal error in customizeTabs for LQT in certain situations.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: David McCabe
http://wikieducator.org/Thread:TLC_-_...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-07 03:28 UTC by Jim Tittsler
Modified: 2009-03-16 06:49 UTC (History)
1 user (show)

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


Attachments

Description Jim Tittsler 2008-11-07 03:28:01 UTC
The URL http://wikieducator.org/Thread:TLC_-_Think,_Learn_%26_Create_(2) turned up in recent changes, but clicking on it results in a 500 server error.  Something with the '&'?

LiquidThreads r41691
MediaWiki r41712
Comment 1 David McCabe 2008-12-27 05:48:13 UTC
Steps to reproduce?
Comment 2 Andrew Garrett 2009-03-16 04:06:02 UTC
Works for me locally (but that site gives a blank page).

Do you get the same result with other pages with '&' in them? If so, it is probably not an LQT problem.

If not, can you provide the actual error that you're getting?
Comment 3 David McCabe 2009-03-16 04:10:16 UTC
Pages with ampersands work here, even if it's unencoded.
Comment 4 Jim Tittsler 2009-03-16 06:11:35 UTC
Where can I find the "actual error"?  (There is nothing in the page nor in the server's error log.)
Comment 5 Andrew Garrett 2009-03-16 06:31:38 UTC
(In reply to comment #4)
> Where can I find the "actual error"?  (There is nothing in the page nor in the
> server's error log.)

Whatever is causing the 500 Internal Server Error. Most likely it's an error in the PHP code.

See http://www.mediawiki.org/wiki/How_to_debug#PHP_errors
Comment 6 Jim Tittsler 2009-03-16 06:42:43 UTC
Thanks for the pointer.

Fatal error: Call to a member function article() on a non-object in /usr/local/mw-svn/extensions/LiquidThreads/LqtPages.php on line 449

Line 449 is the first line of code in customizeTabs:
                $article_t = $this->thread->article()->getTitle();
Comment 7 Andrew Garrett 2009-03-16 06:49:35 UTC
Fixed in r48430.

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


Navigation
Links