試圖安裝郵箱yii擴展,按照安裝說明,但出現錯誤。不知道如何解決。這是鏈接擴展http://www.yiiframework.com/extension/mailbox/郵箱擴展yii錯誤
這裏是錯誤跟蹤:
Alias "mailbox.MailboxModule" is invalid. Make sure it points to an existing PHP file and the file is readable.
Z:\home\localhost\www\Kare2Match\framework\YiiBase.php(316)
304 if($isClass && (class_exists($className,false) || interface_exists($className,false)))
305 return self::$_imports[$alias]=$className;
306
307 if(($path=self::getPathOfAlias($alias))!==false)
308 {
309 if($isClass)
310 {
311 if($forceInclude)
312 {
313 if(is_file($path.'.php'))
314 require($path.'.php');
315 else
316 throw new CException(Yii::t('yii','Alias "{alias}" is invalid. Make sure it points to an existing PHP file and the file is readable.',array('{alias}'=>$alias)));
317 self::$_imports[$alias]=$className;
318 }
319 else
320 self::$classMap[$className]=$path.'.php';
321 return $className;
322 }
323 else // a directory
324 {
325 if(self::$_includePaths===null)
326 {
327 self::$_includePaths=array_unique(explode(PATH_SEPARATOR,get_include_path()));
328 if(($pos=array_search('.',self::$_includePaths,true))!==false)
+ Z:\home\localhost\www\Kare2Match\framework\YiiBase.php(196): YiiBase::import("mailbox.MailboxModule", true)
+ Z:\home\localhost\www\Kare2Match\framework\base\CModule.php(282): YiiBase::createComponent("mailbox.MailboxModule", "mailbox", null, array("userClass" => "PersonAbstract", "userIdColumn" => "k2m_internal_id", "usernameColumn" => "nickname"))
+ Z:\home\localhost\www\Kare2Match\framework\web\CWebApplication.php(337): CModule->getModule("mailbox")
+ Z:\home\localhost\www\Kare2Match\framework\web\CWebApplication.php(276): CWebApplication->createController("mailbox")
+ Z:\home\localhost\www\Kare2Match\framework\web\CWebApplication.php(141): CWebApplication->runController("mailbox")
需要它幫助。
我按照指示,只有4個步驟:解壓到模塊目錄。 安裝data/structure.sql – Serghei 2013-02-25 20:49:07
別名'mailbox.MailModule'指向何處? – Stuart 2013-02-25 20:55:52