Page MenuHomePhabricator

Impossible to install: Class 'ArticleFeedbackv5Activity' not found
Closed, DeclinedPublic

Description

Author: elitsa.uzunova

Description:
After uploading the extension files, adding the require_once line in LocalSettings.php and running Web Upgrade (which works with other extensions) causes:
Fatal error: Class 'ArticleFeedbackv5Activity' not found in mylocahost\wiki\extensions\ArticleFeedbackv5\ArticleFeedbackv5.php on line 461
Solution, proposed on Talk page (http://www.mediawiki.org/wiki/Extension_talk:ArticleFeedbackv5#Class_.27ArticleFeedbackv5Activity.27_not_found_32646), causes another error message.
MW version 1.22 (current stable)


Version: REL1_22-branch
Severity: blocker
OS: Windows 7
Platform: PC

Details

Reference
bz60080

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 2:55 AM
bzimport set Reference to bz60080.
bzimport added a subscriber: Unknown Object (MLST).

mylocahost\wiki\extensions\ArticleFeedbackv5\ArticleFeedbackv5.php

This line has a typo "mylocahost" but I assume that's not relevant?

Are you running MediaWiki 1.22.0 or 1.22.1, and the latest version of the REL1_22 branch of AFTv5?

(In reply to comment #0)

After uploading the extension files, adding the require_once line in
LocalSettings.php and running Web Upgrade (which works with other extensions)

Where are the steps listed that you followed (URL)?

Fatal error: Class 'ArticleFeedbackv5Activity' not found in
mylocahost\wiki\extensions\ArticleFeedbackv5\ArticleFeedbackv5.php on line
461

Please enable https://www.mediawiki.org/wiki/Manual:$wgShowExceptionDetails and post the stacktrace here. See http://www.mediawiki.org/wiki/Manual:How_to_debug for more general information.

elitsa.uzunova wrote:

(In reply to comment #1)

mylocahost\wiki\extensions\ArticleFeedbackv5\ArticleFeedbackv5.php

This line has a typo "mylocahost" but I assume that's not relevant?

Indeed, this is not relevant. The path is correct wiki/extension-folder/ArticleFeedbackv5/ArticleFeedbackv5.php

Are you running MediaWiki 1.22.0 or 1.22.1, and the latest version of the
REL1_22 branch of AFTv5?

MediaWiki 1.22.0

(In reply to comment #0)

After uploading the extension files, adding the require_once line in
LocalSettings.php and running Web Upgrade (which works with other extensions)

Where are the steps listed that you followed (URL)?

For the extension install I am using this guide:
http://www.mediawiki.org/wiki/Extension:ArticleFeedbackv5#Installation
And for the web upgrade:
http://www.mediawiki.org/wiki/Manual:Upgrading#Web_updater (there is no shell access with the hosting of the client, works for me with other extensions)
In the web upgrade I get past the screen for choosing language, the error occurs at second stage of web upgrade (existing wiki)

Fatal error: Class 'ArticleFeedbackv5Activity' not found in
mylocahost\wiki\extensions\ArticleFeedbackv5\ArticleFeedbackv5.php on line
461

I copied this line from the Talk-page to save time. What I am getting after enabling $wgShowExceptionDetails is practically the same:
Fatal error: Class 'ArticleFeedbackv5Activity' not found in /webserver/webroot/htdocs/mypath/w/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php on line 484
484 is following line (483-489):
// register activity log formatter hooks
foreach( ArticleFeedbackv5Activity::$actions as $action => $options ) {
if ( isset( $options['log_type'] ) ) {

		$log = $options['log_type'];
		$wgLogActionsHandlers["$log/$action"] = 'ArticleFeedbackv5LogFormatter';

}
}

Please enable https://www.mediawiki.org/wiki/Manual:$wgShowExceptionDetails
and
post the stacktrace here. See
http://www.mediawiki.org/wiki/Manual:How_to_debug
for more general information.

This is my first bug report. Please let me know to be better at it. & thanks for the help!

(In reply to gori4ka from comment #2)

Are you running MediaWiki 1.22.0 or 1.22.1, and the latest version of the
REL1_22 branch of AFTv5?

MediaWiki 1.22.0

This left out the AFTv5 branch information.
On a related note, see bug 61163 comment 9.

elitsa.uzunova wrote:

Sorry for late reply, yes it is REL1_22, but I see the extension will no longer be maintained and is going to be removed from many sites using it, so you can close this thread.

Jdforrester-WMF subscribed.

All development work on AbuseFilter v.5 (and indeed, previous versions) is halted. The project is archived, so having open tasks is inappropriate. Consequently, I'm closing all tasks.