已经升级了,但是出现另外一个问题:
我新建了一个资讯模块,SQL语句: select * from supe_categories where type="news"
生成的代码为: <!--{block name="spacenews" parameter="sql/SELECT%20%2A%20from%20supe_categories%20where%20type%3D%22news%22/cachetime/900/showdetail/1/cachename/testnews/tpl/testnews"}--><!--test-->
打印结果: <!--{eval secho($_SBLOCK['testnews']);}-->
但是页面显示的是错误信息:
SupeSite info: MySQL Query Error
Time: 2006-12-7 10:49am
Script: /action_news.html
SQL: SELECT * FROM supe_spacenews WHERE itemid IN (,,,,,,) ORDER BY nid
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ',,,,,) ORDER BY nid' at line 1
Errno.: 1064
An error report has been dispatched to our administrator.
不知道这个supe_spacenews表是从哪里来的??? |