你好,我使用最新版本ThinkCMF在本地已经搭建成功,但是我把环境移到服务器上确显示如下:
:)
FILE: D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\Db.class.php LINE: 42
#0 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\Db.class.php(42): E('???????????????...')
#1 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\Model.class.php(1443): Think\Db::getInstance('')
#2 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#3 D:\localuser\ftp6084899\Web\simplewind\Core\Common\functions.php(646): Think\Model->__construct('Options', '', '')
#4 D:\localuser\ftp6084899\Web\application\Common\Common\function.php(468): M('Options')
#5 D:\localuser\ftp6084899\Web\application\Common\Controller\HomebaseController.class.php(192): sp_get_option('cdn_settings')
#6 D:\localuser\ftp6084899\Web\application\Common\Controller\HomebaseController.class.php(113): Common\Controller\HomebaseController->parseTemplate(':index')
#7 D:\localuser\ftp6084899\Web\application\Portal\Controller\IndexController.class.php(35): Common\Controller\HomebaseController->display(':index')
#8 [internal function]: Portal\Controller\IndexController->index()
#9 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Portal\Controller\IndexController))
#10 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Portal\Controller\IndexController), 'index')
#11 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\App.class.php(204): Think\App::exec()
#12 D:\localuser\ftp6084899\Web\simplewind\Core\Library\Think\Think.class.php(120): Think\App::run()
#13 D:\localuser\ftp6084899\Web\simplewind\Core\ThinkPHP.php(97): Think\Think::start()
#14 D:\localuser\ftp6084899\Web\index.php(59): require('D:\localuser\ft...')
#15 {main}
数据库的配置信息都没错,服务器的数据库信息如下:
服务器: localhost via TCP/IP
软件: MySQL
软件版本: 5.1.33-community - MySQL Community Server (GPL)
协议版本: 10
用户: zjwdb_6084899@localhost
服务器字符集: UTF-8 Unicode (utf8)
服务器的php版本是5.3.29
请问具体折怎么回事,帮我分析一下原因?谢谢。
0.话题发布后没及时显示,请联系官方QQ群管理;
1.话题支持代码,qq截屏直接粘贴,和QQ群一样;
2.问题描述清,比如服务器版本,程序版本;
3.能上代码,就不用文字;
4.把问题发到话题后再发QQ群;
5.如果感觉回复者解答的不错,可以发红包!
6.多帮助别人也是对自己的锻炼!
7.付费讨论中只有提问者和付费用户才可以查看回复
1.评论积分+1;每天最多10次奖励
2.发布话题积分+1;每天最多5次奖励
3.垃圾评论积分-500;
4.黄色,暴力,违反我国法律评论直接封号