#312 [Com]: Error after final Bug Submit form
| From: | php at cipri dot com | Date: | Thu, 27 Nov 2003 20:15:41 +0000 |
| Subject: | #312 [Com]: Error after final Bug Submit form | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-23936@lists.php.net to get a copy of this message | ||
ID: 312
Comment by: php at cipri dot com
Reported By: davey@php.net
Status: Critical
Bug Type: Bug System
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
I checked the code via the CVS, and think I found the reason for this.
See the diff created at
http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?login=2&f=&r1=0&tr1=1.8&ty=h&r2=0&tr2=1.9
Open
http://cvs.php.net/co.php/pearweb/public_html/bugs/include/functions.inc?login=2&r=1.9
for the full source, scroll down and you'll find the error to be on an
implode(", ", $to). If the package doesn't have any maintainers
defined, which I guess PEPr wouldn't, $to will still be undefined and
thus it'll crash. Best solutions would be to define $to as an array()
beforehand, near the beginning of that function.
Previous Comments:
------------------------------------------------------------------------
[2003-11-27 15:02:09] davey@php.net
Important to note that it did NOT do it for this bug itself...
so perhaps its to do with the category, or it MUST be the bug report
contents...
- Davey
------------------------------------------------------------------------
[2003-11-27 14:47:40] mroch@php.net
It's not the content of the bug, it did it for me too. Didn't see this
one until just now, so marking my bug (316) as a duplicate of this.
------------------------------------------------------------------------
[2003-11-27 14:20:44] davey@php.net
My original error report was this, I wonder if its content caused the
error:
As discussed on PEAR-DEV,
http://preview.pear.php.net/package-proposal-bbcode-help.php
needs to be fixed thus:
Latter bbcodes need to be removed or fixed. Personally I see no reason
to put images in the proposals....
The titles, are currently "styled" using <span
class="cattitle">TITLE</span>, these should be change to <h2>'s or
other appropriate <h1>-<h6> tags.
- Davey
------------------------------------------------------------------------
[2003-11-27 14:19:57] davey@php.net
Description:
------------
When confirming a bug report, i.e. after writing it, click submit, it
brings up some possible duplicate bugs, click submit again to finalize
it, that page the form submits too yields the following error:
Warning: implode(): Bad arguments. in
/usr/local/www/pearweb/public_html/bugs/include/functions.inc on line
497
Warning: Cannot modify header information - headers already sent by
(output started at
/usr/local/www/pearweb/public_html/bugs/include/functions.inc:497) in
/usr/local/www/pearweb/public_html/bugs/report.php on line 188
Obviously I imagine the latter error is because of the former.
- Davey
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=312&edit=1