Page MenuHomePhabricator

Main WebRequest object an instance of FauxRequest
Closed, DeclinedPublic

Description

Author: jimmy.conway

Description:
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.


Version: 1.22.2
Severity: normal
OS: Linux
Whiteboard: aklapper-moreinfo

Details

Reference
bz61273

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:04 AM
bzimport set Reference to bz61273.
bzimport added a subscriber: Unknown Object (MLST).

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.

jimmy.conway wrote:

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.

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?

jimmy.conway wrote:

Same error after running "php maintenance/runJobs.php".

jimmy.conway wrote:

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?

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

Jimmy: Could you answer comment 6, please?

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!

jimmy.conway wrote:

Same issue with versio 1.23.4

jimmy.conway wrote:

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}

jimmy.conway wrote:

LocalSettings.php

Attaching LocalSettings.php as requested.

Attached:

jimmy.conway wrote:

Thanks for looking at it!

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?

jimmy: It's not clear to me why closed this ticket as invalid yourself...

jimmy.conway wrote:

(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.

Jimmy: Please update this ticket (see comment 15).

Aklapper changed the task status from Open to Stalled.Nov 25 2014, 7:47 PM

Unfortunately closing this report as no further information has been provided.

Jimmy: Please reopen this report (by changing its status) after you have provided the information asked for and if this still happens. Thanks!