cxy0143 发表于 2009-11-12 15:31:38

关开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.

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 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.

attachment.cgi: DBD driver has not implemented the AutoCommit attribute at Bugzilla/DB.pm line 1023. attachment.cgi: END failed--call queue aborted at C:\bugzilla\attachment.cgi line 887.

bill_hen 发表于 2009-11-13 02:48:12

答案:
http://www.websina.com/bugzero/faq/exception-mysql-packet.html
页: [1]
查看完整版本: 关开bugzilla上传附件大小的问题