|
From: Flavio R. <fla...@gm...> - 2006-03-23 10:07:28
|
Hi Norman your new file works on my system, thank you! I notice both title and author tags get set correctly, but I do not see any of my content of the <textarea> -tag in TestInput.php transmitted to test.odt? Instead I see the following to lines: The first step This is a little test! Any idea what went wrong here? -Flavio Norman Markgraf wrote: > 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 > 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 ... > $dsep = DIRECTORY_SEPARATOR; > $IP = dirname( realpath( dirname( dirname ( __FILE__) . "$dsep..$dsep") ) ); > $sep = (DIRECTORY_SEPARATOR == "\\") ? ";" : ":"; > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > OpenDocumentPHP-Developers mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opendocumentphp-developers > > |