This topic is locked

PHPRunner 3.1 Compilation error in function.doevent

8/23/2006 12:14:34 PM
PHPRunner General questions
Pfeiffer author

Hi,
I defined a simple echo-message in onload and get an error.
function ListOnLoad()

{

global $strSQL;

//** Display a message on the Web page ****

echo "Your message here";
}
I got the error message

Parse error: parse error, unexpected $end in C:\Program Files\PHPRunner3.1\projects\ATM-Dozenten\output\libs\plugins\function.doevent.php(5) : eval()'d code on line 1
In the file the content is

<?php

function smarty_function_doevent($params, &$smarty)

{

if(function_exists($params["name"]))

eval($params["name"]);

}

?>
is it my fault ??
Best regards
Uwe Pfeiffer

J
Jane 8/24/2006

Uwe,
thank you for pointing me to this bug.

We'll fix it in the next PHPRunner update which will be ready later today.