Last modified: 2014-11-15 12:05:25 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 T63273, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61273 - Main WebRequest object an instance of FauxRequest
Main WebRequest object an instance of FauxRequest
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.2
All Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-12 17:46 UTC by jimmy conway
Modified: 2014-11-15 12:05 UTC (History)
3 users (show)

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


Attachments
LocalSettings.php (6.84 KB, application/x-php)
2014-09-29 19:40 UTC, jimmy conway
Details

Description jimmy conway 2014-02-12 17:46:58 UTC
After successfully upgrading from 1.18.0 to 1.22.2 the following backtrace occurs while requesting main page:

[fe56cf19] [no req] Exception from line 1334 of /var/www/includes/WebRequest.php: FauxRequest::getRequestURL() not implemented Backtrace: #0 /var/www/includes/WebRequest.php(1385): FauxRequest->notImplemented(string) #1 /var/www/includes/WebRequest.php(715): FauxRequest->getRequestURL() #2 /var/www/includes/Wiki.php(269): WebRequest->getFullRequestURL() #3 /var/www/includes/Wiki.php(602): MediaWiki->performRequest() #4 /var/www/includes/Wiki.php(467): MediaWiki->main() #5 /var/www/index.php(49): MediaWiki->run() #6 {main}

This error hasn't occured before. Please let me know if any further debug data is needed.
Comment 1 Andre Klapper 2014-02-12 18:41:21 UTC
Hi Jimmy, would be good to know which extensions you use. 

This bug is very similar to bug 31364.

In case SemanticComments is involved, https://www.mediawiki.org/wiki/Thread:Extension_talk:SemanticComments/SemanticComments_Error_Message_when_Running_Jobs might provide a workaround.
Comment 2 jimmy conway 2014-02-13 21:29:35 UTC
Hey Andre, 

Thanks for looking at this! 

I use extension ConfirmEdit and QuestyCaptcha. I saw bug 31363, but I couldn't make any use of it.
Comment 3 Andre Klapper 2014-03-11 11:56:27 UTC
Making the trace more readable:
  includes/WebRequest.php(1334): FauxRequest::getRequestURL() not implemented 
  includes/WebRequest.php(1385): FauxRequest->notImplemented(string)
  includes/WebRequest.php(715): FauxRequest->getRequestURL()
  includes/Wiki.php(269): WebRequest->getFullRequestURL()
  includes/Wiki.php(602): MediaWiki->performRequest()
  includes/Wiki.php(467): MediaWiki->main()
  index.php(49): MediaWiki->run()

Does "php runJobs.php" work (see https://www.mediawiki.org/wiki/Manual:RunJobs.php ) or does it trigger the same error?
Comment 4 jimmy conway 2014-03-30 13:51:18 UTC
Same error after running "php maintenance/runJobs.php".
Comment 5 jimmy conway 2014-04-22 22:10:12 UTC
Is there any update on this issue? We run MediaWiki in a productive environment and are pretty lost without any help from you guys. Is there anything we can do?
Comment 6 Bawolff (Brian Wolff) 2014-04-22 23:28:44 UTC
Something really funky is going on with your install. Could you try disabling all extensions and seeing if the error still occurs. If it still occurs, could you post your LocalSettings.php (with passwords removed)


> This bug is very similar to bug 31364.

I don't think its related
Comment 7 Andre Klapper 2014-06-10 11:55:03 UTC
Jimmy: Could you answer comment 6, please?
Comment 8 Andre Klapper 2014-08-17 11:47:36 UTC
Unfortunately closing this report as no further information has been provided.

jimmy: Please feel free to reopen this report if you can provide the information asked for in comment 6, and if this still happens. Thanks!
Comment 9 jimmy conway 2014-09-29 19:35:22 UTC
Same issue with versio 1.23.4
Comment 10 jimmy conway 2014-09-29 19:37:58 UTC
backtrace while requesting main page

[c03a7291] [no req] Exception from line 1325 of /var/www/includes/WebRequest.php: FauxRequest::getRequestURL() not implemented Backtrace: #0 /var/www/includes/WebRequest.php(1376): FauxRequest->notImplemented(string) #1 /var/www/includes/WebRequest.php(742): FauxRequest->getRequestURL() #2 /var/www/includes/Wiki.php(256): WebRequest->getFullRequestURL() #3 /var/www/includes/Wiki.php(588): MediaWiki->performRequest() #4 /var/www/includes/Wiki.php(447): MediaWiki->main() #5 /var/www/index.php(46): MediaWiki->run() #6 {main}
Comment 11 jimmy conway 2014-09-29 19:40:55 UTC
Created attachment 16629 [details]
LocalSettings.php

Attaching LocalSettings.php as requested.
Comment 12 jimmy conway 2014-09-29 19:42:35 UTC
Thanks for looking at it!
Comment 13 Jesús Martínez Novo (Ciencia Al Poder) 2014-09-29 19:56:28 UTC
jimmy: could you please test it on a fresh MediaWiki installation? Proceeding with uploading MediaWiki installation files on your server, setting up the wiki through the installer (you can use the same database), saving new LocalSettings php?
Comment 14 Andre Klapper 2014-09-29 22:44:10 UTC
jimmy: It's not clear to me why closed this ticket as invalid yourself...
Comment 15 jimmy conway 2014-09-30 11:28:04 UTC
(In reply to Andre Klapper from comment #14)
> jimmy: It's not clear to me why closed this ticket as invalid yourself...

That's because I couldn't change to status to REOPENED for some reason. Can you do it please?

I'll test with a fresh MediaWiki by using the installer and get back to you.
Comment 16 Andre Klapper 2014-11-15 12:05:25 UTC
Jimmy: Please update this ticket (see comment 15).

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


Navigation
Links