该问题已被锁定!
4
关注
3406
浏览

Anwsion 1.1 Alpha 2版本的bug

AI智能回复搜索中,请稍后...

查看全部 5 个回答

Sank 初级会员 用户来自于: 广东省深圳市
2012-08-20 11:56
在phpmyadmin手动执行一下SQL,错误的行则绕过: ALTER TABLE `aws_system_setting` CHANGE `varname` `varname` VARCHAR( 255 ) NOT NULL COMMENT '字段名'; UPDATE `aws_system_setting` SET varname = 'request_route_custom' WHERE varname = 'request_route'; INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('request_route', 's:2:"99";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('request_route_sys_1', 's:226:"/home/explore/category-(:num)===/catexgory/(:num)\n/home/explore/===/explore/\n/home/explore/guest===/guest\n/home/users/===/users/\n/account/login/===/login/\n/account/logout/===/logout/\n/account/setting/(:any)/===/setting/(:any)/";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('request_route_sys_2', 's:315:"/question/(:any)===/q_(:any)\n/topic/(:any)===/t_(:any).html\n/people/(:any)===/p_(:any).html\n/home/explore/category-(:num)===/c_(:num).html\n/home/explore/===/explore/\n/home/explore/guest===/guest\n/home/users/===/users/\n/account/login/===/login/\n/account/logout/===/logout/\n/account/setting/(:any)/===/setting/(:any)/";'); CREATE TABLE `aws_feature` ( `id` INT( 11 ) NULL AUTO_INCREMENT , `title` VARCHAR( 200 ) NULL DEFAULT NULL COMMENT '专题标题', `description` VARCHAR( 255 ) NULL DEFAULT NULL COMMENT '专题描述', `icon` VARCHAR( 255 ) NULL DEFAULT NULL COMMENT '专题图标', `topic_count` INT( 11 ) NULL DEFAULT '0' COMMENT '话题计数', `css` TEXT NULL DEFAULT NULL COMMENT '自定义CSS', PRIMARY KEY ( `id` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE `aws_feature_topic` ( `id` INT( 11 ) NULL AUTO_INCREMENT , `feature_id` INT( 11 ) NULL DEFAULT '0' COMMENT '专题ID', `topic_id` INT( 11 ) NULL DEFAULT '0' COMMENT '话题ID', PRIMARY KEY ( `id` ), KEY `feature_id` (`feature_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_enabled', 's:1:"N";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_register', 's:4:"2000";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_profile', 's:3:"100";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_invite', 's:3:"200";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_best_answer', 's:3:"200";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_answer_fold', 's:3:"-50";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_new_question', 's:3:"-20";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_new_answer', 's:2:"-5";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_thanks', 's:3:"-10";'); INSERT INTO `aws_system_setting` (`varname`, `value`) VALUES ('integral_system_config_invite_answer', 's:3:"-10";'); ALTER TABLE `aws_users` ADD `integral` INT( 11 ) NULL DEFAULT '0'; CREATE TABLE `aws_integral_log` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `uid` int(11) DEFAULT '0', `action` varchar(16) DEFAULT NULL, `integral` int(11) DEFAULT NULL, `note` varchar(128) DEFAULT NULL, `balance` int(11) DEFAULT '0', `time` int(10) DEFAULT '0', PRIMARY KEY (`id`), KEY `uid` (`uid`), KEY `action` (`action`), KEY `time` (`time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `aws_integral_log` ( `uid` , `action`, `integral`, `note`, `balance`, `time` ) SELECT `uid` , 'REGISTER' , '2000', '初始资本', '2000' , `reg_time` FROM `aws_users`; UPDATE `aws_users` SET `integral` = 2000;

关于作者

问题动态

发布时间
2012-08-18 12:02
更新时间
2012-08-20 11:56
关注人数
4 人关注

推荐内容

中文URL打不开问题(话题以及搜索只要出现中文就无法使用的)
求一个首页调用用户的代码或插件
这个网站的大学焦点 和 精选问答是怎么调用的呀 ?
WeCenter 2.1 本地测试正常,放到空间管理员后台登录不了,
如何让用户登陆后自动跳到动态页面而不是发现页面?
怎么修改 back to top 显示位置?
wecenter怎么关掉阅读titile的功能
话题广场怎样让用户已关注的话题隐藏或排到后面?
anwsion 真实姓名的修改方案
因网站需要,有些个性化的设置,求助解决方案,不会代码