CHttpException

Запрашиваемая Вами страница не существует.

/home/buyhouse/buyhouse.com.ua/www/protected/helpers/common.php(239)

227 function logs($mVal, $fileName = null)
228 {
229     $fileName = $fileName ? $fileName : 'site_debug_logs_' . date('Y-m-d_H-i-s') . md5(uniqid(mt_rand(0, 1000), true)) . '.txt';
230     $filePath = ROOT_PATH . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR . 'logs' . DIRECTORY_SEPARATOR . $fileName;
231 
232     $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n";
233 
234     file_put_contents($filePath, $sLogs, LOCK_EX | FILE_APPEND);
235 }
236 
237 function throw404()
238 {
239     throw new CHttpException(404, tc('The requested page does not exist.'));
240 }
241 
242 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true)
243 {
244     Yii::app()->controller->render('//site/message', array('breadcrumb' => $breadcrumb,
245         'messageTitle' => $messageTitle,
246         'messageText' => $messageText));
247 
248     if ($isEnd) {
249         Yii::app()->end();
250     }
251 }

Stack Trace

#0
+
 /home/buyhouse/buyhouse.com.ua/www/protected/modules/entries/controllers/MainController.php(49): throw404()
44                 }
45             }
46         }
47 
48         if (!$catId)
49             throw404();
50 
51         $model = EntriesCategory::model()->findByPk($catId);
52         if (!$model)
53             throw404();
54 
#19
+
 /home/buyhouse/buyhouse.com.ua/www/index.php(22): CApplication->run()
17 
18 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR
19                                 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install');
20 
21 require_once($yii);
22 Yii::createWebApplication($config)->run();
2024-03-19 12:01:16 LiteSpeed Yii Framework/1.1.22