CException

别名 "application.modules.admin.AdminModule" 无效。请确认它指向一个存在的PHP文件。

/web/framework/YiiBase.php(323)

311         if($isClass && (class_exists($className,false) || interface_exists($className,false)))
312             return self::$_imports[$alias]=$className;
313 
314         if(($path=self::getPathOfAlias($alias))!==false)
315         {
316             if($isClass)
317             {
318                 if($forceInclude)
319                 {
320                     if(is_file($path.'.php'))
321                         require($path.'.php');
322                     else
323                         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)));
324                     self::$_imports[$alias]=$className;
325                 }
326                 else
327                     self::$classMap[$className]=$path.'.php';
328                 return $className;
329             }
330             else  // a directory
331             {
332                 if(self::$_includePaths===null)
333                 {
334                     self::$_includePaths=array_unique(explode(PATH_SEPARATOR,get_include_path()));
335                     if(($pos=array_search('.',self::$_includePaths,true))!==false)

Stack Trace

#6
+
 /web/index.php(61): CApplication->run()
56 define('APP_STATE', 1);
57 define('CONTRACT_URL','/upload/images/');
58 define('DATA_URL','');
59 require_once(dirname(__FILE__).'/protected/extensions/voduploadsdk/Autoloader.php');
60 require_once($yii);
61 Yii::createWebApplication($config)->run();
2024-03-19 14:26:19 none Yii Framework/1.1.16