Last modified: 2012-08-04 20:48:45 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 19088 - moving a protected page causes a database error when using postgres
moving a protected page causes a database error when using postgres
Status: RESOLVED DUPLICATE of bug 18909
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.15.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2009-06-05 09:13 UTC by Daniel Kinzler
Modified: 2012-08-04 20:48 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2009-06-05 09:13:44 UTC
when moving a page that is protected, the following error occurs:

A database error has occurred
Query: INSERT IGNORE INTO page_restrictions (pr_page,pr_type,pr_level,pr_cascade,pr_user,pr_expiry) SELECT 745,pr_type,pr_level,pr_cascade,pr_user,pr_expiry FROM page_restrictions WHERE pr_page = '657'
Function: Title::moveTo
Error: 1 ERROR: syntax error at or near "IGNORE"
LINE 1: INSERT /* Title::moveTo Daniel */ IGNORE INTO page_restricti...
^

Backtrace:

#0 /www/wiki.toolserver.org/w/includes/db/Database.php(616): DatabasePostgres->reportQueryError('ERROR: syntax ...', 1, 'INSERT IGNORE I...', 'Title::moveTo', false)
#1 /www/wiki.toolserver.org/w/includes/db/Database.php(1809): Database->query('INSERT IGNORE I...', 'Title::moveTo')
#2 /www/wiki.toolserver.org/w/includes/Title.php(2715): Database->insertSelect('page_restrictio...', 'page_restrictio...', Array, Array, 'Title::moveTo', Array)
#3 /www/wiki.toolserver.org/w/includes/specials/SpecialMovepage.php(338): Title->moveTo(Object(Title), true, '', true)
#4 /www/wiki.toolserver.org/w/includes/specials/SpecialMovepage.php(46): MovePageForm->doSubmit()
#5 [internal function]: wfSpecialMovepage(NULL, Object(UnlistedSpecialPage))
#6 /www/wiki.toolserver.org/w/includes/SpecialPage.php(771): call_user_func('wfSpecialMovepa...', NULL, Object(UnlistedSpecialPage))
#7 /www/wiki.toolserver.org/w/includes/SpecialPage.php(559): SpecialPage->execute(NULL)
#8 /www/wiki.toolserver.org/w/includes/Wiki.php(229): SpecialPage::executePath(Object(Title))
#9 /www/wiki.toolserver.org/w/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
#10 /www/wiki.toolserver.org/w/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
#11 {main}

Version info:

MediaWiki  	1.15alpha (r48811)
PHP 	5.2.9 (cgi-fcgi)
PostgreSQL 	8.3.5
Comment 1 Alexandre Emsenhuber [IAlex] 2009-06-05 09:18:57 UTC

*** This bug has been marked as a duplicate of bug 18909 ***
Comment 2 Roan Kattouw 2009-06-05 15:50:36 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 18909 ***
> 

I don't think this is a dupe, since the error is thrown at "IGNORE" rather than "SELECT".
Comment 3 Alexandre Emsenhuber [IAlex] 2009-06-05 16:29:20 UTC
duping again after discussion with Roan

*** This bug has been marked as a duplicate of bug 18909 ***

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


Navigation
Links