CHttpException

The requested page does not exist.

/home/uridmedi/public_html/protected/controllers/SiteController.php(293)

281                         $newsslideindex = $i;
282                 }
283                 if ($newsslideindex == -1) {
284                     throw new CHttpException(404, 'The requested page does not exist.');
285                 }
286             } else {
287                 $newsslideid = $articleSlidesData[0]->articleslideid;
288                 $newsslideindex = 0;
289             }
290         }
291 
292         if ($articleDetailData === null || $articleDetailData->statusid == 4)
293             throw new CHttpException(404, 'The requested page does not exist.');
294 
295         Yii::app()->db->createCommand("UPDATE articles SET hitcounts = hitcounts + 1 WHERE articleid =" . $_REQUEST['newsid'])->execute();
296         $this->fb_title = $articleDetailData->articleheading;
297         $this->fb_description = strip_tags($articleDetailData->articlecontent);
298         $this->fb_image = "http://" . $_SERVER['HTTP_HOST'] . '/protected/uploadedImages/' . $articleDetailData->articleattachment;
299         $this->fb_tags =$articleDetailData->tags;
300         
301         
302         $categories = explode(",", trim($articleDetailData->categoryid, "{}"));
303 
304         $articleDatas = Articles::model()->findAll(array(
305             'condition' => $categories[0] . ' = ANY(categoryid) AND statusid = 2 ',

Stack Trace

#7
+
 /home/uridmedi/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-19 04:56:05 Apache Yii Framework/1.1.25