POPTÁVKA

jméno a příjmení (povinný údaj)
společnost
telefon
email (povinný údaj)
vaše poptávka

PHP Error

PHP Error

Description

error_log(/home/www/twindesign.cz/public_html/www/offers/protected/runtime/application.log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Permission denied

Source File

/home/www/twindesign.cz/public_html/www/framework/logging/CFileLogRoute.php(138)

00126:     }
00127: 
00128:     /**
00129:      * Saves log messages in files.
00130:      * @param array list of log messages
00131:      */
00132:     protected function processLogs($logs)
00133:     {
00134:         $logFile=$this->getLogPath().DIRECTORY_SEPARATOR.$this->getLogFile();
00135:         if(@filesize($logFile)>$this->getMaxFileSize()*1024)
00136:             $this->rotateFiles();
00137:         foreach($logs as $log)
00138: error_log($this->formatLogMessage($log[0],$log[1],$log[2],$log[3]),3,$logFile);
00139: } 00140: 00141: /** 00142: * Rotates log files. 00143: */ 00144: protected function rotateFiles() 00145: { 00146: $file=$this->getLogPath().DIRECTORY_SEPARATOR.$this->getLogFile(); 00147: $max=$this->getMaxLogFiles(); 00148: for($i=$max;$i>0;--$i) 00149: { 00150: $rotateFile=$file.'.'.$i;

Stack Trace

#0 /home/www/twindesign.cz/public_html/www/framework/logging/CFileLogRoute.php(138): error_log()
#1 /home/www/twindesign.cz/public_html/www/framework/logging/CLogRoute.php(86): CFileLogRoute->processLogs()
#2 /home/www/twindesign.cz/public_html/www/framework/logging/CLogRouter.php(109): CFileLogRoute->collectLogs()
#3 /home/www/twindesign.cz/public_html/www/framework/base/CComponent.php(518): CLogRouter->collectLogs()
#4 /home/www/twindesign.cz/public_html/www/framework/base/CApplication.php(167): CWebApplication->raiseEvent()
#5 /home/www/twindesign.cz/public_html/www/framework/base/CApplication.php(134): CWebApplication->onEndRequest()
#6 /home/www/twindesign.cz/public_html/www/offers/index.php(22): CWebApplication->run()
2012-02-08 11:01:40 Apache Yii Framework/1.0.6