From: Norman M. <no...@se...> - 2006-03-23 09:05:30
|
Hi Flavio, Thank you for testing OpenDocumentPHP. The problems you have encountered with TestOutput.php have mainly two reasons. The first is that in the distribution is an old version of TestOutput.php (and TestInput.php). = Please try=20 it with the current SVN release or contact me via private mail, and I = will send you the current files as an email. The second one is a really bad one. Our current solution to use the "int_set..." statement in TestOutput.php has shown up to be a bad = choice. I have tried to fix this with a very ugly hack. I hope this will help you: Replace the old "ini_set" statement with: // Very dirty hack ...=20 $dsep =3D DIRECTORY_SEPARATOR; $IP =3D dirname( realpath( dirname( dirname ( __FILE__) . = "$dsep..$dsep") ) ); $sep =3D (DIRECTORY_SEPARATOR =3D=3D "\\") ? ";" : ":"; ini_set( "include_path", ini_get( "include_path" ). "$sep$IP" ); // And remove ALL with an addNo... Call in TestOutput.php. This will fix = most of the errors, I hope! Yours Norman |