installation issue

trying to install my test app so i can look around but ran across following problem

PHP Error

Description

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

all i did was ran "yiic webapp …\test" and pointed my browser to http://localhost/test/

any suggestions why r we looking for class User? and not finding it?

SOLVED… lol, this is actually funny. after installing yii i simply changed my path to point to yii… without killing my session. so yii picked up my session variable and started looking for it (i like this framework more and more). long story short, removing PHPSESSION cookie solved the problem.

by the way, the sample class User from the blog tutorial looks almost identical to our own frametowork class user




class User extends CActiveRecord

{

	/**

	 * Returns the static model of the specified AR class.

	 * @return CActiveRecord the static model class

	 */

	public static function model($className=__CLASS__)

	{

		return parent::model($className);

	}


	/**

	 * @return string the associated database table name

	 */

	public function tableName()

	{

		return 'User';

	}

}

vs


class User extends PersistentObject {

    var $id;

    var $firstName;

    var $lastName;

    ...


    public static function getTableName() { return 'user'; }

}

:)