PropelException

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/BaseTblbookPeer.php(384): Propel::getConnection('alhedaya_majma')
#1 /home/alhedaya/public_html/protected/DataAccess/om/BaseTblbookPeer.php(365): BaseTblbookPeer::doSelectRS(Object(Criteria), NULL)
#2 /home/alhedaya/public_html/protected/Layouts/book/LayoutHomeBook.php(22): BaseTblbookPeer::doSelect(Object(Criteria))
#3 /home/alhedaya/public_html/framework/pradolite.php(4062): LayoutHomeBook->OnInit(NULL)
#4 /home/alhedaya/public_html/framework/pradolite.php(5430): TControl->initRecursive(Object(ListBook))
#5 /home/alhedaya/public_html/framework/pradolite.php(5546): TCompositeControl->initRecursive(Object(ListBook))
#6 /home/alhedaya/public_html/framework/pradolite.php(4047): TTemplateControl->initRecursive(Object(ListBook))
#7 /home/alhedaya/public_html/framework/pradolite.php(5430): TControl->initRecursive(NULL)
#8 /home/alhedaya/public_html/framework/pradolite.php(5546): TCompositeControl->initRecursive(NULL)
#9 /home/alhedaya/public_html/framework/pradolite.php(6050): TTemplateControl->initRecursive()
#10 /home/alhedaya/public_html/framework/pradolite.php(6045): TPage->processNormalRequest(Object(THtmlWriter))
#11 /home/alhedaya/public_html/framework/pradolite.php(8162): TPage->run(Object(THtmlWriter))
#12 /home/alhedaya/public_html/framework/pradolite.php(8128): TPageService->runPage(Object(ListBook), Array)
#13 /home/alhedaya/public_html/framework/pradolite.php(9089): TPageService->run()
#14 /home/alhedaya/public_html/framework/pradolite.php(8704): TApplication->runService()
#15 /home/alhedaya/public_html/fa.php(132): TApplication->run()
#16 {main}
2018-07-23 14:03 Apache/2.2.31 (Unix) PHP/5.2.17 PRADO/3.1.2a