can not model user

<!DOCTYPE html PUBLIC

        "-//W3C//DTD XHTML 1.0 Transitional//EN"

        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<title>

PHP Error</title>

<style type="text/css">

/<![CDATA[/

body {font-family:"Verdana";font-weight:normal;color:black;background-color:whit

e;}

h1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

h2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

h3 {font-family:"Verdana";font-weight:bold;font-size:11pt}

p {font-family:"Verdana";font-size:9pt;}

pre {font-family:"Lucida Console";font-size:10pt;}

.version {color: gray;font-size:8pt;border-top:1px solid #aaaaaa;}

.message {color: maroon;}

.source {font-family:"Lucida Console";font-weight:normal;background-color:#ffffe

e;}

.error {background-color: #ffeeee;}

/]]>/

</style>

</head>

<body>

<h1>PHP Error</h1>

<h3>Description</h3>

<p class="message">

YiiBase::include(PDO.php): failed to open stream: No such file or directory</p>

<h3>Source File</h3>

<p>

C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\YiiBase.php(292)</p>

<div class="source">

<pre>

00280:      * Class autoload loader.

00281:      * This method is provided to be invoked within an __autoload() magic

method.

00282:      * @param string class name

00283:      */

00284:    public static function autoload($className)

00285:    {

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

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

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

00289:        else if(isset(self::$_classes[$className]))

00290:            include(self::$_classes[$className]);

00291:        else

<div class="error">00292:            include($className.&#039;.php&#039;);

</div>00293:    }

00294:

00295:    /**

00296:      * Writes a trace message.

00297:      * This method will only log a message when the application is in deb

ug mode.

00298:      * @param string message to be logged

00299:      * @param string category of the message

00300:      * @see log

00301:      */

00302:    public static function trace($msg,$category=&#039;application&#039;)

00303:    {

00304:        if(YII_DEBUG)

</pre>

</div><!-- end of source -->

<h3>Stack Trace</h3>

<div class="callstack">

<pre>

#0 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\YiiBase.php(292): autol

oad()

#1 unknown(0): autoload()

#2 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\db\CDbConnection.php(22

6): spl_autoload_call()

#3 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\db\CDbConnection.php(20

8): CDbConnection-&gt;open()

#4 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\db\CDbConnection.php(18

7): CDbConnection-&gt;setActive()

#5 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\base\CApplication.php(7

26): CDbConnection-&gt;init()

#6 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\base\CApplication.php(3

77): CWebApplication-&gt;getComponent()

#7 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\cli\commands\shell\Mode

lCommand.php(92): CWebApplication-&gt;getDb()

#8 unknown(0): ModelCommand-&gt;generateModel()

#9 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\console\CConsoleCommand

.php(116): call_user_func()

#10 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\cli\commands\shell\Mod

elCommand.php(72): ModelCommand-&gt;copyFiles()

#11 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\cli\commands\ShellComm

and.php(99): ModelCommand-&gt;run()

#12 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\cli\commands\ShellComm

and.php(79): ShellCommand-&gt;runShell()

#13 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\console\CConsoleComman

dRunner.php(62): ShellCommand-&gt;run()

#14 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\console\CConsoleApplic

ation.php(88): CConsoleCommandRunner-&gt;run()

#15 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\base\CApplication.php(

162): CConsoleApplication-&gt;processRequest()

#16 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\yiic.php(30): CConsole

Application-&gt;run()

#17 C:\Program Files\EasyPHP 2.0b1\www\Yii1.0.1\framework\yiic(15): require_once

()

</pre>

</div><!-- end of callstack -->

<div class="version">

2009-01-05 12:18:39 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.0

.1</div>

</body>

</html>

Please take a look at this post:

http://www.yiiframew…opic,460.0.html