错误:
Software error:
DBD::mysql::st execute failed: 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 '﨧%y?amp;9\0犾\0?\0 ̄\0\0衯泾麮\0畦\0T%鸕弚?滫F碁4P磲)嘓諳?' at line 4 [for Statement "INSERT INTO attachments
(thedata, bug_id, creation_ts, filename, description,
mimetype, ispatch, isprivate, submitter_id)
VALUES (?, 114, '2009-02-23 17:39:33', '初始化任务失败(负的数据备份量).jpg',
'fail', 'image/pjpeg', 0,
0, 12)"] at /var/www/html/bugzilla-2.20.1/attachment.cgi line 943
main::insert() called at /var/www/html/bugzilla-2.20.1/attachment.cgi line 94作者: shu123 时间: 2009-2-23 19:23
没遇见过这种问题~作者: bill_hen 时间: 2009-2-24 03:28
It said the sql statement has a problem, try to change the Chinese file name into, say, test.jpg, and try again.
Maybe your mysql version is not supported by your bugzilla version.
在查看attachments.cgi之后,我将?改为$thedata,结果报出新的错误:
Global symbol "$ACTION" requires explicit package name at /var/www/html/bugzilla-2.20.1/attachment.cgi line 74.
syntax error at /var/www/html/bugzilla-2.20.1/attachment.cgi line 74, near "$ACTION EQ "
Execution of /var/www/html/bugzilla-2.20.1/attachment.cgi aborted due to compilation errors.