PHP warning

PHP warning

include(ProfileAdd.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

/home/c/cd97155/avtor.ru/public_html/yii/framework/YiiBase.php(418)

406                 {
407                     foreach(self::$_includePaths as $path)
408                     {
409                         $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php';
410                         if(is_file($classFile))
411                         {
412                             include($classFile);
413                             break;
414                         }
415                     }
416                 }
417                 else
418                     include($className.'.php');
419             }
420             else  // class name with namespace in PHP 5.3
421             {
422                 $namespace=str_replace('\\','.',ltrim($className,'\\'));
423                 if(($path=self::getPathOfAlias($namespace))!==false)
424                     include($path.'.php');
425                 else
426                     return false;
427             }
428             return class_exists($className,false) || interface_exists($className,false);
429         }
430         return true;

Stack Trace

#2
+
 /home/c/cd97155/avtor.ru/public_html/protected/controllers/SiteController.php(849): spl_autoload_call("ProfileAdd")
844 
845     $way = isset($_GET['way']) ? $_GET['way'] : 0;
846 
847     Yii::app()->session['preview']=0;
848     $model = new Document;
849     $model_profileadd = new ProfileAdd;
850     $flag = 'guest';
851     $user_id = Yii::app()->user->id;
852     if($way!=0 and !$user_id)
853     {
854         $this->redirect(array('site/registrate'));
#10
+
 /home/c/cd97155/avtor.ru/public_html/index.php(24): CApplication->run()
19 defined('YII_DEBUG') or define('YII_DEBUG',true);
20 // specify how many levels of call stack should be shown in each log message
21 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
22 
23 require_once($yii);
24 Yii::createWebApplication($config)->run();
2024-03-29 04:25:51 Apache/2.4.29 Yii Framework/1.1.10