CDbException

CDbConnection falló al abrir la conexion a la base de datos: SQLSTATE[HY000] [1203] User Sql93582_new already has more than 'max_user_connections' active connections

/var/www/www.cloud-hotel.it/framework/db/CDbConnection.php(382)

370                 throw new CDbException(Yii::t('yii','CDbConnection.connectionString cannot be empty.'));
371             try
372             {
373                 Yii::trace('Opening DB connection','system.db.CDbConnection');
374                 $this->_pdo=$this->createPdoInstance();
375                 $this->initConnection($this->_pdo);
376                 $this->_active=true;
377             }
378             catch(PDOException $e)
379             {
380                 if(YII_DEBUG)
381                 {
382                     throw new CDbException(Yii::t('yii','CDbConnection failed to open the DB connection: {error}',
383                         array('{error}'=>$e->getMessage())),(int)$e->getCode(),$e->errorInfo);
384                 }
385                 else
386                 {
387                     Yii::log($e->getMessage(),CLogger::LEVEL_ERROR,'exception.CDbException');
388                     throw new CDbException(Yii::t('yii','CDbConnection failed to open the DB connection.'),(int)$e->getCode(),$e->errorInfo);
389                 }
390             }
391         }
392     }
393 
394     /**

Stack Trace

#7
+
 /var/www/www.cloud-hotel.it/protected/models/Poi.php(29): CActiveRecord::model("Poi")
24      * @param string $className active record class name.
25      * @return Poi the static model class
26      */
27     public static function model($className=__CLASS__)
28     {
29         return parent::model($className);
30     }
31 
32     /**
33      * @return string the associated database table name
34      */
#8
+
 /var/www/www.cloud-hotel.it/protected/controllers/PublicController.php(543): Poi::model()
538      * sulla falsariga di http://www.prenotaristorante.com/provincia/cosenza/ristorante-pizzeria-milleluci-fotografie.asp
539      * per 
540      */
541     public function actionSchedaStruttura( $nome ){
542         
543         $poi = Poi::model()->findByAttributes( array( 'pslug'=>$nome) );
544         if( $poi === null ):
545             throw new CHttpException(404,'The requested page does not exist.');    
546         endif;
547         
548         //Aggiorno contatore
#18
+
 /var/www/www.cloud-hotel.it/index.php(84): CApplication->run()
79                 }
80               }
81               return true;
82             },
83 */
84 $application->run();
2024-03-28 20:58:44 Apache/2.4.41 (Ubuntu) Yii Framework/1.1.9