phpweb安装提示错误Fatal error的原因如何解决?

Databaseerror:cannotusedatabase2071MySQLError:0()#0dbbase_sql->halt(cannotusedatabase... Database error: cannot use database 2071
MySQL Error: 0 ()

#0 dbbase_sql->halt(cannot use database 2071) called at [E:\web\phpweb\2071\includes\db.inc.php:50]
#1 dbbase_sql->connect() called at [E:\web\phpweb\2071\includes\db.inc.php:66]
#2 dbbase_sql->query(select * from {P}_base_config) called at [E:\web\phpweb\2071\includes\common.inc.php:14]
#3 readconfig() called at [E:\web\phpweb\2071\includes\common.inc.php:1288]
#4 include(E:\web\phpweb\2071\includes\common.inc.php) called at [E:\web\phpweb\2071\index.php:3]
Database error: Invalid SQL: select * from pwn_base_config
MySQL Error: 1046 (No database selected)

#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_config) called at [E:\web\phpweb\2071\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_base_config) called at [E:\web\phpweb\2071\includes\common.inc.php:14]
#2 readconfig() called at [E:\web\phpweb\2071\includes\common.inc.php:1288]
#3 include(E:\web\phpweb\2071\includes\common.inc.php) called at [E:\web\phpweb\2071\index.php:3]

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\web\phpweb\2071\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwn_base_pageset where coltype='index' and pagename='index'
MySQL Error: 1046 (No database selected)

#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_pageset
where coltype='index' and pagename='index') called at
[E:\web\phpweb\2071\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_base_pageset where
coltype='index' and pagename='index') called at
[E:\web\phpweb\2071\includes\common.inc.php:56]
#2 pageset(index, index) called at [E:\web\phpweb\2071\index.php:7]

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\web\phpweb\2071\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwn_base_plus where plustype='' and pluslocat='' and display!='none' order by zindex
MySQL Error: 1046 (No database selected)

#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_plus where
plustype='' and pluslocat='' and display!='none' order by zindex) called
at [E:\web\phpweb\2071\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_base_plus where plustype=''
and pluslocat='' and display!='none' order by zindex) called at
[E:\web\phpweb\2071\includes\common.inc.php:344]
#2 printpage() called at [E:\web\phpweb\2071\index.php:11]

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\web\phpweb\2071\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwn_advs_pop where ifpop='1'
MySQL Error: 1046 (No database selected)

#0 dbbase_sql->halt(Invalid SQL: select * from pwn_advs_pop where
ifpop='1') called at [E:\web\phpweb\2071\includes\db.inc.php:73]
#1 dbbase_sql->query(select * from {P}_a。。。
2071是我数据库的名称,已经将数据导入到了数据库,进入到了“首页”“后台管理”
点首页,报这样的错误,点后台也如此
展开
 我来答
616126367
推荐于2016-05-24 · 超过18用户采纳过TA的回答
知道答主
回答量:46
采纳率:0%
帮助的人:48.4万
展开全部
MySQL Error
说明你语法有问题 ,2071不能使用,请到
db.inc.php文件里重新配置下,2071建议使用一个抽象一点的数据库名字,我刚看还以为死2071行语法错误
青山道场
2012-07-09
知道答主
回答量:16
采纳率:0%
帮助的人:7.8万
展开全部
Database error: cannot use database 2071
MySQL Error: 0 ()
数据库无法使用 你安装好了吗 开服务器了吗 数据库连接对了吗
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
仰望星空派EXfdd
2012-07-08 · TA获得超过213个赞
知道小有建树答主
回答量:262
采纳率:0%
帮助的人:94.5万
展开全部
MySQL数据库配置一下啊。。。。
数据名不对!
在db.inc.php文件里修改一下。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式