Last modified: 2006-09-09 07:43:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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