Last modified: 2014-11-09 14:15:46 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 T73960, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71960 - Cannot install: Class 'Flow\Model\Header' not found
Cannot install: Class 'Flow\Model\Header' not found
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
REL1_23-branch
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-11 18:46 UTC by Guo Yunhe
Modified: 2014-11-09 14:15 UTC (History)
5 users (show)

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


Attachments

Description Guo Yunhe 2014-10-11 18:46:57 UTC
Get errors when installing:

Fatal error: Class 'Flow\Model\Header' not found in /var/www/wiki/extensions/Flow/FlowActions.php on line 37

It just cannot work at all...

I have tried to install it again in a new empty MediaWiki, but failed again.
Comment 1 Andre Klapper 2014-10-12 17:58:02 UTC
Which MediaWiki version and which Flow version is this about?
Comment 2 Guo Yunhe 2014-10-12 18:02:00 UTC
(In reply to Andre Klapper from comment #1)
> Which MediaWiki version and which Flow version is this about?

MediaWiki 1.23.5

Flow 5453f5d

Mantle 97fda47
Comment 3 spage 2014-10-14 19:25:41 UTC
That's strange.

Flow.php:91:$wgAutoloadClasses['Flow\Model\Header'] = $dir . 'includes/Model/Header.php';

includes/Model/Header.php:3:namespace Flow\Model;

Those two lines should be enough for PHP to figure it out. Which version of PHP are you running? Namespaces were introduced in 5.3.0.

Flow development has required changes to core MediaWiki.  Even the version of Flow that you're using from April required MediaWiki 1.24.  Note the caution in https://www.mediawiki.org/wiki/Extension:Flow , it's a fast-moving project.
Comment 4 Guo Yunhe 2014-10-14 19:33:12 UTC
(In reply to spage from comment #3)
> That's strange.
> 
> Flow.php:91:$wgAutoloadClasses['Flow\Model\Header'] = $dir .
> 'includes/Model/Header.php';
> 
> includes/Model/Header.php:3:namespace Flow\Model;
> 
> Those two lines should be enough for PHP to figure it out. Which version of
> PHP are you running? Namespaces were introduced in 5.3.0.
> 
> Flow development has required changes to core MediaWiki.  Even the version
> of Flow that you're using from April required MediaWiki 1.24.  Note the
> caution in https://www.mediawiki.org/wiki/Extension:Flow , it's a
> fast-moving project.

I am using PHP 5.3.10.
Comment 5 Guo Yunhe 2014-11-09 14:15:46 UTC
I confirm this problem is solved by updating MediaWiki to 1.23.6.

This problem is caused by bug #67440, which is fixed in 1.23.6.

https://bugzilla.wikimedia.org/show_bug.cgi?id=67440

When I update MediaWiki to 1.23.6, I successfully installed Flow plugin.
(Unluckly, it doesn't work well now. But that is another problem.)

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


Navigation
Links