[Mediawiki-l] Document Approval

Hugo Vasques hugodanielrj at gmail.com
Wed Sep 15 13:39:19 UTC 2010


Hello,

Good morning!

I performed the installation of the extension DocumentApproval.php, ran the
three scripts listed in the documentation, but had to change some Cóias, I
run the following commands to the scripit 2, could run:

alter table fm_revision change rev_id rev_id int(10) unsigned;
alter table fm_revision drop primary key;
alter table fm_revision add primary key (rev_id,rev_page);
alter table fm_revision change rev_id rev_id int(10) UNSIGNED
auto_increment;


But after installing the special page VERSION goes blank if I go in and
comment on the call LocalSettings.php "require_once ("$ IP / extensions /
DocumentApproval.php")", the special page returns to normal.
Can anyone help me?

Here is what I could get the error_log:


[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Notice:  Undefined
variable: spns_text in
/srv/www/mediawiki/extensions/HaloACL/includes/HACL_GlobalFunctions.php on
line 220, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Notice:  Undefined
variable: spns_text in
/srv/www/mediawiki/extensions/HaloACL/includes/HACL_GlobalFunctions.php on
line 221, referer:
http://164.164.164.142/wikifumo/index.php?title=Special:UserLogin&returnto=Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version

[Wed Sep 15 10:36:38 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58, referer:
http://164.164.164.142/wikifumo/index.php/Special:Version

[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
include_once(extensions/ScriptManager/SM_Initialize.php):
failed to open stream: No such file or directory in
/srv/www/mediawiki/LocalSettings.php on line 148

[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
include_once():
Failed opening 'extensions/ScriptManager/SM_Initialize.php' for inclusion
(include_path='/srv/www/mediawiki:/srv/www/mediawiki/includes:/srv/www/mediawiki/languages:.:/usr/share/php5:/usr/share/php5/PEAR')
in /srv/www/mediawiki/LocalSettings.php on line 148

[Wed Sep 15 10:36:39 2010] [error] [client 192.168.9.39] PHP Warning:
Parameter
1 to Language::getMagic() expected to be a reference, value given in
/srv/www/mediawiki/includes/StubObject.php on line 58





Waiting in the wings.

Sincerely,


More information about the MediaWiki-l mailing list