mail.northviewisc.com Open in urlscan Pro
103.138.151.70  Public Scan

URL: https://mail.northviewisc.com/
Submission: On July 15 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

DATABASE EXCEPTION – YII\DB\EXCEPTION


SQLSTATE[HY000] [1044] ACCESS DENIED FOR USER 'TSIT_DBADMIN'@'LOCALHOST' TO
DATABASE 'TSIT_EDUERP_MAIL'

↵


CAUSED BY: PDOEXCEPTION


SQLSTATE[HY000] [1044] ACCESS DENIED FOR USER 'TSIT_DBADMIN'@'LOCALHOST' TO
DATABASE 'TSIT_EDUERP_MAIL'

in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Connection.php at line
646

 * 1. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Connection.php
   at line 584
   575576577578579580581582583584585586587588589590591592593
   
           $token = 'Opening DB connection: ' . $this->dsn;
           try {
               Yii::info($token, __METHOD__);
               Yii::beginProfile($token, __METHOD__);
               $this->pdo = $this->createPdoInstance();
               $this->initConnection();
               Yii::endProfile($token, __METHOD__);
           } catch (\PDOException $e) {
               Yii::endProfile($token, __METHOD__);
               throw new Exception($e->getMessage(), $e->errorInfo, (int) $e->getCode(), $e);
           }
       }
    
       /**
        * Closes the currently active DB connection.
        * It does nothing if the connection is already closed.
        */
       public function close()
       {
   

 * 2. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Connection.php
   at line 928 – yii\db\Connection::open()
   922923924925926927928929930931932933934
   
        * Returns the PDO instance for the currently active master connection.
        * This method will open the master DB connection and then return [[pdo]].
        * @return PDO the PDO instance for the currently active master connection.
        */
       public function getMasterPdo()
       {
           $this->open();
           return $this->pdo;
       }
    
       /**
        * Returns the currently active slave connection.
        * If this method is called for the first time, it will try to open a slave connection when [[enableSlaves]] is true.
   

 * 3. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Connection.php
   at line 915 – yii\db\Connection::getMasterPdo()
   909910911912913914915916917918919920921
   
        * is available and `$fallbackToMaster` is false.
        */
       public function getSlavePdo($fallbackToMaster = true)
       {
           $db = $this->getSlave(false);
           if ($db === null) {
               return $fallbackToMaster ? $this->getMasterPdo() : null;
           } else {
               return $db->pdo;
           }
       }
    
       /**
   

 * 4. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Command.php at
   line 219 – yii\db\Connection::getSlavePdo()
   213214215216217218219220221222223224225
   
    
           if ($this->db->getTransaction()) {
               // master is in a transaction. use the same connection.
               $forRead = false;
           }
           if ($forRead || $forRead === null && $this->db->getSchema()->isReadQuery($sql)) {
               $pdo = $this->db->getSlavePdo();
           } else {
               $pdo = $this->db->getMasterPdo();
           }
    
           try {
               $this->pdoStatement = $pdo->prepare($sql);
   

 * 5. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Command.php at
   line 910 – yii\db\Command::prepare(true)
   904905906907908909910911912913914915916
   
                       Yii::trace('Query result served from cache', 'yii\db\Command::query');
                       return $result[0];
                   }
               }
           }
    
           $this->prepare(true);
    
           try {
               $profile and Yii::beginProfile($rawSql, 'yii\db\Command::query');
    
               $this->pdoStatement->execute();
    
   

 * 6. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Command.php at
   line 376 – yii\db\Command::queryInternal('fetch', null)
   370371372373374375376377378379380381382
   
        * @return array|false the first row (in terms of an array) of the query result. False is returned if the query
        * results in nothing.
        * @throws Exception execution failed
        */
       public function queryOne($fetchMode = null)
       {
           return $this->queryInternal('fetch', $fetchMode);
       }
    
       /**
        * Executes the SQL statement and returns the value of the first column in the first row of data.
        * This method is best used when only a single value is needed for a query.
        * @return string|null|false the value of the first column in the first row of the query result.
   

 * 7. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/Query.php at
   line 253 – yii\db\Command::queryOne()
   247248249250251252253254255256257258259
   
        */
       public function one($db = null)
       {
           if ($this->emulateExecution) {
               return false;
           }
           return $this->createCommand($db)->queryOne();
       }
    
       /**
        * Returns the query result as a scalar value.
        * The value returned will be the first column in the first row of the query results.
        * @param Connection $db the database connection used to generate the SQL statement.
   

 * 8. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/db/ActiveQuery.php
   at line 294 – yii\db\Query::one(null)
   288289290291292293294295296297298299300
   
        * @return ActiveRecord|array|null a single row of query result. Depending on the setting of [[asArray]],
        * the query result may be either an array or an ActiveRecord object. `null` will be returned
        * if the query results in nothing.
        */
       public function one($db = null)
       {
           $row = parent::one($db);
           if ($row !== false) {
               $models = $this->populate([$row]);
               return reset($models) ?: null;
           } else {
               return null;
           }
   

 * 9. in /home/tsit/public_html/_edu_erp/backend/models/Institute.php at line
   200 – yii\db\ActiveQuery::one()
   194195196197198199200201202203
   
       * @return mixed
       */
       public static function getInstitute($isActive)
       {
           $model = self::find()
               ->where('status =:status', [':status' => $isActive])
               ->one();
           return $model;
       }
   }

 * 10. in
   /home/tsit/public_html/_edu_erp/frontend/controllers/SiteController.php at
   line 138 – backend\models\Institute::getInstitute(1)
   132133134135136137138139140141142143144
   
       public function beforeAction($action)
       {
           // before action methods for api post _csrf (payment gateway)
           if ($action->id == 'payment-success' || $action->id == 'payment-success-ibbl' || $action->id == 'payment-cancel' || $action->id == 'payment-fail') $this->enableCsrfValidation = false; // return parent::beforeAction($action);
    
           // dynamic theme get from here
           $institute = Institute::getInstitute(UsefulModel::STATUS_ACTIVE);
           if (parent::beforeAction($action))
           {
               if(Yii::$app->session->has('themeName')) Yii::$app->session->remove('themeName');
               Yii::$app->session->set('themeName',$institute->theme);
    
               Yii::$app->view->theme = new \yii\base\Theme([
   

 * 11. in
   /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/base/Controller.php at
   line 154 –
   frontend\controllers\SiteController::beforeAction(yii\base\InlineAction)
   148149150151152153154155156157158159160
   
                   break;
               }
           }
    
           $result = null;
    
           if ($runAction && $this->beforeAction($action)) {
               // run the action
               $result = $action->runWithParams($params);
    
               $result = $this->afterAction($action, $result);
    
               // call afterAction on modules
   

 * 12. in /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/base/Module.php at
   line 523 – yii\base\Controller::runAction('index', [])
   517518519520521522523524525526527528529
   
           $parts = $this->createController($route);
           if (is_array($parts)) {
               /* @var $controller Controller */
               list($controller, $actionID) = $parts;
               $oldController = Yii::$app->controller;
               Yii::$app->controller = $controller;
               $result = $controller->runAction($actionID, $params);
               if ($oldController !== null) {
                   Yii::$app->controller = $oldController;
               }
    
               return $result;
           }
   

 * 13. in
   /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/web/Application.php at
   line 102 – yii\base\Module::runAction('', [])
   96979899100101102103104105106107108
   
               $params = $this->catchAll;
               unset($params[0]);
           }
           try {
               Yii::trace("Route requested: '$route'", __METHOD__);
               $this->requestedRoute = $route;
               $result = $this->runAction($route, $params);
               if ($result instanceof Response) {
                   return $result;
               } else {
                   $response = $this->getResponse();
                   if ($result !== null) {
                       $response->data = $result;
   

 * 14. in
   /home/tsit/public_html/_edu_erp/vendor/yiisoft/yii2/base/Application.php at
   line 380 – yii\web\Application::handleRequest(yii\web\Request)
   374375376377378379380381382383384385386
   
           try {
    
               $this->state = self::STATE_BEFORE_REQUEST;
               $this->trigger(self::EVENT_BEFORE_REQUEST);
    
               $this->state = self::STATE_HANDLING_REQUEST;
               $response = $this->handleRequest($this->getRequest());
    
               $this->state = self::STATE_AFTER_REQUEST;
               $this->trigger(self::EVENT_AFTER_REQUEST);
    
               $this->state = self::STATE_SENDING_RESPONSE;
               $response->send();
   

 * 15. in /home/tsit/public_html/_edu_erp/frontend/web/index.php at line 19 –
   yii\base\Application::run()
   13141516171819
   
       require(__DIR__ . '/../../common/config/main-local.php'),
       require(__DIR__ . '/../config/main.php')
       // require(__DIR__ . '/../config/main-local.php')
   );
    
   $application = new yii\web\Application($config);
   $application->run();
   



2024-07-15, 23:20:49

Apache

Yii Framework/2.0.12