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是我数据库的名称,已经将数据导入到了数据库,进入到了“首页”“后台管理”
点首页,报这样的错误,点后台也如此 展开
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是我数据库的名称,已经将数据导入到了数据库,进入到了“首页”“后台管理”
点首页,报这样的错误,点后台也如此 展开
3个回答
展开全部
Database error: cannot use database 2071
MySQL Error: 0 ()
数据库无法使用 你安装好了吗 开服务器了吗 数据库连接对了吗
MySQL Error: 0 ()
数据库无法使用 你安装好了吗 开服务器了吗 数据库连接对了吗
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
MySQL数据库配置一下啊。。。。
数据名不对!
在db.inc.php文件里修改一下。
数据名不对!
在db.inc.php文件里修改一下。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询