Re: Template Xipe Bug
| From: | Wolfram Kriesing | Date: | Sat, 18 Oct 2003 18:15:09 +0000 |
| Subject: | Re: Template Xipe Bug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8486@lists.php.net to get a copy of this message | ||
Pablo Enrique Roman Asenjo wrote:
Dear Xipe Maintainer, I think there is a bug in the SimpleTemplate wrapper, because the example: docs/simple/index.php throught the following error: Fatal error: Call to undefined function: writeout() in /usr/share/pear/HTML/Template/Xipe/Main.php on line 761 There are some "FIXXME" that appears in the code that i have partially corrected adding some comment:thanks for the fixes, i will apply them as soon as i can.// if ($this->logObject==null || !is_object($this->logObject) || !$this->_logFileName) { $this->_logFileName = $this->_compiledFilePrefix.$this->getOption('logFileExtension'); $this->logObject = Log::factory('file',$this->_logFileName); $this->_log('---------------------');//FIXXME write the options in the log-file but nicer!!! than here$this->_log('options: '.serialize($this->options)); $this->_log( 'current logLevel is: '.$this->getOption('logLevel') ); //}//FIXXME this writes out the log data every time, which is really ineffective// $this->logObject->log($message); // $this->logObject->writeOut();
It 's ok? (another thing: if the files in tmp/* are already created the problem doesnt occur)yep, thats the case because then nothing is written in the log file, so the according method doesnt get called -- Wolfram http://opensource.visionp.de ... authentication system .... http://sf.net/projects/auth