This topic is locked

Cannot redeclare echobig()

2/16/2008 12:43:43 PM
PHPRunner General questions
R
rafamarquez author

Hi
I have this error
Fatal error: Cannot redeclare echobig() (previously declared in C:\Arquivos de programas\Apache Software Foundation\Apache2.2\htdocs\finanzas\informes\runner\ListadoGastosCliente_fulltext.php:51) in C:\Arquivos de programas\Apache Software Foundation\Apache2.2\htdocs\finanzas\informes\runner\include\commonfunctions.php on line 834
When I click in the link More..... in the Report
How can I resolve this issue?
Hugo Rafael

Alexey admin 2/18/2008

Hugo,
thank you for pointing me to this bug.

To fix it modify fulltext.php file in C:\Program Files\PHPRunner4.2\source folder.

Find and remove this snippet from there:

function echobig($string, $bufferSize = 8192)

{

for ($chars=strlen($string)-1,$start=0;$start <= $chars;$start += $bufferSize)

echo substr($string,$start,$bufferSize);

}


Then rebuild your project.

L
laonian 2/22/2008

Hugo,

thank you for pointing me to this bug.

To fix it modify fulltext.php file in C:\Program Files\PHPRunner4.2\source folder.

Find and remove this snippet from there:
Then rebuild your project.


I have the same problem. I did find the above code and remove it. But the code is in the project output folder in projectname_fulltext.php not in the fulltext.php in the PHPRunner application source folder.

J
Jane 2/26/2008

Hi,
table name is added to the file name when project is built.