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 Lees<[email protected]> Subject: Re: [Wikitech-l] help: error with Extension:Runphp To: Wikimedia developers<[email protected]> Message-ID:<[email protected]> 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: ms20080623<[email protected]> > Subject: [Wikitech-l] help: error with Extension:Runphp > To: [email protected] > Message-ID:<[email protected]> > 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 Lees<[email protected]> > Subject: Re: [Wikitech-l] help: error with Extension:Runphp > To: Wikimedia developers<[email protected]> > Message-ID:<[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > In the line > function parsePHP( $input, $argv,&$parser ) { return runphpExecCode( > $input, $argv ); } > Change&$parser to $parser _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
