kingpengLin 2014-06-15 00:39 采纳率: 0%
浏览 2305

phpweb 网站突然报错 不知道发什么问题

在线狂等
下面是错误:
Database error: Invalid SQL: select * from pwn_base_config
MySQL Error: 1146 (Table 'wenhong.pwn_base_config' doesn't exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_config) called at [C:\APMServ5.2.6\www\htdocs\includes\db.inc.php:54] #1 dbbase_sql->query(select * from {P}_base_config) called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:42] #2 readconfig() called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:32] #3 include(C:\APMServ5.2.6\www\htdocs\includes\common.inc.php) called at [C:\APMServ5.2.6\www\htdocs\index.php:3]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\APMServ5.2.6\www\htdocs\includes\db.inc.php on line 61
Database error: Invalid SQL: select * from pwn_base_pageset where coltype='index' and pagename='index'
MySQL Error: 1146 (Table 'wenhong.pwn_base_pageset' doesn't exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_pageset where coltype='index' and pagename='index') called at [C:\APMServ5.2.6\www\htdocs\includes\db.inc.php:54] #1 dbbase_sql->query(select * from {P}_base_pageset where coltype='index' and pagename='index') called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:90] #2 pageset(index, index) called at [C:\APMServ5.2.6\www\htdocs\index.php:7]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\APMServ5.2.6\www\htdocs\includes\db.inc.php on line 61
Database error: Invalid SQL: select * from pwn_base_plus where plustype='' and pluslocat='' and display!='none' order by zindex
MySQL Error: 1146 (Table 'wenhong.pwn_base_plus' doesn't exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_base_plus where plustype='' and pluslocat='' and display!='none' order by zindex) called at [C:\APMServ5.2.6\www\htdocs\includes\db.inc.php:54] #1 dbbase_sql->query(select * from {P}_base_plus where plustype='' and pluslocat='' and display!='none' order by zindex) called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:374] #2 printpage() called at [C:\APMServ5.2.6\www\htdocs\index.php:11]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\APMServ5.2.6\www\htdocs\includes\db.inc.php on line 61
Database error: Invalid SQL: select * from pwn_advs_pop where ifpop='1'
MySQL Error: 1146 (Table 'wenhong.pwn_advs_pop' doesn't exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwn_advs_pop where ifpop='1') called at [C:\APMServ5.2.6\www\htdocs\includes\db.inc.php:54] #1 dbbase_sql->query(select * from {P}_advs_pop where ifpop='1') called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:1404] #2 winpop() called at [C:\APMServ5.2.6\www\htdocs\includes\common.inc.php:628] #3 printpage() called at [C:\APMServ5.2.6\www\htdocs\index.php:11]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\APMServ5.2.6\www\htdocs\includes\db.inc.php on line 61

  • 写回答

1条回答 默认 最新

  • 騒周 2018-07-26 02:43
    关注

    这是你数据库的原因,不是没连上,就是读取错误!

    评论

报告相同问题?

悬赏问题

  • ¥15 github符合条件20分钟秒到账,github空投 提供github账号可兑换💰感兴趣的可以找我交流一下
  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?