Hi again!
I think I've found the solution to my problem:
Changing the following line in accesscontrol.php from:
function doControlUserAccess( $input, $argv, &$parser )
to:
function doControlUserAccess( $input, $argv, $parser )
seems to solve the problem and lets the extension work as wanted! :-)
As I'm not really fluent in php I don't really understand what the change means
- I just googled for the error-message, found a similar correction concerning
joomla and tried it in the extension.
Can anybody explain it to me or should I rather not know the details? ;-)
Greetings
Kawo
Katharina Wolkwitz schrieb am 19.08.2009 08:43:
Hi all!
Update: I cannot see the access-information on any pages anymore, and the
access-control only works partly, as users can see any page, whether they are
supposed to or not, but the editing-access-control seems to work...
Please help!
Katharina
Katharina Wolkwitz schrieb am 18.08.2009 12:21:
> Hi All,
>
> After upgrading to Xampp 1.7.2 and MediaWiki 1.15.1 I get the following error
> whenever I call-up a wiki-page with the <accesscontrol>-tag at the top.
>
> Warning: Parameter 3 to doControlUserAccess() expected to be a reference, value
> given in /opt/lampp/htdocs/_fhbwiki/includes/parser/Parser.php on line 3243
>
> I'm using the latest version (0.8).
>
> Does anybody has an idea what to do about that? Thanks!
>
> Everything works ok with:
> MediaWiki 1.14.0
> PHP 5.2.9 (apache2handler)
> MySQL 5.1.33
>
> But the error occurs with:
> MediaWiki 1.15.1
> PHP 5.3.0 (apache2handler)
> MySQL 5.1.37
>
> So long!
> Katharina