Thank you Benjamin!
But I tried this solution before and got more error information.
Any other suggestion?
Thanks a lot,
MS
Date: Mon, 23 May 2011 04:07:31 -0400 From: Benjamin Leesemufarmers@gmail.com Subject: Re: [Wikitech-l] help: error with Extension:Runphp To: Wikimedia developerswikitech-l@lists.wikimedia.org Message-ID:BANLkTim_wnfewCKH4GKXFwNai_JiTAuYvw@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
In the line function parsePHP( $input, $argv,&$parser ) { return runphpExecCode( $input, $argv ); } Change&$parser to $parser
Message: 4 Date: Mon, 23 May 2011 12:28:11 +0800 From: ms20080623ms20080623@gmail.com Subject: [Wikitech-l] help: error with Extension:Runphp To: wikitech-l@lists.wikimedia.org Message-ID:4DD9E25B.1020506@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi All,
I am trying to use the Extension:Runphp, but I got the following error message:
Warning: Parameter 3 to parsePHP() expected to be a reference, value given in C:\xampp\htdocs\mywork\mediawiki-1.16.1\includes\parser\Parser.php on line 3333
Other information:
Version: mediawiki-1.16.2
Script:
<runphp> <?php echo "Hello World!\n"; ?> </runphp>
What's wrong with the extenssion? Could you please give me some hints for solving this problem? Thanks a lot.
Best wishes,
MS
Message: 5 Date: Mon, 23 May 2011 04:07:31 -0400 From: Benjamin Leesemufarmers@gmail.com Subject: Re: [Wikitech-l] help: error with Extension:Runphp To: Wikimedia developerswikitech-l@lists.wikimedia.org Message-ID:BANLkTim_wnfewCKH4GKXFwNai_JiTAuYvw@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
In the line function parsePHP( $input, $argv,&$parser ) { return runphpExecCode( $input, $argv ); } Change&$parser to $parser