插件作者的标准出来了!Manyou诚邀开发者加盟!
《站长》&《程序员》杂志火热征集开发者
立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0 使用说明
Discuz!NT2.5正式版发布
开放源码下载
UCenter Home 1.2 正式版发布
官方站 | 帮助文档
基于ECShop的网店托管-卖否
PHP就业培训直通车 | LAMP培训大连
Discuz!收费服务内容及价格
论坛免费升级 手握手
Discuz!/ECShop 专用官方虚拟主机
【九城-奇迹世界】专题活动开始了!
Comsenz 招聘信息
网店系统ECShop v2.6.0正式版火热发布
基于Discuz!的免费论坛空间5D6D
参与有奖社区调查 赢取台湾5日游
发新话题
打印

又出现 SupeSite info: MySQL Query Error

又出现 SupeSite info: MySQL Query Error

在SS的首页点击论坛, 进入后的页面的广告位的下面出现:

SupeSite info: MySQL Query Error

Time: 2006-8-30 5:04pm
Script: /site/index.php

SQL: SELECT a.aid AS a_aid, a.tid AS a_tid, a.pid AS a_pid, a.dateline AS a_dateline, a.readperm AS a_readperm, a.filename AS a_filename, a.description AS a_description, a.filetype AS a_filetype, a.filesize AS a_filesize, a.attachment AS a_attachment, a.downloads AS a_downloads, t.* FROM cdb_attachments a LEFT JOIN cdb_threads t ON t.tid = a.tid WHERE a.filetype IN ('image/bmp', 'image/gif', 'image/jpeg', 'image/pjpeg', 'image/png') AND t.displayorder >= 0 ORDER BY dateline DESC LIMIT 0,10
Error: Column 'dateline' in order clause is ambiguous
Errno.: 1052

Similar error report has beed dispatched to administrator before.




请见:  http://www.blueswind.com/site/?action_bbs.html

[ 本帖最后由 blueswind 于 2006-8-30 17:08 编辑 ]
打开 templates/default/index.html.php
找到
复制内容到剪贴板
代码:
<!--{block name="bbsattachment" parameter="filetype/image/order/dateline DESC
修改为
复制内容到剪贴板
代码:
<!--{block name="bbsattachment" parameter="filetype/image/order/a.dateline DESC
俺的Space
http://sup.discuz.net
如果有问题,请到论坛上发帖询问,不要PM我,以免延误你问题的解决,谢谢。
早就按这个改过了, SS的首页这样改后好了, 可是论坛的页面还是出现这个问题

附件

1.JPG (37.92 KB)

2006-8-31 10:33

1.JPG

将bbs.index.html.php
找到
复制内容到剪贴板
代码:
<!--{block name="bbsattachment" parameter="filetype/image/order/dateline DESC/limit/0,10/cachetime/2030/subjectlen/12/tpl/bbs_image_subject_list_td"}--><!--论坛贴中的附件图片-->
修改为
复制内容到剪贴板
代码:
<!--{block name="bbsattachment" parameter="filetype/image/order/a.dateline DESC/limit/0,10/cachetime/2030/subjectlen/12/tpl/bbs_image_subject_list_td"}--><!--论坛贴中的附件图片-->
UCH用户使用交流群58602406,加入请注明论坛id
SupeSite官方使用交流群655682
SupeSite官方发展建议群号见建议区版顶
今天的积累,明天的收获
谢谢茄子小姐!!

更改bbs.index.html.php文件后,广告位下面的内容都显示出来了,但是此页面上面还是有个:undefined,不知是什么?

附件

2.JPG (4.41 KB)

2006-8-31 11:20

2.JPG

这个是调用的是论坛的公告
如果美哟公告的话,是会显示undefined
UCH用户使用交流群58602406,加入请注明论坛id
SupeSite官方使用交流群655682
SupeSite官方发展建议群号见建议区版顶
今天的积累,明天的收获
谢谢!!   明白!!!

导入论坛帖子 出现这问题怎么办?

SupeSite info: MySQL Query Error

Time: 2006-9-9 12:47am
Script: /space/spacecp.php

SQL: SELECT * FROM cdb_forums WHERE status=1 AND (type='group' || allowblog='1') ORDER BY fup, displayorder
Error: Unknown column 'allowblog' in 'where clause'
程序文件跟数据库有冲突,请使用正确的程序文件上传上去覆盖

Similar error report has beed dispatched to administrator before.
引用:
原帖由 grouder 于 2006-9-9 00:46 发表
SupeSite info: MySQL Query Error

Time: 2006-9-9 12:47am
Script: /space/spacecp.php

SQL: SELECT * FROM cdb_forums WHERE status=1 AND (type='group' || allowblog='1') ORDER BY fup, displayorder ...
http://www.discuz.net/thread-343512-1-1.html
UCH用户使用交流群58602406,加入请注明论坛id
SupeSite官方使用交流群655682
SupeSite官方发展建议群号见建议区版顶
今天的积累,明天的收获
发新话题
版块跳转