:(
导入SQL失败,请检查install.sql的语句是否正确:CREATE TABLE `qb_label` ( `id` int(10) NOT NULL AUTO_INCREMENT COMMENT '自动增值ID', `name` varchar(32) NOT NULL DEFAULT '' COMMENT '标签区分符', `pagename` varchar(32) NOT NULL COMMENT '标签所在模板文件', `class_cfg` varchar(100) NOT NULL COMMENT '获取标签数据的类名与方法', `cfg` text NOT NULL COMMENT '基础参数配置,比如显示哪些栏目,如何排序等等', `extend_cfg` text NOT NULL COMMENT '扩展配置,可以是纯代码、图片,也可以是模板数据', `type` varchar(25) NOT NULL COMMENT '调用类型,比如图片、代码等', `ifdata` tinyint(4) NOT NULL COMMENT '是否只要原始数据,不要直接输出', `hide` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否隐藏', `cache_time` int(10) NOT NULL DEFAULT '0' COMMENT '缓存时间', `uid` mediumint(7) NOT NULL DEFAULT '0' COMMENT '修改者', `create_time` int(10) NOT NULL DEFAULT '0' COMMENT '标签创建时间', `update_time` int(10) NOT NULL COMMENT '修改时间', `system_id` mediumint(6) NOT NULL DEFAULT '0' COMMENT '所属模块,插件为负数', `if_js` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否站外调用,比如APP或小程序或JS', `power_cfg` varchar(255) NOT NULL COMMENT '权限扩展', `view_tpl` text NOT NULL COMMENT '标签的模板代码', `fid` mediumint(5) NOT NULL COMMENT '分类分组', `title` varchar(50) NOT NULL COMMENT '标签名称说明', `list` int(10) NOT NULL COMMENT '排序值', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`), KEY `module_id` (`system_id`), KEY `page` (`pagename`), KEY `if_js` (`if_js`), KEY `fid` (`fid`,`list`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='数据标签' exception 'think\exception\PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/bae/app/thinkphp/library/think/db/Connection.php:456 Stack trace: #0 [internal function]: think\db\Connection->execute('CREATE TABLE `q...') #1 /home/bae/app/thinkphp/library/think/Db.php(178): call_user_func_array(Array, Array) #2 /home/bae/app/application/install/controller/Error.php(166): think\Db::__callStatic('execute', Array) #3 /home/bae/app/application/install/controller/Error.php(166): think\Db::execute('CREATE TABLE `q...') #4 /home/bae/app/application/install/controller/Error.php(32): app\install\controller\Error->step5() #5 [internal function]: app\install\controller\Error->index('5') #6 /home/bae/app/thinkphp/library/think/App.php(348): ReflectionMethod->invokeArgs(Object(app\install\controller\Error), Array) #7 /home/bae/app/thinkphp/library/think/App.php(607): think\App::invokeMethod(Array, Array) #8 /home/bae/app/thinkphp/library/think/App.php(462): think\App::module(Array, Array, NULL) #9 /home/bae/app/thinkphp/library/think/App.php(139): think\App::exec(Array, Array) #10 /home/bae/app/thinkphp/start.php(19): think\App::run() #11 /home/bae/app/index.php(29): require('/home/bae/app/t...') #12 {main}
页面自动 跳转 等待时间:
大家不要买百度云的空间.
因为他的数据库跟空间不在同一个服务器.
访问数据库容易超时
私信发资料过来.帮你看看
似乎是服务器的事。
:(
导入SQL失败,请检查install.sql的语句是否正确:INSERT INTO `qb_group` VALUES ('2','1','黑名单','0','a:54:{s:10:\"upfileType\";s:0:\"\";s:13:\"upfileMaxSize\";s:0:\"\";s:14:\"PassContribute\";s:1:\"1\";s:17:\"SearchArticleType\";s:1:\"1\";s:16:\"PostArticleYzImg\";s:1:\"1\";s:13:\"EditPassPower\";s:1:\"0\";s:12:\"SetTileColor\";s:1:\"0\";s:14:\"SetSellArticle\";s:1:\"0\";s:17:\"SetSpecialArticle\";s:1:\"0\";s:17:\"SetArticleKeyword\";s:1:\"0\";s:20:\"AddArticleKeywordNum\";s:0:\"\";s:21:\"AddArticleCopyfromNum\";s:0:\"\";s:18:\"SelectArticleStyle\";s:1:\"0\";s:16:\"SelectArticleTpl\";s:1:\"0\";s:13:\"SetArticleTpl\";s:1:\"0\";s:18:\"SetArticlePosttime\";s:1:\"0\";s:18:\"SetArticleViewtime\";s:1:\"0\";s:16:\"SetArticleHitNum\";s:1:\"0\";s:18:\"SetArticlePassword\";s:1:\"0\";s:19:\"SetArticleDownGroup\";s:1:\"0\";s:19:\"SetArticleViewGroup\";s:1:\"0\";s:17:\"SetArticleJumpurl\";s:1:\"0\";s:19:\"SetArticleIframeurl\";s:1:\"0\";s:21:\"SetArticleDescription\";s:1:\"0\";s:16:\"SetArticleTopCom\";s:1:\"0\";s:13:\"SetSmallTitle\";s:1:\"0\";s:19:\"CommentArticleYzImg\";s:1:\"1\";s:17:\"CollectArticleNum\";s:0:\"\";s:15:\"CreatSpecialNum\";s:0:\"\";s:13:\"PostNoDelCode\";s:1:\"0\";s:7:\"SetVote\";s:1:\"0\";s:11:\"SetHtmlName\";s:1:\"0\";s:16:\"PassContributeSP\";s:1:\"0\";s:14:\"AllowUploadMax\";s:1:\"0\";s:11:\"comment_num\";s:2:\"10\";s:10:\"comment_yz\";s:1:\"1\";s:11:\"comment_img\";s:1:\"0\";s:16:\"sell_postauto_yz\";s:1:\"0\";s:15:\"buy_postauto_yz\";s:1:\"0\";s:15:\"post_pingpai_yz\";s:1:\"0\";s:10:\"use2domain\";s:1:\"0\";s:16:\"useHomepageStyle\";s:1:\"0\";s:21:\"view_buy_view_contact\";s:1:\"0\";s:13:\"post_sell_num\";s:0:\"\";s:12:\"post_buy_num\";s:0:\"\";s:13:\"post_news_num\";s:0:\"\";s:14:\"post_photo_num\";s:0:\"\";s:11:\"post_hr_num\";s:0:\"\";s:17:\"post_zhanghui_num\";s:0:\"\";s:12:\"post_ZLG_num\";s:0:\"\";s:16:\"post_pingpai_num\";s:0:\"\";s:19:\"post_baojiadian_num\";s:0:\"\";s:19:\"post_xunjiadian_num\";s:0:\"\";s:24:\"post_info_collection_num\";s:0:\"\";}','0','') exception 'think\exception\PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /home/bae/app/thinkphp/library/think/db/Connection.php:456 Stack trace: #0 [internal function]: think\db\Connection->execute('INSERT INTO `qb...') #1 /home/bae/app/thinkphp/library/think/Db.php(178): call_user_func_array(Array, Array) #2 /home/bae/app/application/install/controller/Error.php(166): think\Db::__callStatic('execute', Array) #3 /home/bae/app/application/install/controller/Error.php(166): think\Db::execute('INSERT INTO `qb...') #4 /home/bae/app/application/install/controller/Error.php(32): app\install\controller\Error->step5() #5 [internal function]: app\install\controller\Error->index('5') #6 /home/bae/app/thinkphp/library/think/App.php(348): ReflectionMethod->invokeArgs(Object(app\install\controller\Error), Array) #7 /home/bae/app/thinkphp/library/think/App.php(607): think\App::invokeMethod(Array, Array) #8 /home/bae/app/thinkphp/library/think/App.php(462): think\App::module(Array, Array, NULL) #9 /home/bae/app/thinkphp/library/think/App.php(139): think\App::exec(Array, Array) #10 /home/bae/app/thinkphp/start.php(19): think\App::run() #11 /home/bae/app/index.php(29): require('/home/bae/app/t...') #12 {main}
页面自动 跳转 等待时间:
怎么处理哦?