Page MenuHomePhabricator

A database error occurred in Wiki built with MediaWiki
Closed, InvalidPublic

Description

After I install the CU (check user) plug-in, this error will be reported for any operation (read and write) that will affect the database. How can I solve this problem?

Error message (Chinese):
数据库错误
出现数据库查询错误。这可能表示软件中存在漏洞。
[fa6d8a7797436384fb351ac0] 2020-12-12 12:47:47: 类型的“Wikimedia\Rdbms\DBQueryError”致命例外.

Error prompt (simple translated English):
Database error
A database query error occurred. This may indicate a vulnerability in the software.
[fa6d8a7797436384fb351ac0] 2020-12-12 12:47:47: Fatal exception to“Wikimedia\Rdbms\DBQueryError”of type

Related Objects

Event Timeline

[memcached] MainWANObjectCache using store MemcachedPhpBagOStuff

This is all the error logs, It's added to your troubles.

(Hi, please use the preview before posting comments to check the format. The output above is hard to read, unfortunately.)

Please also provide both your exact MediaWiki version and extension version/branch. Please see https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks.

OK,I know.

1.Go to http://wiki.lclightcat.com/ with Microsoft Edge.
2.Try to create an account(button“创建账户”)

After you do this (after you click the Create Account button), you will see an error prompt and the debugger has been opened.

Thanks.

In addition: the language is simplified Chinese

In addition: it should be noted that any behavior of calling the database will cause this error. After clicking the login button, the user has not logged in.

Impossible:

$:acko\> wget http://wiki.lclightcat.com/
--2020-12-12 14:43:04--  http://wiki.lclightcat.com/
Resolving wiki.lclightcat.com (wiki.lclightcat.com)... 120.53.230.57
Connecting to wiki.lclightcat.com (wiki.lclightcat.com)|120.53.230.57|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

Please provide requested information here, in this ticket. Thanks.

Aklapper changed the task status from Open to Stalled.EditedDec 12 2020, 1:48 PM

The log above shows Error 1146: Table 'wiki_lclightcat_.wikicu_changes' doesn't exist (localhost).
We don't know which steps (a complete, full, exact list, as a list) you performed when installing CU; see https://www.mediawiki.org/wiki/How_to_report_a_bug - thanks!

I'd say you didn't follow the installation instructions of that extension. Or at least, you're missing the "run the update.php script"

It seems that your operation was temporarily blocked as a kind of penetration behavior by my firewall(your operation is considered as an attack and is blocked), so your access failed at that time. In addition, this is the second installation, the first time I even imported it manually.Also, the firewall is closed. Please try again. I'm sorry for the trouble.

See previous comments; I don't see any bug in any code here. Please feel free to bring this up on the Support desk instead. Thanks.