[Warning] fopen(/var/www/pm.dmstr.net/protected/var/tmp/propel.log) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied (@line 228 in file /var/www/pm.dmstr.net/protected/lib/log/Log/Log_file.php).
/var/www/pm.dmstr.net/protected/lib/log/Log/Log_file.php (228)
0217: {
0218: if (!$this->_opened) {
0219: /* If the log file's directory doesn't exist, create it. */
0220: if (!is_dir(dirname($this->_filename))) {
0221: $this->_mkpath($this->_filename, $this->_dirmode);
0222: }
0223:
0224: /* Determine whether the log file needs to be created. */
0225: $creating = !file_exists($this->_filename);
0226:
0227: /* Obtain a handle to the log file. */
0228: $this->_fp = fopen($this->_filename, ($this->_append) ? 'a' : 'w');
0229:
0230: /* We consider the file "opened" if we have a valid file pointer. */
0231: $this->_opened = ($this->_fp !== false);
0232:
0233: /* Attempt to set the file's permissions if we just created it. */
0234: if ($creating && $this->_opened) {
0235: chmod($this->_filename, $this->_mode);
0236: }
0237: }
0238:
0239: return $this->_opened;
0240: }
#0 [internal function]: PradoBase::phpErrorHandler(2, 'fopen(/var/www/...', '/var/www/pm.dms...', 228, Array)
#1 /var/www/pm.dmstr.net/protected/lib/log/Log/Log_file.php(228): fopen('/var/www/pm.dms...', 'a')
#2 /var/www/pm.dmstr.net/protected/lib/log/Log/Log_file.php(293): Log_file->open()
#3 /var/www/pm.dmstr.net/protected/lib/log/Log.php(289): Log_file->log('Could not get a...', 3)
#4 /var/www/pm.dmstr.net/protected/lib/propel/runtime/classes/propel/Propel.php(399): Log->err('Could not get a...')
#5 /var/www/pm.dmstr.net/protected/lib/propel/runtime/classes/propel/util/Criteria.php(1257): Propel::log('Could not get a...', 3)
#6 /var/www/pm.dmstr.net/protected/lib/propel/runtime/classes/propel/util/Criteria.php(1241): Criterion->init(Object(Criteria))
#7 /var/www/pm.dmstr.net/protected/lib/propel/runtime/classes/propel/util/Criteria.php(1043): Criterion->__construct(Object(Criteria), 'l_virtual_nodes...', 1, '<>')
#8 /var/www/pm.dmstr.net/protected/pages/phundament/LVirtualNodes/LPageService.php(176): Criteria->addAnd('l_virtual_nodes...', 1, '<>')
#9 /var/www/pm.dmstr.net/protected/pages/phundament/LVirtualNodes/LPageService.php(71): LPageService->prepareNodes()
#10 /var/www/pm.dmstr.net/protected/pages/phundament/LVirtualNodes/LPageService.php(332): LPageService->getNodes()
#11 /var/www/pm.dmstr.net/protected/lib/prado/Web/Services/TPageService.php(322): LPageService->determineRequestedPagePath()
#12 /var/www/pm.dmstr.net/protected/lib/prado/Web/Services/TPageService.php(211): TPageService->getRequestedPagePath()
#13 /var/www/pm.dmstr.net/protected/lib/prado/Web/Services/TPageService.php(140): TPageService->loadPageConfig(Object(TXmlElement))
#14 /var/www/pm.dmstr.net/protected/pages/phundament/LVirtualNodes/LPageService.php(134): TPageService->init(Object(TXmlElement))
#15 /var/www/pm.dmstr.net/protected/lib/prado/TApplication.php(965): LPageService->init(Object(TXmlElement))
#16 /var/www/pm.dmstr.net/protected/lib/prado/TApplication.php(933): TApplication->startService('page')
#17 /var/www/pm.dmstr.net/protected/lib/prado/TApplication.php(364): TApplication->initApplication()
#18 /var/www/pm.dmstr.net/index.php(29): TApplication->run()
#19 {main}