Jump to content

User talk:Paladox

About this board

Previous discussion was archived at User talk:Paladox/Archive 1 on 2016-03-28.

Extension:DeletePagesForGood (mediawiki 1.35.x) - Error

1
Moskovets (talkcontribs)

Hi, I have in the wiki_1.35.3  Extension:DeletePagesForGood, but when I try to delete a page, doesn't work.

MediaWiki    1.35.3

PHP        7.3.29

MariaDB        10.3.29

DeletePagesForGood    2.0 (ebcf766)


The error is:


file.png&action=delete_page_permanently Wikimedia\Rdbms\DBQueryError from line 1699 of /var/www/wiki3/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Error 1054: Unknown column 'rev_text_id' in 'field list' (localhost)

Function: Wikimedia\Rdbms\Database::select

Query: SELECT rev_text_id FROM `revision` WHERE rev_page=881

Backtrace:

#0 /var/www/wiki3/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)

#1 /var/www/wiki3/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)

#2 /var/www/wiki3/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)

#3 /var/www/wiki3/includes/libs/rdbms/database/Database.php(1907): Wikimedia\Rdbms\Database->query(string, string, integer)

#4 /var/www/wiki3/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->select(string, string, string)

#5 /var/www/wiki3/includes/libs/rdbms/database/DBConnRef.php(313): Wikimedia\Rdbms\DBConnRef->__call(string, array)

#6 /var/www/wiki3/extensions/DeletePagesForGood/ActionDeletePagePermanently.php(104): Wikimedia\Rdbms\DBConnRef->select(string, string, string)

#7 /var/www/wiki3/extensions/DeletePagesForGood/ActionDeletePagePermanently.php(55): ActionDeletePagePermanently->deletePermanently(Title)

#8 /var/www/wiki3/includes/htmlform/HTMLForm.php(707): ActionDeletePagePermanently->onSubmit(array, OOUIHTMLForm)

#9 /var/www/wiki3/includes/htmlform/HTMLForm.php(597): HTMLForm->trySubmit()

#10 /var/www/wiki3/includes/htmlform/HTMLForm.php(613): HTMLForm->tryAuthorizedSubmit()

#11 /var/www/wiki3/includes/actions/FormAction.php(160): HTMLForm->show()

#12 /var/www/wiki3/includes/MediaWiki.php(527): FormAction->show()

#13 /var/www/wiki3/includes/MediaWiki.php(313): MediaWiki->performAction(ImagePage, Title)

#14 /var/www/wiki3/includes/MediaWiki.php(940): MediaWiki->performRequest()

#15 /var/www/wiki3/includes/MediaWiki.php(543): MediaWiki->main()

#16 /var/www/wiki3/index.php(53): MediaWiki->run()

#17 /var/www/wiki3/index.php(46): wfIndexMain()

#18 {main}

Reply to "Extension:DeletePagesForGood (mediawiki 1.35.x) - Error"
Ludost Mlačani (talkcontribs)

Hi, do you still support this skin? I have a question there...

Reply to "Metrolook skin"
Rsterbal (talkcontribs)

Is there a way to automate the DataDump extension? I'd like to clear out an existing backup and make the new backup in one click? It would be nice to have a button for images as well.

Thanks! Rsterbal (talk) 03:34, 1 September 2020 (UTC)

Reply to "automating datadump"

Extension:DeletePagesForGood - Error

18
Summary by Paladox

Marking as resolved, fix in the patches described in this thread.

Sasazuka! (talkcontribs)

Hi, I've installed the Extension:DeletePagesForGood, but when I try to delete a page, it doesn't work. The error is

Warning: preg_split(): No ending delimiter ':' found in <SITE PATH>\extensions\DeletePagesForGood\ActionDeletePagePermanently.php on line 165

Exception encountered, of type "Error"

----

PHP 7.0.9

MediaWiki 1.27.1

Paladox (talkcontribs)
Paladox (talkcontribs)
Sasazuka! (talkcontribs)

Now I'm getting the error

Internal error

[238883a4ce388335357e7dab] 2016-09-25 22:58:22: Fatal exception of type "DBUnexpectedError"

Paladox (talkcontribs)
Paladox (talkcontribs)
Sasazuka! (talkcontribs)

[e0d818fd90271f519995febd] /site/index.php?title=DeletionTest&action=delete_page_permanently DBUnexpectedError from line 2668 of <site path> \includes\db\Database.php: MediaWiki::preOutputCommit: Flushing an explicit transaction, getting out of sync!

Backtrace:

#0 <site path> \includes\db\loadbalancer\LoadBalancer.php(1055): DatabaseBase->commit(string, string)

#1 <site path> \includes\db\loadbalancer\LBFactory.php(206): LoadBalancer->commitMasterChanges(string)

#2 <site path> \includes\db\loadbalancer\LBFactorySimple.php(154): LBFactory->{closure}(LoadBalancer, string, array)

#3 <site path> \includes\db\loadbalancer\LBFactory.php(208): LBFactorySimple->forEachLB(Closure, array)

#4 <site path> \includes\db\loadbalancer\LBFactory.php(250): LBFactory->forEachLBCallMethod(string, array)

#5 <site path> \includes\MediaWiki.php(560): LBFactory->commitMasterChanges(string, array)

#6 <site path> \includes\MediaWiki.php(539): MediaWiki::preOutputCommit(RequestContext)

#7 <site path> \includes\MediaWiki.php(750): MediaWiki->doPreOutputCommit()

#8 <site path> \includes\MediaWiki.php(519): MediaWiki->main()

#9 <site path> \index.php(43): MediaWiki->run()

#10 {main}

Sasazuka! (talkcontribs)

And I have an another question - is it possible to permanently delete a single edit from the history (e.g. a vandal one), because the only way to do this now is to hide it with the RevisionDelete thing; when I want to delete it from the db?

Paladox (talkcontribs)

I'm not sure about the edit thing but the db that looks like changes in mediawiki core, I know someone who does the mw db I can ask him for help with this.

Sasazuka! (talkcontribs)

Yeah, it would be great; an extension like Delete Revision for Good ; maybe in the future.

Paladox (talkcontribs)
Sasazuka! (talkcontribs)

[a9f6a78146dcbf0085a96a0c] /site/index.php?title=DeletionTest&action=delete_page_permanently DBUnexpectedError from line 2658 of <site path> \includes\db\Database.php: Got COMMIT while atomic sections ActionDeletePagePermanently::deletePermanently are still open

Backtrace:

#0 <site path> \includes\db\loadbalancer\LoadBalancer.php(1055): DatabaseBase->commit(string, string)

#1 <site path> \includes\db\loadbalancer\LBFactory.php(206): LoadBalancer->commitMasterChanges(string)

#2 <site path> \includes\db\loadbalancer\LBFactorySimple.php(154): LBFactory->{closure}(LoadBalancer, string, array)

#3 <site path> \includes\db\loadbalancer\LBFactory.php(208): LBFactorySimple->forEachLB(Closure, array)

#4 <site path> \includes\db\loadbalancer\LBFactory.php(250): LBFactory->forEachLBCallMethod(string, array)

#5 <site path> \includes\MediaWiki.php(560): LBFactory->commitMasterChanges(string, array)

#6 <site path> \includes\MediaWiki.php(539): MediaWiki::preOutputCommit(RequestContext)

#7 <site path> \includes\MediaWiki.php(750): MediaWiki->doPreOutputCommit()

#8 <site path> \includes\MediaWiki.php(519): MediaWiki->main()

#9 <site path> \index.php(43): MediaWiki->run()

#10 {main}

Paladox (talkcontribs)
Sasazuka! (talkcontribs)

It works, thanks!

Paladox (talkcontribs)

Oh, thanks for trying my fixes. I will get them merged tomarror :)

did it delete the page?

just wondering to make sure the fix did not have any unexpected changes that stopped it from deleting pages

Sasazuka! (talkcontribs)

Just deleted several pages and got no errors, so I guess, it's ok.

Paladox (talkcontribs)

OK thanks I'm merging the patches now. And will backport them to the REL1_27 branch :)

Paladox (talkcontribs)

I've backported it to the REL1_27 branch now.

There are no older topics