CHttpException

Aceasta pagina nu exista

/home/housedat/public_html/protected/helpers/common.php(229)

217 }
218 
219 function logs($mVal, $file = 'logs.txt')
220 {
221     $file = fopen(ROOT_PATH . '/uploads/' . $file, 'a+');
222     $sLogs = date("d.m.y H:i : ") . var_export($mVal, true) . "\n";
223     fwrite($file, $sLogs);
224     fclose($file);
225 }
226 
227 function throw404()
228 {
229     throw new CHttpException(404, tc('The requested page does not exist.'));
230 }
231 
232 function showMessage($messageTitle, $messageText, $breadcrumb = '', $isEnd = true)
233 {
234     Yii::app()->controller->render('//site/message', array('breadcrumb' => $breadcrumb,
235         'messageTitle' => $messageTitle,
236         'messageText' => $messageText));
237 
238     if ($isEnd) {
239         Yii::app()->end();
240     }
241 }

Stack Trace

#0
+
 /home/housedat/public_html/protected/modules/users/controllers/MainController.php(125): throw404()
120         }
121 
122         $usersListPage = Menu::model()->findByPk(Menu::USERS_LIST_ID);
123         if ($usersListPage) {
124             if ($usersListPage->active == 0) {
125                 throw404();
126             }
127         }
128 
129         $this->showSearchForm = false;
130 
#17
+
 /home/housedat/public_html/index.php(26): CApplication->run()
21 
22 define('ALREADY_INSTALL_FILE', ROOT_PATH . DIRECTORY_SEPARATOR . 'protected' . DIRECTORY_SEPARATOR
23                                 . 'runtime' . DIRECTORY_SEPARATOR . 'already_install');
24 
25 require_once($yii);
26 Yii::createWebApplication($config)->run();
27 include_once "analyticstracking.php";
28 
29 
2024-03-28 10:51:58 LiteSpeed Yii Framework/1.1.20