Template Xipe Bug

From: Date: Mon, 13 Oct 2003 23:09:59 +0000
Subject: Template Xipe Bug
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8412@lists.php.net to get a copy of this message
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: // 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) -- Atte, Pablo E. Roman Asenjo Jefe de desarrollo Area de Desarrollo de Infotecnologias(ADI) proman@dcc.uchile.cl Escuela de Ingenieria y Ciencias Universidad de Chile -------------------------------- The problem solving algorithm: "If you cannot solve a problem, then there is an easier problem that you cannot solve: find it" George Polya --------------------------------

« previous php.pear.general (#8412) next »