- 03/03最新版Docker Des...
- 01/26草莓互联2025年春节放假...
- 12/27kindeditor编辑器...
- 09/30草莓互联2024年国庆假期...
- 09/15草莓互联2024年中秋节放...
- 08/10宝塔控制面板手动安装Ope...
- 06/07草莓互联2024年端午节放...
- 02/27宝塔面板python2.7升级...
- 02/19宝塔面板站点PCI DSS不合...
- 02/19宝塔面板站点站长工具中点亮HT...
- 02/14宝塔面板https协议无法获取...
- 02/11宝塔Windows面板下SQL...
- 02/02宝塔控制面板利用nginx实现...
- 09/18宝塔控制面板FTP增加Flas...
phpweb已经是国内最强的的开源电子商务系统了,但并非完美,因为任何...
互联网3年一轮回,京东凡客等电商品牌在三年之前也不过是小打小闹,而如...
电商已经成为趋势,传统行业的竞争已经逐渐演变到网络上,也有不少用Weboss...
phpweb系统是固定的模式,适用于大部分行业与需求。但有一些行业还是有自己...
phpweb Database error: Invalid SQL: select * from pwu_base_config
大家做phpweb也许会出现这种问题:
Database error: Invalid SQL: select * from pwu_base_config
MySQL Error: 1146 (Table ‘phpweb2051.pwu_base_config’ doesn’t exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwu_base_config) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php:73] #1 dbbase_sql->query(select * from pwn_base_config) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:14] #2 readconfig() called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:1288] #3 include(D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php) called at [D:\APMServ5.2.6\www\htdocs\2051\index.php:3]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwu_base_pageset where coltype=’index’ and pagename=’index’
MySQL Error: 1146 (Table ‘phpweb2051.pwu_base_pageset’ doesn’t exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwu_base_pageset where coltype=’index’ and pagename=’index’) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php:73] #1 dbbase_sql->query(select * from pwn_base_pageset where coltype=’index’ and pagename=’index’) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:56] #2 pageset(index, index) called at [D:\APMServ5.2.6\www\htdocs\2051\index.php:7]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwu_base_plus where plustype=” and pluslocat=” and display!=’none’ order by zindex
MySQL Error: 1146 (Table ‘phpweb2051.pwu_base_plus’ doesn’t exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwu_base_plus where plustype=” and pluslocat=” and display!=’none’ order by zindex) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php:73] #1 dbbase_sql->query(select * from pwn_base_plus where plustype=” and pluslocat=” and display!=’none’ order by zindex) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:344] #2 printpage() called at [D:\APMServ5.2.6\www\htdocs\2051\index.php:11]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php on line 80
Database error: Invalid SQL: select * from pwu_advs_pop where ifpop=’1′
MySQL Error: 1146 (Table ‘phpweb2051.pwu_advs_pop’ doesn’t exist)
#0 dbbase_sql->halt(Invalid SQL: select * from pwu_advs_pop where ifpop=’1′) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php:73] #1 dbbase_sql->query(select * from pwn_advs_pop where ifpop=’1′) called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:1248] #2 winpop() called at [D:\APMServ5.2.6\www\htdocs\2051\includes\common.inc.php:568] #3 printpage() called at [D:\APMServ5.2.6\www\htdocs\2051\index.php:11]
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\APMServ5.2.6\www\htdocs\2051\includes\db.inc.php on line 80
这是因为 网站根目录下的config.inc.php 打开此文件 然后
#[数据表前缀]
$TablePre=”pwn”;
把数据库表前缀 跟数据库里面的表前缀要对应起来,不然会出现此错误。
如果问题还没有解决,那就是你的数据库是空的。没有数据!
假如我们资讯/文章对您有所帮助,您可以通过扫描捐赠二维码支持一下我们~
感谢您对我们的支持,您的小小支持让我们有信心走得更远!