Last modified: 2006-09-09 07:43:07 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 T8893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6893 - "Call to a member function exists() on a non-object" on trackback.php with bad input
"Call to a member function exists() on a non-object" on trackback.php with ba...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.8.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-01 07:43 UTC by Nick Jenkins
Modified: 2006-09-09 07:43 UTC (History)
0 users

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


Attachments
Patch to fix null object bug (355 bytes, patch)
2006-09-08 20:32 UTC, wclark
Details

Description Nick Jenkins 2006-08-01 07:43:51 UTC
CURL command:
============================
curl --silent --include \
 -F 'url'='x' \
 -F 'blog_name'=\
 -F 'article'='\</H2>'\
 -F 'title'='Main Page'\
 -F 'excerpt'='BLAH'\
 'localhost/wiki/trackback.php'
============================

LocalSettings.php includes this: 
============================
$wgUseTrackbacks = true;
error_reporting (E_ALL);
============================
(i.e. stricter error reporting, and trackbacks usage enabled).

Resulting HTML output is:
============================
<br />
<b>Fatal error</b>:  Call to a member function exists() on a non-object in
<b>/var/www/hosts/mediawiki/phase3/trackback.php</b> on line <b>53</b><br />
============================
Comment 1 wclark 2006-09-08 20:32:49 UTC
Created attachment 2329 [details]
Patch to fix null object bug
Comment 2 Rotem Liss 2006-09-09 07:43:07 UTC
Applied to r16451.

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


Navigation
Links