Last modified: 2014-06-23 23:14:26 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 T69009, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67009 - Vagrant phpsh fails on start
Vagrant phpsh fails on start
Status: RESOLVED DUPLICATE of bug 66588
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-23 22:52 UTC by Yuri Astrakhan
Modified: 2014-06-23 23:14 UTC (History)
4 users (show)

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


Attachments

Description Yuri Astrakhan 2014-06-23 22:52:29 UTC
vagrant@mediawiki-vagrant:~$ phpsh
Starting php
phpsh failed to initialize PHP.
Fix the problem and hit enter to reload or ctrl-C to quit.

Fatal error: Uncaught exception 'MWException' with message 'Unable to determine IP.' in /vagrant/mediawiki/includes/WebRequest.php on line 1112

MWException: Unable to determine IP. in /vagrant/mediawiki/includes/WebRequest.php on line 1112

Call Stack:
    1.2935   25620688   1. MWExceptionHandler::handle() /vagrant/mediawiki/includes/exception/MWExceptionHandler.php:0
    1.2936   25620688   2. MWExceptionHandler::rollbackMasterChangesAndLog() /vagrant/mediawiki/includes/exception/MWExceptionHandler.php:139
    1.2968   25621104   3. LBFactory->rollbackMasterChanges() /vagrant/mediawiki/includes/exception/MWExceptionHandler.php:120
    1.2968   25621256   4. LBFactory->forEachLBCallMethod() /vagrant/mediawiki/includes/db/LBFactory.php:200
    1.2968   25622816   5. LBFactorySimple->forEachLB() /vagrant/mediawiki/includes/db/LBFactory.php:175
    1.2969   25623576   6. call_user_func_array:{/vagrant/mediawiki/includes/db/LBFactory.php:329}() /vagrant/mediawiki/includes/db/LBFactory.php:329
    1.2969   25623648   7. LBFactory->callMethod() /vagrant/mediawiki/includes/db/LBFactory.php:329
    1.2969   25624280   8. call_user_func_array:{/vagrant/mediawiki/includes/db/LBFactory.php:185}() /vagrant/mediawiki/includes/db/LBFactory.php:185
    1.2969   25624648   9. LoadBalancer->rollbackMasterChanges() /vagrant/mediawiki/includes/db/LBFactory.php:185
    1.2969   25625032  10. DatabaseBase->rollback() /vagrant/mediawiki/includes/db/LoadBalancer.php:960
    1.2969   25625032  11. DatabaseBase->doRollback() /vagrant/mediawiki/includes/db/Database.php:3544
    1.2969   25625256  12. DatabaseBase->query() /vagrant/mediawiki/includes/db/Database.php:3562
    1.2969   25625192  13. User->getName() /vagrant/mediawiki/includes/db/Database.php:1024
    1.2970   25625192  14. WebRequest->getIP() /vagrant/mediawiki/includes/User.php:1934

PHP Fatal error:  Uncaught exception 'MWException' with message 'Unable to determine IP.' in /vagrant/mediawiki/includes/WebRequest.php:1112

Stack trace:
#0 /vagrant/mediawiki/includes/User.php(1934): WebRequest->getIP()
#1 /vagrant/mediawiki/includes/db/Database.php(1024): User->getName()
#2 /vagrant/mediawiki/includes/db/Database.php(3562): DatabaseBase->query('ROLLBACK', 'LoadBalancer::r...', true)
#3 /vagrant/mediawiki/includes/db/Database.php(3544): DatabaseBase->doRollback('LoadBalancer::r...')
#4 /vagrant/mediawiki/includes/db/LoadBalancer.php(960): DatabaseBase->rollback('LoadBalancer::r...', 'flush')
#5 [internal function]: LoadBalancer->rollbackMasterChanges()
#6 /vagrant/mediawiki/includes/db/LBFactory.php(185): call_user_func_array(Array, Array)
#7 [internal function]: LBFactory->callMethod(Object(LoadBalancer), 'rollbackMasterC...', Array)
#8 /vagrant/mediawiki/includes/db/LBFactory.php(329): call_user_func_array(Array, Array)
#9 /vagrant/mediawiki/includes/db/LBFactory.php(175): LBFactorySimple->forEachLB(Array,  in /vagrant/mediawiki/includes/WebRequest.php on line 1112
Comment 1 PiRSquared17 2014-06-23 22:53:40 UTC
Related? Bug 66588.
Comment 2 Bryan Davis 2014-06-23 23:00:56 UTC
Looks to be caused by I9541afa408d895c3fd337a883ecfe4ce0ba57090.
Comment 3 Bryan Davis 2014-06-23 23:14:26 UTC

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

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


Navigation
Links