yiic shell problem

hi,

i have downloaded yii and wanted to do the blog tutorial. in the yiic shell step, i got this error:




<!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>                                                             

CException</title>                                                  


<style type="text/css">

/*<![CDATA[*/          

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

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:#ffffee;}

.error {background-color: #ffeeee;}                                                

/*]]>*/                                                                            

</style>                                                                           

</head>                                                                            


<body>

<h1>CException</h1>


<h3>Description</h3>

<p class="message"> 

Property &quot;CWebApplication.import&quot; is not defined.</p>


<h3>Source File</h3>

<p>                 

/var/www/localhost/htdocs/yii/framework/base/CModule.php(431)</p>


<div class="source">

<pre>

00419:         }

00420:     }

00421:

00422:     /**

00423:      * Configures the module with the specified configuration.

00424:      * @param array the configuration array

00425:      */

00426:     public function configure($config)

00427:     {

00428:         if(is_array($config))

00429:         {

00430:             foreach($config as $key=&gt;$value)

<div class="error">00431:                 $this-&gt;$key=$value;

</div>00432:         }

00433:     }

00434:

00435:     /**

00436:      * Loads static application components.

00437:      */

00438:     protected function preloadComponents()

00439:     {

00440:         foreach($this-&gt;preload as $id)

00441:             $this-&gt;getComponent($id);

00442:     }

00443:

</pre>

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


<h3>Stack Trace</h3>

<div class="callstack">

<pre>

#0 /var/www/localhost/htdocs/yii/framework/base/CModule.php(431): CComponent-&gt;__set('import', Array)

#1 /var/www/localhost/htdocs/yii/framework/base/CApplication.php(117): CModule-&gt;configure(Array)

#2 /var/www/localhost/htdocs/yii/framework/YiiBase.php(81): CApplication-&gt;__construct('/var/www/localh...')

#3 /var/www/localhost/htdocs/blog/index.php(11): YiiBase::createWebApplication('/var/www/localh...')

#4 /var/www/localhost/htdocs/yii/framework/cli/commands/ShellCommand.php(78): require('/var/www/localh...')

#5 /var/www/localhost/htdocs/yii/framework/console/CConsoleCommandRunner.php(62): ShellCommand-&gt;run(Array)

#6 /var/www/localhost/htdocs/yii/framework/console/CConsoleApplication.php(88): CConsoleCommandRunner-&gt;run(Array)

#7 /var/www/localhost/htdocs/yii/framework/base/CApplication.php(134): CConsoleApplication-&gt;processRequest()

#8 /var/www/localhost/htdocs/yii/framework/yiic.php(31): CApplication-&gt;run()

#9 /var/www/localhost/htdocs/blog/protected/yiic.php(7): require_once('/var/www/localh...')

#10 /var/www/localhost/htdocs/blog/protected/yiic(4): require_once('/var/www/localh...')

#11 {main}</pre>

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


<div class="version">

2009-09-01 14:38:45 <a href="http://www.yiiframework.com/">Yii Framework</a>/1.0.8</div>

</body>

</html>mengu@mengu-pardus protected $




anyone has any idea why is this happening? i am using php 5.2.10 and mysql 5.1 on a linux distro called pardus. i appreciate any help.

anyone has any idea? i guess this is the error message that can solve this problem:

and i am using yii 1.0.8.

maybe if you try to post this issue in the bug report thread - http://www.yiiframework.com/forum/index.php?/forum/11-bug-reports/

–iM

as you mentioned on the irc channel, if this was a common issue, many people would face this problem. however it seems i am the only one that is encountering this problem.