PHP warning

include(NotFoundHttpException.php): failed to open stream: No such file or directory

/home/orrbitas/web/orbitavn.com/public_html/lib/YiiBase.php(427)

415                         {
416                             include($classFile);
417                             if(YII_DEBUG && basename(realpath($classFile))!==$className.'.php')
418                                 throw new CException(Yii::t('yii','Class name "{class}" does not match class file "{file}".', array(
419                                     '{class}'=>$className,
420                                     '{file}'=>$classFile,
421                                 )));
422                             break;
423                         }
424                     }
425                 }
426                 else
427                     include($className.'.php');
428             }
429             else  // class name with namespace in PHP 5.3
430             {
431                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
432                 if(($path=self::getPathOfAlias($namespace))!==false)
433                     include($path.'.php');
434                 else
435                     return false;
436             }
437             return class_exists($className,false) || interface_exists($className,false);
438         }
439         return true;

Stack Trace

#2
+
 /home/orrbitas/web/orbitavn.com/public_html/protected/controllers/user/ProductController.php(60): spl_autoload_call("NotFoundHttpException")
55             $count = Yii::app()->db->createCommand('select COUNT(`id`) as `count` from `' . MProducts::model()->tableName() . '` where `status` = 1 and `parent` = "' . $model['id'] . '" ')->queryScalar();
56             $pages = new CPagination($count);
57             $pages->setPageSize($this->limit);
58             $this->render('category', array('models' => $models, 'model' => $model, 'pages' => $pages));
59         } else {
60             throw new NotFoundHttpException('Content Not Found');
61         }
62     }
63 
64     public function actionSearch() {
65         $query = "SELECT * FROM `" . MProducts::model()->tableName() . "` WHERE status = 1 ";
#12
+
 /home/orrbitas/web/orbitavn.com/public_html/protected/components/WebApplication.php(18): CApplication->run()
13      public function runEnd($name)
14      {
15          $this->__name = $name;
16          $this->onRunEnd = array(&$this,'changePath');
17          $this->onRunEnd(new CEvent($this->owner));
18          $this->owner->run();
19      }
20 
21      public function onRunEnd(CEvent $event)
22      {
23          $this->raiseEvent('onRunEnd',$event);
#15
+
 /home/orrbitas/web/orbitavn.com/public_html/index.php(23): CComponent->__call("runEnd", array("user"))
18 // specify how many levels of call stack should be shown in each log message
19 defined('YII_TRACE_LEVEL') OR define('YII_TRACE_LEVEL', 3);
20 
21 require_once ($yii);
22 
23 Yii::createWebApplication($config)->runEnd('user');
2024-03-19 12:03:46 Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16 Yii Framework/1.1.15