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

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 人关注

相关问题

有没有tipask转anwsion的程序
本地安装anwsion遇到mysql 11004错误问题提示
新版本没解决邮件无法添加主题?
2.1版本的后台的微信功能管理中支持微信服务号的自定义菜单功能吗?
anwsion运行域名/?/upgrade升级到1.0.2以后自动返回首页说明升级成功了吗?
下一个版本中会增加搜索自动拆词功能吗?
文章分类又问,这个是bug吗
wecenter2.5.8版本的手机端,现在无法注册么?
在完善个人资料时好像有个bug
建议anwsion还是减一下肥

推荐内容

新注册用户的资料引导页面"请选择省份或直辖市"几个字在哪修改?
升级1.0时候执行?/upgrade/ 报错。无法升级
哪里有模板卖?除了应用市场那几个
这个网站的大学焦点 和 精选问答是怎么调用的呀 ?
WeCenter是否可以配置只有登陆后才能看到所有内容?
因网站需要,有些个性化的设置,求助解决方案,不会代码
求教 谁能给修改下;热门用户;调用啊
官方发布的编辑器,在伪静态下不能用,求解决
URL路由是保存到哪的?
请问返回顶部的按钮图片是在哪里呢?没找到,想修改一下。