zenhack / mediawiki-sandstorm

Build of MediaWiki for Sandstorm
2 stars 1 forks source link

Fatal exception of type DBQueryError #4

Closed ocdtrekkie closed 2 years ago

ocdtrekkie commented 2 years ago

Sometimes when I try to submit a new page, I am getting this error:

[730746f7a26a9eeb0055f952] 2022-05-15 18:23:25: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

What's strange is: The actual database operation succeeds. When I reload the grain or refresh the page, the data is updated.

ocdtrekkie commented 2 years ago

I just got it on a page load too, though with some advice this time:

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information

It's intermittent enough it will probably be annoying to sort out.

zenhack commented 2 years ago

I don't think I've seen that. If you can reproduce it semi-reliably, patching LocalSettings.php as instructed (it's even there commented out) and testing would be useful.

ocdtrekkie commented 2 years ago

Is there any reason we shouldn't just set that setting in the main package? I doubt it will leak data not visible to people with access to the grain.

zenhack commented 2 years ago

I don't see a problem with it. Probably a good idea then.

zenhack commented 2 years ago

The new spk I just pushed changes that setting.

ocdtrekkie commented 2 years ago

You might've fixed this via the other changes. I did quite a few more operations than had triggered this error message before and I haven't seen it yet with the new package. I have a bit more to do to finish archiving this wiki, and if I don't see this issue again by the time I finish it, I will assume it's fixed and close this issue.