PHP warning

PHP warning

include(/home/bpc1/public_html/new/yii/framework/db/schema/mysql/CMysqlSchema.php): failed to open stream: No such file or directory

/home/bpc1/public_html/new/yii/framework/YiiBase.php(406)

394      * This method is provided to be invoked within an __autoload() magic method.
395      * @param string $className class name
396      * @param bool $classMapOnly whether to load classes via classmap only
397      * @return boolean whether the class has been loaded successfully
398      * @throws CException When class name does not match class file in debug mode.
399      */
400     public static function autoload($className,$classMapOnly=false)
401     {
402         // use include so that the error PHP file may appear
403         if(isset(self::$classMap[$className]))
404             include(self::$classMap[$className]);
405         elseif(isset(self::$_coreClasses[$className]))
406             include(YII_PATH.self::$_coreClasses[$className]);
407         elseif($classMapOnly)
408             return false;
409         else
410         {
411             // include class file relying on include_path
412             if(strpos($className,'\\')===false)  // class without namespace
413             {
414                 if(self::$enableIncludePath===false)
415                 {
416                     foreach(self::$_includePaths as $path)
417                     {
418                         $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';

Stack Trace

#7
+
 /home/bpc1/public_html/new/protected/controllers/SiteController.php(2959): CActiveRecord->__construct()
2954         $this->render('verify',array('model'=>$model));
2955     }
2956     public function actioncomplaint()
2957     {        
2958         // $this->layout='main';
2959         $model=new Complaint;
2960         if(isset($_POST['ajax']) && $_POST['ajax']==='complaint-form')
2961             {
2962                 echo CActiveForm::validate($model);
2963                 Yii::app()->end();
2964             }
#15
+
 /home/bpc1/public_html/new/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2021-07-24 09:35:25 Apache Yii Framework/1.1.19