用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3053|回复: 1
收起左侧

[HELP] CI 上配置Doctrine 出错

[复制链接]
发表于 2011-12-14 20:51:53 | 显示全部楼层 |阅读模式
本帖最后由 暖风 于 2011-12-15 15:29 编辑

Fatal error: Uncaught exception 'Doctrine_Transaction_Exception' with message 'Rollback failed. There is no active transaction.' in F:\wamp\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Transaction.php:319 Stack trace: #0 F:\wamp\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection.php(1426): Doctrine_Transaction->rollback(NULL) #1 F:\wamp\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(136): Doctrine_Connection->rollback() #2 F:\wamp\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Record.php(1599): Doctrine_Connection_UnitOfWork->saveGraph(Object(User)) #3 F:\wamp\www\ci_doctrine_day1\system\application\controllers\hello.php(17): Doctrine_Record->save() #4 [internal function]: Hello->user_test() #5 F:\wamp\www\ci_doctrine_day1\system\codeigniter\CodeIgniter.php(236): call_user_func_array(Array, Array) #6 F:\wamp\www\ci_doctrine_day1\index.php(115): require_once('F:\wamp\www\ci_...') #7 {main} thrown in F:\wamp\www\ci_doctrine_day1\system\application\plugins\doctrine\lib\Doctrine\Transaction.php on line 319



我是按照http://codeigniter.org.cn/forums/thread-4575-1-1.html  这个教程上弄的 不知道为啥啊..


 楼主| 发表于 2011-12-15 15:30:37 | 显示全部楼层
有木有人帮下忙啊。。。

本版积分规则