Přihlásit se Domluvit ukázku
PHP warning

PHP warning

file_put_contents(/var/www/html/protected/runtime/debug/6a9e19d123d74.data): Failed to open stream: Permission denied

/var/www/html/protected/extensions/yii2-debug/Yii2Debug.php(242)

230                     $panel->filterData,
231                     array('data' => $data[$panel->getId()])
232                 );
233             }
234             $panel->load($data[$panel->getId()]);
235         }
236 
237         $data['summary'] = $this->prepareDataSummary();
238 
239         $path = $this->logPath;
240         if (!is_dir($path)) mkdir($path);
241 
242         file_put_contents("$path/{$this->getTag()}.data", serialize($data));
243         $this->updateIndexFile("$path/index.data", $data['summary']);
244     }
245 
246     /**
247      * Updates index file with summary log data
248      *
249      * @param string $indexFile path to index file
250      * @param array $summary summary log data
251      * @throws Exception
252      */
253     private function updateIndexFile($indexFile, $summary)
254     {

Stack Trace

#0
+
 /var/www/html/protected/extensions/yii2-debug/Yii2Debug.php(242): file_put_contents("/var/www/html/protected/runtime/debug/6a9e19d123d74.data", "a:7:{s:6:"config";a:4:{s:10:"phpVersion";s:6:"8.4.19";s:10:"yiiV...")
237         $data['summary'] = $this->prepareDataSummary();
238 
239         $path = $this->logPath;
240         if (!is_dir($path)) mkdir($path);
241 
242         file_put_contents("$path/{$this->getTag()}.data", serialize($data));
243         $this->updateIndexFile("$path/index.data", $data['summary']);
244     }
245 
246     /**
247      * Updates index file with summary log data
#1
+
 /var/www/html/protected/extensions/yii2-debug/Yii2Debug.php(217): Yii2Debug->processDebug()
212     /**
213      * @param CEvent $event
214      */
215     protected function onEndRequest($event)
216     {
217         $this->processDebug();
218     }
219 
220     /**
221      * Log processing routine.
222      */
#5
+
 /var/www/html/index.php(27): CApplication->run()
22 // specify how many levels of call stack should be shown in each log message
23 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
24 
25 require_once($globals);
26 require_once($yii);
27 Yii::createWebApplication($config)->run();
2026-09-07 03:56:33 Apache/2.4.66 (Debian) Yii Framework/1.1.32