求帮忙看SAE数据库连接问题

浏览:1177 发布日期:2015/01/04 分类:求助交流 关键字: SAE 数据库 thinkphp3.2
1.ThinkPHP:3.2.3核心版;
2.本地和SAE上都是同一份代码,没有任何修改与配置;
3.SAE的MYSQL服务已初始化并有对应的数据表;
本地测试:

SAE测试:

这就是问题:部署到SAE后访问同一个测试页面就出错;以下是SHOW_PAGE_TRACE打印的出错信息:
[2] Set the ini directive 'session.auto_start' without permission /data1/www/htdocs/811/yyptms/2/ThinkPHP/Common/functions.php 第 1207 行.
[8] Undefined index: debug /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 108 行.
[8] Undefined offset: 0 /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 113 行.
[2] mt_rand() [<a href='function.mt-rand'>function.mt-rand</a>]: max(0) is smaller than min(1) /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 1088 行.
[8] Undefined index: debug /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 108 行.
[8] Undefined offset: 0 /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 113 行.
[2] mt_rand() [<a href='function.mt-rand'>function.mt-rand</a>]: max(0) is smaller than min(1) /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 1088 行.
[8] Undefined index: debug /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 108 行.
[8] Undefined offset: 0 /data1/www/htdocs/811/yyptms/2/ThinkPHP/Library/Think/Db/Driver.class.php 第 113 行.

求助求助,谢谢大家。
最佳答案
评论() 相关
后面还有条评论,点击查看>>