LDatabaseException

Description

数据库无法连接

Source File

../component/engine/database/zend.php (80)

0074:                 $info['dbname']   = trim($tmp['path'], '\//');
0075:                 $info['username'] = $tmp['user'];
0076:                 $info['password'] = $tmp['pass'];
0077:                 $this->_helper = Zend_Db::factory('pdo_'. $tmp['scheme'], $info);
0078:                 $connect = $this->_helper->getConnection();
0079:             } catch (Exception $e){
0080: throw new LDatabaseException(0x602, $e->getMessage());
0081: } 0082: $this->_dsn = $dsn; 0083: $this->_conn = $connect; 0084: $this->_profiler = $this->_helper->getProfiler(); 0085: if ($this->_debug){ 0086: $this->_profiler->setEnabled($this->_debug);

Stack Trace

#1 ../component/engine/dao.php(110): LEngine_database_zend->connect()
#2 ../helper/loader.php(368): LEngine_dao->__construct()
#3 ../helper/loader.php(272): LLoader::target()
#4 ../component/dao.php(110): LLoader::import()
#5 ./action/default/index.php(8): LDao->__get()
#6 ../component/engine/flow.php(337): LAction_default_index->startup()
#7 ../kernel/factory.php(154): LEngine_flow->analyze()
#8 ../kernel/decorator.php(112): LFactory->factory()
#9 ../index.php(117): LDecorator->factory()
#10 ../index.php(133): L::build()
#11 ./index.php(3): require()
#12 {main}

Include Files

#01: ./index.php
#02: ../index.php
#03: ../helper/loader.php
#04: ../helper/exception.php
#05: ../kernel/context.php
#06: ../helper/config.php
#07: ../collect/container.php
#08: ../helper/toolkit.php
#09: ../helper/verifier.php
#10: ../helper/request.php
#11: ../helper/timer.php
#12: ../component/plugin.php
#13: ../component/plugin/default.php
#14: ../component/plugin/magic_quotes.php
#15: ../component/plugin/filter.php
#16: ../helper/response.php
#17: ../component/engine.php
#18: ../component/engine/router.php
#19: ../component/engine/router/pathinfo.php
#20: ../kernel/decorator.php
#21: ../kernel/factory.php
#22: ../component/engine/action.php
#23: ../component/engine/action/default.php
#24: ../kernel/dispatcher.php
#25: ../collect/iterator.php
#26: ../collect/stack.php
#27: ../component/engine/flow.php
#28: ../component/engine/flow/config.php
#29: ../component/engine/user.php
#30: ./component/engine/user/department.php
#31: ../component/engine/session.php
#32: ../component/engine/session/default.php
#33: ./action/default/index.php
#34: ../helper/locale.php
#35: ../locale/zh_CN/exception.php
#36: ../component/helper.php
#37: ../component/dao.php
#38: ../component/engine/dao.php
#39: ../component/engine/dao/default.php
#40: ./dao/news.php
#41: ../component/engine/database.php
#42: ../component/engine/database/zend.php
#43: ../addon/Zend/Db.php
#44: ../addon/Zend/Loader.php
#45: ../addon/Zend/Db/Adapter/Pdo/Mysql.php
#46: ../addon/Zend/Db/Adapter/Pdo/Abstract.php
#47: ../addon/Zend/Db/Adapter/Abstract.php
#48: ../addon/Zend/Config.php
#49: ../addon/Zend/Db/Select.php
#50: ../addon/Zend/Db/Expr.php
#51: ../addon/Zend/Db/Statement/Pdo.php
#52: ../addon/Zend/Db/Statement.php
#53: ../addon/Zend/Db/Statement/Interface.php
#54: ../addon/Zend/Db/Profiler.php
#55: ../addon/Zend/Db/Adapter/Exception.php
#56: ../addon/Zend/Db/Exception.php
#57: ../addon/Zend/Exception.php

2011-02-09 10:03:39 nginx/1.1 Landu/2.1124