::NoName Magazine 无名杂志 » Project Parasy » Discuz! 数据结构成功升级
#1 - 2007-11-25 15:21
solangen
地球
Discuz! info: MySQL Query Error
User: admin
Time: 2007-11-25 3:19pm
Script: /bbs/admincp.php
SQL: SELECT f.board_name, f.name,f.fid FROM [Table]favorites fav, [Table]forums f WHERE fav.fid=f.fid AND fav.uid='1' ORDER BY fav.dateline ASC
Error: Unknown column 'f.board_name' in 'field list'
Errno.: 1054
Similar error report has beed dispatched to administrator before.
把文件上传后。。。网页就打不开
User: admin
Time: 2007-11-25 3:19pm
Script: /bbs/admincp.php
SQL: SELECT f.board_name, f.name,f.fid FROM [Table]favorites fav, [Table]forums f WHERE fav.fid=f.fid AND fav.uid='1' ORDER BY fav.dateline ASC
Error: Unknown column 'f.board_name' in 'field list'
Errno.: 1054
Similar error report has beed dispatched to administrator before.
把文件上传后。。。网页就打不开
#7 - 2007-11-25 17:00
edo
地球
升級這個:
如果問題在不能解決:
請升級這個,反安裝所有數據,在重新升級所有sql!
http://parasy.googlecode.com/svn/trunk/sql/parasy.mysql.sql
ALTER TABLE `cdb_forums` DROP `board_name`
ALTER TABLE `cdb_forums` DROP `idx_push`
ALTER TABLE `cdb_favorites` DROP `dateline`
ALTER TABLE `cdb_members` DROP `now_img`
ALTER TABLE `cdb_members` DROP `idx_cloud`
ALTER TABLE `cdb_members` DROP `usr_geo`
DROP TABLE `cdb_savepoint`
DROP TABLE `cdb_geo_usage_simple`
DROP TABLE `cdb_geo_going`
DROP TABLE `cdb_geo_been`
DROP TABLE `cdb_plugin_now`
DROP TABLE `cdb_plugin_now_stats`
DROP TABLE `cdb_expense`
DROP TABLE `cdb_plugin_tod_project`
DROP TABLE `cdb_plugin_tod_task`
以上見意你一行行升級!
入不到控制台的錯誤,請把這個del
/templates/babel/admincp.lang.php
[ 本帖最后由 edo 于 2007-11-25 17:15 编辑 ]
CODE:
ALTER TABLE `cdb_forums` ADD `board_name` char(50) NOT NULL;
如果問題在不能解決:
請升級這個,反安裝所有數據,在重新升級所有sql!
http://parasy.googlecode.com/svn/trunk/sql/parasy.mysql.sql
CODE:
ALTER TABLE `cdb_forums` DROP `board_name`
ALTER TABLE `cdb_forums` DROP `idx_push`
ALTER TABLE `cdb_favorites` DROP `dateline`
ALTER TABLE `cdb_members` DROP `now_img`
ALTER TABLE `cdb_members` DROP `idx_cloud`
ALTER TABLE `cdb_members` DROP `usr_geo`
DROP TABLE `cdb_savepoint`
DROP TABLE `cdb_geo_usage_simple`
DROP TABLE `cdb_geo_going`
DROP TABLE `cdb_geo_been`
DROP TABLE `cdb_plugin_now`
DROP TABLE `cdb_plugin_now_stats`
DROP TABLE `cdb_expense`
DROP TABLE `cdb_plugin_tod_project`
DROP TABLE `cdb_plugin_tod_task`
以上見意你一行行升級!
入不到控制台的錯誤,請把這個del
/templates/babel/admincp.lang.php
[ 本帖最后由 edo 于 2007-11-25 17:15 编辑 ]
#10 - 2007-11-25 17:23
edo
地球
119985110 <----這個是QQ還是電話=.=?
如是QQ,我沒QQ跟不會玩QQ
如是電話,我不會打長途電話=.=!
你詳細說多一次問題及給你的web line來看看!
如是QQ,我沒QQ跟不會玩QQ
如是電話,我不會打長途電話=.=!
你詳細說多一次問題及給你的web line來看看!
#11 - 2007-11-25 17:31
solangen
地球
parasy.mysql理的数据升级,
出来的错误效果是这样
升级错误,MySQL 提示: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '---- Project Parasynthesis Database Structure---- [EN] You should change the 'cd' at line 1 ,请返回
是全部复进去的
怎么样修改呢。
出来的错误效果是这样
升级错误,MySQL 提示: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '---- Project Parasynthesis Database Structure---- [EN] You should change the 'cd' at line 1 ,请返回
是全部复进去的
怎么样修改呢。
#12 - 2007-11-25 17:42
Sai
桂林
请使用最新的parasy.mysql.sql
依然是这个地址
http://parasy.googlecode.com/svn/trunk/sql/parasy.mysql.sql
依然是这个地址
http://parasy.googlecode.com/svn/trunk/sql/parasy.mysql.sql
#13 - 2007-11-25 17:51
solangen
地球
升级错误,MySQL 提示: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '---- Project Parasynthesis Database Structure---- [EN] You should change the `cd' at line 1 ,请返回。
出这样是错误
出这样是错误
#16 - 2007-11-25 18:19
solangen
地球
ALTER TABLE `cdb_forums` ADD `board_name` char(50) NOT NULL;
ALTER TABLE `cdb_forums` ADD `idx_push` tinyint(1) NOT NULL default '0';
ALTER TABLE `cdb_favorites` ADD `dateline` int(10) NOT NULL;
ALTER TABLE `cdb_members` ADD `now_img` mediumint(10) NOT NULL default '0';
ALTER TABLE `cdb_members` ADD `idx_cloud` tinyint(1) NOT NULL default '0';
ALTER TABLE `cdb_members` ADD `usr_geo` varchar(100) NOT NULL default 'earth';
Table structure for table `cdb_savepoint`
CREATE TABLE `cdb_savepoint` (
`svp_id` int(10) unsigned NOT NULL auto_increment,
`svp_uid` int(10) unsigned NOT NULL default '0',
`svp_url` varchar(255) NOT NULL default '',
`svp_rank` int(10) unsigned NOT NULL default '0',
`svp_created` int(10) unsigned NOT NULL default '0',
`svp_lastupdated` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`svp_id`),
KEY `INDEX_UID` (`svp_uid`),
KEY `INDEX_URL` (`svp_url`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_usage_simple`
CREATE TABLE `cdb_geo_usage_simple` (
`gus_geo` varchar(100) NOT NULL default 'earth',
`gus_name_cn` varchar(100) NOT NULL default '地球',
`gus_name_en` varchar(100) NOT NULL default 'Earth',
`gus_hits` int(10) unsigned NOT NULL default '0',
`gus_lastupdated` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`gus_geo`),
UNIQUE KEY `INDEX_NAME_CN` (`gus_name_cn`),
UNIQUE KEY `INDEX_NAME_EN` (`gus_name_en`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_going`
CREATE TABLE `cdb_geo_going` (
`ggg_id` int(10) unsigned NOT NULL auto_increment,
`ggg_uid` int(10) unsigned NOT NULL default '0',
`ggg_geo` varchar(100) NOT NULL,
`ggg_impression` text,
`ggg_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`ggg_id`),
KEY `INDEX_UID` (`ggg_uid`),
KEY `INDEX_GEO` (`ggg_geo`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_been`
CREATE TABLE `cdb_geo_been` (
`gbn_id` int(10) unsigned NOT NULL auto_increment,
`gbn_uid` int(10) unsigned NOT NULL default '0',
`gbn_geo` varchar(100) NOT NULL,
`gbn_impression` text,
`gbn_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`gbn_id`),
KEY `INDEX_UID` (`gbn_uid`),
KEY `INDEX_GEO` (`gbn_geo`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_plugin_now`
CREATE TABLE IF NOT EXISTS `cdb_plugin_now` (
`vid` mediumint( NOT NULL auto_increment,
`dateline` int(10) NOT NULL default '0',
`author` varchar(15) NOT NULL default '',
`authorid` mediumint( NOT NULL default '0',
`content` varchar(250) NOT NULL default '',
`background` varchar(35) NOT NULL default '',
`icons` int(2) NOT NULL default '0',
PRIMARY KEY (`vid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_plugin_now_stats`
CREATE TABLE IF NOT EXISTS `cdb_plugin_now_stats` (
`uid` mediumint( NOT NULL default '0',
`total` int(10) NOT NULL default '0',
`monthly` int(10) NOT NULL default '0',
`weekly` int(10) NOT NULL default '0',
`daily` mediumtext NOT NULL,
`firstupdate` int(10) NOT NULL default '0',
`lastupdate` int(10) NOT NULL default '0',
PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_expense`
CREATE TABLE `cdb_expense` (
`exp_id` int(10) unsigned NOT NULL auto_increment,
`exp_uid` int(10) unsigned NOT NULL default '0',
`exp_amount` double NOT NULL default '0',
`exp_type` int(10) unsigned NOT NULL default '0',
`exp_memo` text,
`exp_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`exp_id`),
KEY `INDEX_UID` (`exp_uid`),
KEY `INDEX_TYPE` (`exp_type`),
KEY `INDEX_CREATED` (`exp_created`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE `cdb_plugin_tod_project` (
`tpr_id` int(10) unsigned NOT NULL auto_increment,
`tpr_uid` int(10) unsigned NOT NULL default '0',
`tpr_private` int(10) unsigned NOT NULL default '0',
`tpr_title` varchar(100) NOT NULL default '',
`tpr_progress` int(10) unsigned NOT NULL default '0',
`tpr_type` int(10) unsigned NOT NULL default '0',
`tpr_tasks` int(10) unsigned NOT NULL default '0',
`tpr_notes` int(10) unsigned NOT NULL default '0',
`tpr_dbs` int(10) unsigned NOT NULL default '0',
`tpr_created` int(10) unsigned NOT NULL default '0',
`tpr_lastupdated` int(10) unsigned NOT NULL default '0',
`tpr_lasttouched` int(10) unsigned NOT NULL default '0',
`tpr_completed` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tpr_id`),
KEY `INDEX_UID` (`tpr_uid`),
KEY `INDEX_PRIVATE` (`tpr_private`),
KEY `INDEX_PROGRESS` (`tpr_progress`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE `cdb_plugin_tod_task` (
`tta_id` int(10) unsigned NOT NULL auto_increment,
`tta_uid` int(10) unsigned NOT NULL default '0',
`tta_pid` int(10) unsigned NOT NULL default '0',
`tta_title` varchar(100) NOT NULL default '',
`tta_level` int(10) unsigned NOT NULL default '0',
`tta_todo` int(1) unsigned NOT NULL default '0',
`tta_progress` int(10) unsigned NOT NULL default '0',
`tta_created` int(10) unsigned NOT NULL default '0',
`tta_lastupdated` int(10) unsigned NOT NULL default '0',
`tta_lasttouched` int(10) unsigned NOT NULL default '0',
`tta_completed` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tta_id`),
KEY `INDEX_UID` (`tta_uid`),
KEY `INDEX_PID` (`tta_pid`),
KEY `INDEX_PROGRESS` (`tta_progress`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
ALTER TABLE `cdb_forums` ADD `idx_push` tinyint(1) NOT NULL default '0';
ALTER TABLE `cdb_favorites` ADD `dateline` int(10) NOT NULL;
ALTER TABLE `cdb_members` ADD `now_img` mediumint(10) NOT NULL default '0';
ALTER TABLE `cdb_members` ADD `idx_cloud` tinyint(1) NOT NULL default '0';
ALTER TABLE `cdb_members` ADD `usr_geo` varchar(100) NOT NULL default 'earth';
Table structure for table `cdb_savepoint`
CREATE TABLE `cdb_savepoint` (
`svp_id` int(10) unsigned NOT NULL auto_increment,
`svp_uid` int(10) unsigned NOT NULL default '0',
`svp_url` varchar(255) NOT NULL default '',
`svp_rank` int(10) unsigned NOT NULL default '0',
`svp_created` int(10) unsigned NOT NULL default '0',
`svp_lastupdated` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`svp_id`),
KEY `INDEX_UID` (`svp_uid`),
KEY `INDEX_URL` (`svp_url`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_usage_simple`
CREATE TABLE `cdb_geo_usage_simple` (
`gus_geo` varchar(100) NOT NULL default 'earth',
`gus_name_cn` varchar(100) NOT NULL default '地球',
`gus_name_en` varchar(100) NOT NULL default 'Earth',
`gus_hits` int(10) unsigned NOT NULL default '0',
`gus_lastupdated` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`gus_geo`),
UNIQUE KEY `INDEX_NAME_CN` (`gus_name_cn`),
UNIQUE KEY `INDEX_NAME_EN` (`gus_name_en`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_going`
CREATE TABLE `cdb_geo_going` (
`ggg_id` int(10) unsigned NOT NULL auto_increment,
`ggg_uid` int(10) unsigned NOT NULL default '0',
`ggg_geo` varchar(100) NOT NULL,
`ggg_impression` text,
`ggg_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`ggg_id`),
KEY `INDEX_UID` (`ggg_uid`),
KEY `INDEX_GEO` (`ggg_geo`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_geo_been`
CREATE TABLE `cdb_geo_been` (
`gbn_id` int(10) unsigned NOT NULL auto_increment,
`gbn_uid` int(10) unsigned NOT NULL default '0',
`gbn_geo` varchar(100) NOT NULL,
`gbn_impression` text,
`gbn_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`gbn_id`),
KEY `INDEX_UID` (`gbn_uid`),
KEY `INDEX_GEO` (`gbn_geo`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_plugin_now`
CREATE TABLE IF NOT EXISTS `cdb_plugin_now` (
`vid` mediumint( NOT NULL auto_increment,
`dateline` int(10) NOT NULL default '0',
`author` varchar(15) NOT NULL default '',
`authorid` mediumint( NOT NULL default '0',
`content` varchar(250) NOT NULL default '',
`background` varchar(35) NOT NULL default '',
`icons` int(2) NOT NULL default '0',
PRIMARY KEY (`vid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_plugin_now_stats`
CREATE TABLE IF NOT EXISTS `cdb_plugin_now_stats` (
`uid` mediumint( NOT NULL default '0',
`total` int(10) NOT NULL default '0',
`monthly` int(10) NOT NULL default '0',
`weekly` int(10) NOT NULL default '0',
`daily` mediumtext NOT NULL,
`firstupdate` int(10) NOT NULL default '0',
`lastupdate` int(10) NOT NULL default '0',
PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Table structure for table `cdb_expense`
CREATE TABLE `cdb_expense` (
`exp_id` int(10) unsigned NOT NULL auto_increment,
`exp_uid` int(10) unsigned NOT NULL default '0',
`exp_amount` double NOT NULL default '0',
`exp_type` int(10) unsigned NOT NULL default '0',
`exp_memo` text,
`exp_created` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`exp_id`),
KEY `INDEX_UID` (`exp_uid`),
KEY `INDEX_TYPE` (`exp_type`),
KEY `INDEX_CREATED` (`exp_created`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE `cdb_plugin_tod_project` (
`tpr_id` int(10) unsigned NOT NULL auto_increment,
`tpr_uid` int(10) unsigned NOT NULL default '0',
`tpr_private` int(10) unsigned NOT NULL default '0',
`tpr_title` varchar(100) NOT NULL default '',
`tpr_progress` int(10) unsigned NOT NULL default '0',
`tpr_type` int(10) unsigned NOT NULL default '0',
`tpr_tasks` int(10) unsigned NOT NULL default '0',
`tpr_notes` int(10) unsigned NOT NULL default '0',
`tpr_dbs` int(10) unsigned NOT NULL default '0',
`tpr_created` int(10) unsigned NOT NULL default '0',
`tpr_lastupdated` int(10) unsigned NOT NULL default '0',
`tpr_lasttouched` int(10) unsigned NOT NULL default '0',
`tpr_completed` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tpr_id`),
KEY `INDEX_UID` (`tpr_uid`),
KEY `INDEX_PRIVATE` (`tpr_private`),
KEY `INDEX_PROGRESS` (`tpr_progress`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
CREATE TABLE `cdb_plugin_tod_task` (
`tta_id` int(10) unsigned NOT NULL auto_increment,
`tta_uid` int(10) unsigned NOT NULL default '0',
`tta_pid` int(10) unsigned NOT NULL default '0',
`tta_title` varchar(100) NOT NULL default '',
`tta_level` int(10) unsigned NOT NULL default '0',
`tta_todo` int(1) unsigned NOT NULL default '0',
`tta_progress` int(10) unsigned NOT NULL default '0',
`tta_created` int(10) unsigned NOT NULL default '0',
`tta_lastupdated` int(10) unsigned NOT NULL default '0',
`tta_lasttouched` int(10) unsigned NOT NULL default '0',
`tta_completed` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`tta_id`),
KEY `INDEX_UID` (`tta_uid`),
KEY `INDEX_PID` (`tta_pid`),
KEY `INDEX_PROGRESS` (`tta_progress`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
#20 - 2007-11-25 18:48
solangen
地球
kinway
帮我申级下系统吧。我不知道怎么样了
www.bakadou.com/bbs/
管理帐号是这个
admin
admin
麻烦帮我看看怎么样才升級合适。。。如果成功了。麻烦你把Sql发上这理来。。。好让其他爱好SAI风格朋友门用
帮我申级下系统吧。我不知道怎么样了
www.bakadou.com/bbs/
管理帐号是这个
admin
admin
麻烦帮我看看怎么样才升級合适。。。如果成功了。麻烦你把Sql发上这理来。。。好让其他爱好SAI风格朋友门用
#23 - 2007-11-25 19:59
edo
地球
i don't know how to help you!
you may give some detail information for me.
Also i can't login your account at admin place
[ 本帖最后由 edo 于 2007-11-25 20:01 编辑 ]
you may give some detail information for me.
Also i can't login your account at admin place
[ 本帖最后由 edo 于 2007-11-25 20:01 编辑 ]