Last modified: 2014-02-19 18:44:44 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 T63516, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61516 - Incomplete error checking for db connection: Call to real_escape_string() on non-object in includes/db/DatabaseMysqli.php
Incomplete error checking for db connection: Call to real_escape_string() on ...
Status: RESOLVED DUPLICATE of bug 57463
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-18 21:13 UTC by Mark A. Hershberger
Modified: 2014-02-19 18:44 UTC (History)
2 users (show)

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


Attachments

Description Mark A. Hershberger 2014-02-18 21:13:04 UTC
Got the following in my vagrant system.  Reloading the page succeeded.

Fatal error: Call to a member function real_escape_string() on a non-object in includes/db/DatabaseMysqli.php on line 187


 Call Stack: 0.0067 642016
 1. {main}() index.php:0
 2. MediaWiki->run() /vagrant/mediawiki/index.php:49
 3. MWExceptionHandler::handle() includes/Wiki.php:470 
 4. MWExceptionHandler::report() includes/Exception.php:678 
 5. MWException->report() includes/Exception.php:606
 6. DBConnectionError->reportHTML() includes/Exception.php:259 
 7. MWException->reportHTML() includes/db/DatabaseError.php:222
 8. DBConnectionError->getPageTitle() includes/Exception.php:225
 9. DBConnectionError->msg() includes/db/DatabaseError.php:148
 10. Language->getMessage() includes/db/DatabaseError.php:129
 11. LocalisationCache->getSubitem() languages/Language.php:2337
 12. LocalisationCache->loadSubitem() includes/cache/LocalisationCache.php:281
 13. LCStore_DB->get() includes/cache/LocalisationCache.php:379
 14. DatabaseBase->selectRow() includes/cache/LocalisationCache.php:1097
 15. DatabaseBase->select() includes/db/Database.php:1585
 16. DatabaseBase->selectSQLText() includes/db/Database.php:1494
 17. DatabaseBase->makeList() includes/db/Database.php:1546
 18. DatabaseBase->addQuotes() includes/db/Database.php:1966
 19. DatabaseMysqlBase->strencode() includes/db/Database.php:2366
 20. DatabaseMysqli->mysqlRealEscapeString() includes/db/DatabaseMysqlBase.php:455
Comment 1 Umherirrender 2014-02-19 18:42:03 UTC
Looks like bug 57463 (but with another stacktrace)
Comment 2 Chad H. 2014-02-19 18:44:44 UTC

*** This bug has been marked as a duplicate of bug 57463 ***

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


Navigation
Links