TPhpErrorException

Description

[Warning] file_put_contents(/home/WWW/www.underground.om.pl/protected/runtime/application.xml-3.1.6/config.cache): failed to open stream: Permission denied (@line 951 in file /home/WWW/PRADO3.1.6/framework/TApplication.php).

Source File

/home/WWW/PRADO3.1.6/framework/TApplication.php (951)

0940:     protected function initApplication()
0941:     {
0942:         Prado::trace('Initializing application','System.TApplication');
0943: 
0944:         if($this->_configFile!==null)
0945:         {
0946:             if($this->_cacheFile===null || @filemtime($this->_cacheFile)<filemtime($this->_configFile))
0947:             {
0948:                 $config=new TApplicationConfiguration;
0949:                 $config->loadFromFile($this->_configFile);
0950:                 if($this->_cacheFile!==null)
0951: file_put_contents($this->_cacheFile,Prado::serialize($config),LOCK_EX);
0952: } 0953: else 0954: $config=Prado::unserialize(file_get_contents($this->_cacheFile)); 0955: 0956: $this->applyConfiguration($config,false); 0957: } 0958: 0959: if(($serviceID=$this->getRequest()->resolveRequest(array_keys($this->_services)))===null) 0960: $serviceID=$this->getPageServiceID(); 0961: 0962: $this->startService($serviceID); 0963: }

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(2, 'file_put_conten...', '/home/WWW/PRADO...', 951, Array)
#1 /home/WWW/PRADO3.1.6/framework/TApplication.php(951): file_put_contents('/home/WWW/www.u...', 'a:1:{i:0;O:25:"...', 2)
#2 /home/WWW/PRADO3.1.6/framework/TApplication.php(370): TApplication->initApplication()
#3 /home/WWW/www.underground.om.pl/index.php(21): TApplication->run()
#4 {main}
2015-09-03 23:20 Apache/2.2.22 (Ubuntu) PRADO/3.1.6