51Testing软件测试论坛

标题: 关开bugzilla上传附件大小的问题 [打印本页]

作者: cxy0143    时间: 2009-11-12 15:31
标题: 关开bugzilla上传附件大小的问题
bugzilla默认的附件大小为1M  太小了,我把配置文件params中的字段maxattachmentsize 由一M改为了20M ,但上传大文件的时候报错了。
是不是还要改mysql里的配置文件呀,但那个文件在哪呀,有高人知道吗?




Software error:
DBD::mysql::st execute failed: MySQL server has gone away [for Statement "INSERT INTO attach_data
                         (id, thedata) VALUES (12, ?)" with ParamValues: 0='Rar!...脧.s..
        main::insert() called at C:\bugzilla\attachment.cgi line 121

.............

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Thu Nov 12 14:43:55 2009] attachment.cgi: DBD::mysql::st execute failed: MySQL server has gone away [for Statement "INSERT INTO attach_data [Thu Nov 12 14:43:55 ...

  ..............

14:43:55', 'HASH(0x162902c)') called at C:\bugzilla\attachment.cgi line 475 [Thu Nov 12 14:43:55 2009] attachment.cgi: main::insert() called at C:\bugzilla\attachment.cgi line 121
Software error:
DBD driver has not implemented the AutoCommit attribute at Bugzilla/DB.pm line 1023.
END failed--call queue aborted at C:\bugzilla\attachment.cgi line 887.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Thu Nov 12 14:43:55 2009] attachment.cgi: DBD driver has not implemented the AutoCommit attribute at Bugzilla/DB.pm line 1023. [Thu Nov 12 14:43:55 2009] attachment.cgi: END failed--call queue aborted at C:\bugzilla\attachment.cgi line 887.
作者: bill_hen    时间: 2009-11-13 02:48
答案:
http://www.websina.com/bugzero/faq/exception-mysql-packet.html




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2