// uncomment the following to define a path alias // Yii::setPathOfAlias('local','path/to/local-folder'); // This is the main Web application configuration. Any writable // CWebApplication properties can be configured here. return array( 'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 'name'=>'ULISSA', 'charset'=>'utf-8', 'language'=>'ru', 'sourceLanguage'=>'ru', // preloading 'log' component 'preload'=>array('log'), 'import'=>array( 'application.models.*', 'application.components.*', 'application.modules.srbac.controllers.SBaseController', ), 'modules'=>array( 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'3215234144314', ), 'srbac'=> array( // Your application's user class (default: User) "userclass"=>"Users", // Your users' table user_id column (default: userid) "userid"=>"id", // your users' table username column (default: username) "username"=>"login", // If in debug mode (default: false) // In debug mode every user (even guest) can admin srbac, also //if you use internationalization untranslated words/phrases //will be marked with a red star "debug"=>true, "delimeter"=>'@', // The number of items shown in each page (default:15) "pageSize"=>20, // The name of the super user "superUser" =>"Authority", //The css file to use "css"=>"srbac.css", // must be in srbac css folder //The layout to use "layout"=>"application.views.layouts.main", //The not authorized page "notAuthorizedView"=>"application.messages.unauthorized", // The always allowed actions "alwaysAllowed"=>"gui", "userActions"=>array( "Show","View","List", ), //The number of lines in assign listboxes (default 10) "listBoxNumberOfLines" => 15, // The path to images "imagesPath" => "images", // The images pack to use "imagesPack"=>"tango", //Display text next to the icons or not "iconText"=>true, ), ), // application components 'components'=>array( 'user'=>array( // enable cookie-based authentication 'allowAutoLogin'=>true, ), 'authManager' => array( 'class' => 'CDbAuthManager', 'connectionID' => 'db', 'itemTable' => 'authitem', 'itemChildTable' => 'authitemchild', 'assignmentTable' => 'authassignment', 'defaultRoles' => array('Guest'), ), 'db'=>array( 'connectionString' => 'mysql:host=localhost;dbname=ulissa', 'emulatePrepare' => true, 'username' => 'ulissa', 'password' => '95723752', 'charset' => 'utf8', ), 'errorHandler'=>array( // use 'site/error' action to display errors 'errorAction'=>'site/error', ), 'log'=>array( 'class'=>'CLogRouter', 'routes'=>array( array( 'class'=>'CFileLogRoute', 'levels'=>'error, warning', ), // uncomment the following to show log messages on web pages /* array( 'class'=>'CWebLogRoute', ), */ ), ), ), // application-level parameters that can be accessed // using Yii::app()->params['paramName'] 'params'=>array( // this is used in contact page 'adminEmail'=>'infoecorobot@yandex.ru', 'Username'=>"infoecorobot@yandex.ru", 'Password'=>"fan54tastic", 'From'=>'infoecorobot@yandex.ru', 'FromName'=>"ULISSA", 'Host'=>"smtp.yandex.ru",// mail.ipe.com.ru 'SMTPSecure'=>"", 'Port'=>25, 'SMTPAuth'=>true, 'IsSMTP'=>true, 'IsHTML'=>true, ), 'onBeginRequest'=>array('MyBootstrap','myBeginRequestMethod'),// устанавливаем time_zone в Europe/moscow ); Internal Server Error

Internal Server Error

include(Controller.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory

An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.

Thank you.

2020-10-28 17:25:50