Last modified: 2010-05-15 15:33:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 405 - IP block fails on PostgreSQL
IP block fails on PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2004-09-07 01:57 UTC by Brion Vibber
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2004-09-07 01:57:58 UTC
Another timestamp type mismatch.

Warning: pg_query() [function.pg-query]: Query failed: ERROR: invalid input
syntax for type timestamp: "20040907015658" in
/var/www/html/gres/includes/DatabasePostgreSQL.php on line 96
A database error has occurred Query: INSERT INTO ipblocks
(ipb_address,ipb_user,ipb_by,ipb_reason,ipb_timestamp,ipb_auto,ipb_expiry)
VALUES ('10.0.0.87','0','1','for being a big
jerk','20040907015658','0','20040907070000') Function: Database::insertArray
Error: 1 ERROR: invalid input syntax for type timestamp: "20040907015658"

Backtrace:

    * DatabasePostgreSQL.php line 370 calls wfDebugDieBacktrace()
    * Database.php line 297 calls DatabasePostgreSQL::reportQueryError()
    * Database.php line 760 calls DatabasePostgreSQL::query()
    * Database.php line 714 calls DatabasePostgreSQL::insert()
    * DatabasePostgreSQL.php line 208 calls DatabasePostgreSQL::insertArray()
    * Block.php line 207 calls DatabasePostgreSQL::insertArray()
    * SpecialBlockip.php line 166 calls Block::insert()
    * SpecialBlockip.php line 23 calls IPBlockForm::doSubmit()
    * SpecialPage.php line 257 calls wfSpecialBlockip()
    * SpecialPage.php line 172 calls SpecialPage::execute()
    * index.php line 93 calls SpecialPage::executePath()

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links