PropelException

Description

[wrapped: connect failed [Native Error: Too many connections] [User Info: Array]]

Source File

/home/alhedaya/public_html/pear/propel/Propel.php (486)

0475: 
0476:             include_once 'creole/Creole.php';
0477: 
0478:             // if specified, use custom driver
0479:             if (isset(self::$configuration['datasources'][$name]['driver'])) {
0480:                 Creole::registerDriver($dsn['phptype'], self::$configuration['datasources'][$name]['driver']);
0481:             }
0482: 
0483:             try {
0484:                 $con = Creole::getConnection($dsn);
0485:             } catch (SQLException $e) {
0486: throw new PropelException($e);
0487: } 0488: self::$connectionMap[$name] = $con; 0489: } 0490: 0491: return $con; 0492: } 0493: 0494: /** 0495: * Returns database adapter for a specific connection pool. 0496: * 0497: * @param string $name A database name. 0498: * @return DBAdapter The corresponding database adapter.

Stack Trace

#0 /home/alhedaya/public_html/protected/DataAccess/om/BaseCategoryPeer.php(1145): Propel::getConnection('alhedaya_majma')
#1 /home/alhedaya/public_html/protected/pages/ArticleList.php(16): BaseCategoryPeer::retrieveByPK('25169')
#2 /home/alhedaya/public_html/framework/pradolite.php(6049): ArticleList->OnPreInit(NULL)
#3 /home/alhedaya/public_html/framework/pradolite.php(6045): TPage->processNormalRequest(Object(THtmlWriter))
#4 /home/alhedaya/public_html/framework/pradolite.php(8162): TPage->run(Object(THtmlWriter))
#5 /home/alhedaya/public_html/framework/pradolite.php(8128): TPageService->runPage(Object(ArticleList), Array)
#6 /home/alhedaya/public_html/framework/pradolite.php(9089): TPageService->run()
#7 /home/alhedaya/public_html/framework/pradolite.php(8704): TApplication->runService()
#8 /home/alhedaya/public_html/fa.php(132): TApplication->run()
#9 {main}
2018-07-22 15:00 Apache/2.2.31 (Unix) PHP/5.2.17 PRADO/3.1.2a