i have a problem in blog tutorial

When i login occurs following problem.


 PHP Error

    

    Description

    

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

    

    Source File

    

    D:\Badrakh\xampp\htdocs\yii\framework\YiiBase.php(395)

    

    00383:      * @return boolean whether the class has been loaded successfully

    00384:      */

    00385:     public static function autoload($className)

    00386:     {

    00387:         // use include so that the error PHP file may appear

    00388:         if(isset(self::$_coreClasses[$className]))

    00389:             include(YII_PATH.self::$_coreClasses[$className]);

    00390:         else if(isset(self::$classMap[$className]))

    00391:             include(self::$classMap[$className]);

    00392:         else

    00393:         {

    00394:             if(strpos($className,'\\')===false)

    00395:                 include($className.'.php');

    00396:             else  // class name with namespace in PHP 5.3

As the error says… it cannot find the User.php model… so check that you have that file… did you make the User model?

If you have that file than check the correct case… first letter should be uppercase all other lowercase… ie "User.php"