Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 站内附件图片展示 FOR D4.1 全缓存强化版 Edit By 温馨阁

[复制链接]
charlesyy 发表于 2006-7-13 23:27:06 | 显示全部楼层
這個附件 有問題, 先前有會友都說過 , 我使用的主机設置如下:

Discuz 4.1
MySQL 版本為 4.1.20-standard .

如不支援最新的 SQL , 那當伺服器更新MySQL 時, 那便出現大問題了 .......

以下是更新綬存後系統指示出錯誤結果
-------------------------------------------------------------

Discuz! info: MySQL Query Error

User: management
Time: 2006-7-13 10:29pm
Script: /bbs/admincp.php

SQL: SELECT a.tid, a.attachment, p.subject FROM cdb_attachments a LEFT JOIN cdb_posts p USING(pid) WHERE p.fid IN() and a.filetype='image/pjpeg' ORDER BY aid DESC LIMIT 0, 5
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 ') and a.filetype='image/pjpeg' ORDER BY aid DESC LIMIT 0, 5' at line 1
Errno.: 1064

Similar error report has beed dispatched to administrator before.

面頁亦不能正常顯示 . 有沒有高手可以指點出 成功方案 ????
回复

使用道具 举报

网络同根生 发表于 2006-7-15 13:37:24 | 显示全部楼层
好,收藏了。
回复

使用道具 举报

kicny 发表于 2006-7-24 12:10:55 | 显示全部楼层
include/editpost.inc.php 里面找不到下面这两句话,现在我的网站上面显示不了附件,郁闷。怎么回事啊。


updatecredits($discuz_uid, $creditspolicy['postattach'], -($db->affected_rows()));


updatecredits($discuz_uid, $creditspolicy['postattach'], count($attachments));


你搜索updatecredits
  就出来了..!!!!!后面的不要.>!
http://sscl.vxv.cn
回复

使用道具 举报

Deoxys01 发表于 2006-7-28 15:38:12 | 显示全部楼层
我觉得搂住忘了加一项指示。对于那些虽然早了整个次序编辑的人,但无法看见图像,xxx,都是因为这样:

-在遗漏底部下载 bk.gif。然后将它放在 ./images/里就行了。非常重要!否则图像就会出现xxx。希望楼主留意一下。
回复

使用道具 举报

coto 发表于 2006-8-2 18:22:58 | 显示全部楼层
TMD垃圾程序~~~~不装了~
回复

使用道具 举报

coto 发表于 2006-8-2 18:23:57 | 显示全部楼层
根本就是装不起来到
editpost.inc.php
就找不到了~~~~晕~
回复

使用道具 举报

coto 发表于 2006-8-2 18:24:15 | 显示全部楼层
怎么删掉????
回复

使用道具 举报

waterskin 发表于 2006-8-3 13:42:42 | 显示全部楼层
数据库反安装之后,重新升级数据库,提示:
升级错误,MySQL 提示: Duplicate entry 'attaopen' for key 1
请问应该如何解决?
回复

使用道具 举报

waterskin 发表于 2006-8-3 15:40:15 | 显示全部楼层
在98楼反应情况没有解决的条件下,继续安装,能够显示出来,但是有网页错误提示.
行号: 1028
字符: 19
错误: 0
代码: 语法错误
地址: http://www.popdg.com/index.php
回复

使用道具 举报

waterskin 发表于 2006-8-3 15:41:18 | 显示全部楼层
而且发现滚动等功能失效~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-26 09:27 , Processed in 0.114056 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表