Home > Backend Development > PHP Tutorial > destoon 复制Sell模型并新建模块

destoon 复制Sell模型并新建模块

WBOY
Release: 2016-06-23 13:48:41
Original
1816 people have browsed it

destoon 复制Sell模型并新建模块

1.将复制的sell 模型改为 pc1模型  
2.更改了模型下面 所有包括sell的字符
3.更新缓存,新建 模块 pc1模型正常
4.后台数据新增修改正常!

问题有以下几点:
1.新建的模块-更新数据-数据统计这里 出现如下错误

  MySQL Query:SELECT COUNT(*) AS num FROM [pre]pc1 WHERE `addtime`>=1356969600 AND `    addtime`<=1359647999 LIMIT 0,1   MySQL Error:Table 'destoon.[pre]pc1' doesn't exist MySQL Errno:0   Message:MySQL Query Error
Copy after login


[pre] 一直不知道什么意思!

2.我是管理员,在管理员组也开启了这个模块的发布权限但是我在商务中心,无法发布,提示无权限

3.就是新建模块在前台还是用的sell模版,后台添加了数据,前台无法显示 具体代码

<ul class="sw-mod-popOfferImgs">	{if $page == 1}{ad($moduleid,0,'',6)}{/if}		                   <li>{$moduleid}</li> 											                    <!--{tag("moduleid=$moduleid&condition=status=3$dtype&areaid=$cityid&catid=$catid&pagesize=".$MOD[pagesize]."&page=$page&showpage=1&datetype=5&order=".$MOD[order]."&fields=".$MOD[fields]."&template=newlist-sell")}-->  </ul>
Copy after login


{$moduleid} 我测试了,是我新建的那个模块的ID 但是后面显示不出数据,不知道还需要更改那里请高手帮忙!


回复讨论(解决方案)

你没有建对应的数据表,错误提示是说你的  “表前缀_pc1”  这张表不存在。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template