Last modified: 2012-08-04 20:48:45 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
*** This bug has been marked as a duplicate of bug 18909 ***
(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".
duping again after discussion with Roan *** This bug has been marked as a duplicate of bug 18909 ***