PHP warning

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

/home/uahorses/public_html/framework/YiiBase.php(421)

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

Stack Trace

#2
+
 /home/uahorses/public_html/protected/modules/user/controllers/RecoveryController.php(22): spl_autoload_call("UserRecoveryForm")
17     
18     /**
19      * Recovery password
20      */
21     public function actionRecovery () {
22         $form = new UserRecoveryForm;
23         if (Yii::app()->user->id) {
24                 $this->redirect(Yii::app()->controller->module->returnUrl);
25             } else {
26                 $email = ((isset($_GET['email']))?$_GET['email']:'');
27                 $activkey = ((isset($_GET['activkey']))?$_GET['activkey']:'');
#10
+
 /home/uahorses/public_html/index.php(37): CApplication->run()
32 // specify how many levels of call stack should be shown in each log message
33 defined ( 'YII_TRACE_LEVEL' ) or define ( 'YII_TRACE_LEVEL', 3 );
34 
35 require_once ($yii);
36 
37 Yii::createWebApplication ( $config )->run ();
38 
39 if (Yii::app ()->user->isGuest && isset ( $_SESSION ['mc'] ['id'] ) && $_SESSION ['mc'] ['id'] != 0) {
40     
41     /* простой парсинг (для phpMyAdmin)
42      * INSERT INTO `ua_horses`.`tbl_users`(`forum_id_member`, `username`, `password`, `email`, `superuser`, `status`, `nickname`) SELECT `id_member` as forum_id_member, `member_name` as username, `passwd` as password, `email_address` as email, 0 as superuser, 1 as status, `member_name` as nickname FROM `arplaorg_forum`.`smf_members` WHERE `passwd` <> "migrated" GROUP BY `email_address`
2024-03-19 11:31:45 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.45 Yii Framework/1.1.13