ПОЧТА

sales@topseti.ru

ЕДИНЫЙ НОМЕР

8 (800) 555-70-57

Москва

8 (495) 646-70-57

Санкт-Петербург

8 (812) 645-70-58

Бренды
Цена, руб
Очистить

VoIP-оборудование

PHP warning

PHP warning

file_put_contents(): Only 0 of 4465 bytes written, possibly out of free disk space

/home/topseti_user/web/topseti.ru/public_html/protected/extensions/debug/Yii2Debug.php(198)

186             'time' => time(),
187         );
188         $this->resizeHistory($manifest);
189 
190         $dataFile = "$path/{$this->getTag()}.json";
191         $data = array();
192         foreach ($this->panels as $panel) {
193             $data[$panel->id] = $panel->save();
194             $panel->load($data[$panel->id]);
195         }
196         $data['summary'] = $summary;
197 
198         file_put_contents($dataFile, json_encode($data));
199         file_put_contents($indexFile, json_encode($manifest));
200     }
201 
202     /**
203      * Удаление ранее сохраненных логов когда общее их кол-во больше historySize
204      * @param $manifest
205      */
206     protected function resizeHistory(&$manifest)
207     {
208         if (count($manifest) > $this->historySize + 10) {
209             $path = $this->logPath;
210             $n = count($manifest) - $this->historySize;

Stack Trace

#0
+
 /home/topseti_user/web/topseti.ru/public_html/protected/extensions/debug/Yii2Debug.php(198): file_put_contents("/home/topseti_user/web/topseti.ru/public_html/protected/runtime/...", "{"config":{"phpVersion":"5.6.40-30+ubuntu18.04.1+deb.sury.org+1"...")
193             $data[$panel->id] = $panel->save();
194             $panel->load($data[$panel->id]);
195         }
196         $data['summary'] = $summary;
197 
198         file_put_contents($dataFile, json_encode($data));
199         file_put_contents($indexFile, json_encode($manifest));
200     }
201 
202     /**
203      * Удаление ранее сохраненных логов когда общее их кол-во больше historySize
#1
+
 /home/topseti_user/web/topseti.ru/public_html/protected/extensions/debug/Yii2Debug.php(163): Yii2Debug->processDebug()
158     /**
159      * @param CEvent $event
160      */
161     protected function onEndRequest($event)
162     {
163         $this->processDebug();
164     }
165 
166     /**
167      * Запись отладочной информации
168      */
#2
+
 /home/topseti_user/web/topseti.ru/public_html/protected/yiilite.php(822): Yii2Debug->onEndRequest(CEvent)
817                         // an array: 0 - object, 1 - method name
818                         list($object,$method)=$handler;
819                         if(is_string($object))    // static method call
820                             call_user_func($handler,$event);
821                         elseif(method_exists($object,$method))
822                             $object->$method($event);
823                         else
824                             throw new CException(Yii::t('yii','Event "{class}.{event}" is attached with an invalid handler "{handler}".',
825                                 array('{class}'=>get_class($this), '{event}'=>$name, '{handler}'=>$handler[1])));
826                     }
827                     else // PHP 5.3: anonymous function
2025-02-16 02:13:34 nginx/1.19.2 Yii Framework/1.1.13