#29151 [NEW]: bugs.php.net fails to insert vote
| From: | fdsoft at pganet dot com | Date: | Wed, 14 Jul 2004 13:55:15 +0000 |
| Subject: | #29151 [NEW]: bugs.php.net fails to insert vote | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25354@lists.php.net to get a copy of this message | ||
From: fdsoft at pganet dot com
Operating system: irrelevant
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: bugs.php.net fails to insert vote
Description:
------------
Trying to vote on a bug resulted in the following page:
query INSERT INTO bugdb_votes
(bug,ip,score,reproduced,tried,sameos,samever)
VALUES(29149,,-2,1,1,0,0); 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 '-2,1,1,0,0)' at line 1
I suspect the website code is trying to use
$_SERVER["HTTP_X_FORWARDED_FOR"] which is set to the
string "unknown" in my case, a common configuration
option for the Squid web proxy.
$_SERVER["REMOTE_ADDR"] would contain the correct IP
address of my proxy.
--
Edit bug report at http://bugs.php.net/?id=29151&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29151&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29151&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29151&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29151&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29151&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29151&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29151&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29151&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29151&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29151&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29151&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29151&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29151&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29151&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29151&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29151&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29151&r=float