当然是国产的discz!
附件比较好的解决方法是整合ftp

解决方案 »

  1.   

    长度应该不会限制的。你自己看报错信息。是sql超时还是字段太长之类(text型最长64k)
      

  2.   

    不好意思,错误信息实在是太长了,LE都不动了,只能看见前面的部分,想复制都没反应
    下面是从服务器得到的错误信息,帮我看看是怎么回事情
    From [email protected]  Wed Feb  8 10:27:24 2006
    Date: Wed, 8 Feb 2006 10:27:24 +0800
    From: Mail Delivery Subsystem <[email protected]>
    To: <[email protected]>
    MIME-Version: 1.0
    Content-Type: multipart/report; report-type=delivery-status;
            boundary="k182ROn8004869.1139365644/localhost.localdomain"
    Content-Transfer-Encoding: 8bit
    Subject: Returned mail: see transcript for details
    Auto-Submitted: auto-generated (failure)
     
    This is a MIME-encapsulated message
     
    --k182ROn8004869.1139365644/localhost.localdomain
     
    The original message was received at Wed, 8 Feb 2006 10:27:20 +0800
    from HBLINUX [127.0.0.1]
     
       ----- The following addresses had permanent fatal errors -----
    <[email protected]>
        (reason: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1))
     
       ----- Transcript of session follows -----
    ... while talking to sentry.domainbank.com.:
    >>> RCPT To:<[email protected]>
    <<< 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
    550 5.1.1 <[email protected]>... User unknown
     
    --k182ROn8004869.1139365644/localhost.localdomain
    Content-Type: message/delivery-status
     
    Reporting-MTA: dns; localhost.localdomain
    Received-From-MTA: DNS; HBLINUX
    Arrival-Date: Wed, 8 Feb 2006 10:27:20 +0800
     
    Final-Recipient: RFC822; [email protected]
    Action: failed
    Status: 5.1.3
    Remote-MTA: DNS; sentry.domainbank.com
    Diagnostic-Code: SMTP; 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
    Last-Attempt-Date: Wed, 8 Feb 2006 10:27:23 +0800
                                                                                                                                                   
    --k182ROn8004869.1139365644/localhost.localdomain
    Content-Type: message/rfc822
    Content-Transfer-Encoding: 8bit
                                                                                                                                                   
    Return-Path: <[email protected]>
    Received: from localhost.localdomain (HBLINUX [127.0.0.1])
            by localhost.localdomain (8.12.8/8.12.8) with ESMTP id k182RKn8004867
            for <[email protected]>; Wed, 8 Feb 2006 10:27:20 +0800
    Received: (from apache@localhost)
            by localhost.localdomain (8.12.8/8.12.8/Submit) id k182RJOT004865;
            Wed, 8 Feb 2006 10:27:19 +0800
    Date: Wed, 8 Feb 2006 10:27:19 +0800
    Message-Id: <[email protected]>
    To: [email protected]
    Subject: vBulletin (Forum) Database error!
    From: [email protected]
                                                                                                                                                   
    数据库错误在 vBulletin 3.0.8:
                                                                                                                                                   
    无效的 SQL 语句:
                            INSERT INTO attachment
                                    (userid, dateline, filename, filedata, filesize, filetype, visible, filehash, posthash, thumbnail, thumbnail_dateline, thumbnail_filesize, price)
                            VALUES
                                    (1, 1139365639, '相片.rar',
                                     'Rar!\Z\0蠍s\0\0\r\0\0\0\0\0\后面就是一大堆东西,应该是二进制的文件数据,我半天也没看完
      

  3.   

    无效的sql语句就是sql错误了。你在写进数据库前肯定没有将'替换成\'
      

  4.   

    这个不是我写的SQL语句,是下载来的vBulletin程序产生的SQL语句,在附件只有几K大小的时候,产生的SQL语句就能正确执行,大于1MB就出现这个错误,不知道是vBulletin本身的Bug还是我的系统没有设置好?比如MYSQL,PHP,Apache