CException

L'alias « application\controllers\admin\globalsettings » est invalide. Vérifiez qu'il pointe vers un fichier PHP existant.

/data/webdev/master/framework/YiiBase.php(289)

277 
278         if(($pos=strrpos($alias,'\\'))!==false) // a class name in PHP 5.3 namespace format
279         {
280             $namespace=str_replace('\\','.',ltrim(substr($alias,0,$pos),'\\'));
281             if(($path=self::getPathOfAlias($namespace))!==false)
282             {
283                 $classFile=$path.DIRECTORY_SEPARATOR.substr($alias,$pos+1).'.php';
284                 if($forceInclude)
285                 {
286                     if(is_file($classFile))
287                         require($classFile);
288                     else
289                         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)));
290                     self::$_imports[$alias]=$alias;
291                 }
292                 else
293                     self::$classMap[$alias]=$classFile;
294                 return $alias;
295             }
296             else
297             {
298                 // try to autoload the class with an autoloader
299                 if (class_exists($alias,true))
300                     return self::$_imports[$alias]=$alias;
301                 else

Stack Trace

#0
+
 /data/webdev/master/application/controllers/AdminController.php(219): YiiBase::import()
214         if (!empty($aOverridenCoreActions)) {
215             if (!empty($aOverridenCoreActions[$action])) {
216                 $this->currentModuleAction = $action; // For subviews rendering, see: AdminController::renderPartial()
217 
218                 // Since module's class has the same name has core class, we need to load the core and module classes with namespace
219                 Yii::import('application\\controllers\\admin\\' . $action, true);
220                 $sActionModuleClass = 'lsadminmodules\\' . $action . '\controller\\' . $action;
221                 Yii::import($sActionModuleClass, true);
222             }
223         }
224     }
#1
+
 /data/webdev/master/application/controllers/AdminController.php(199): AdminController->runModuleController()
194                     $this->redirect(array('/admin/authentication/sa/login'));
195                 }
196             }
197         }
198 
199         $this->runModuleController($action);
200         tracevar($action);
201 
202         return parent::run($action);
203     }
204 
#5
+
 /data/webdev/master/index.php(192): CApplication->run()
187 require_once APPPATH . 'core/LSYii_Application' . EXT;
188 
189 $config = require_once(APPPATH . 'config/internal' . EXT);
190 
191 Yii::$enableIncludePath = false;
192 Yii::createApplication('LSYii_Application', $config)->run();
193 
194 /* End of file index.php */
195 /* Location: ./index.php */
2022-05-18 09:55:50 nginx/1.18.0 Yii Framework/1.1.24-dev