Yii problem in blog tutorial

Posted by Kani on Stack Overflow See other posts from Stack Overflow or by Kani
Published on 2010-12-25T11:37:52Z Indexed on 2010/12/25 11:54 UTC
Read the original article Hit count: 266

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about login

Related posts about tutorials