修复 PHPBB DB 损坏时可以使用哪些好的技巧和工具?

发布于 2024-11-27 05:17:34 字数 810 浏览 2 评论 0原文

晚上好!

我经营一个中等规模的 PHPBB 论坛,其中有各种(暂时)非致命的数据损坏。例如,我开始注意到 PHPBB“名称”在不应该出现的地方被替换,例如菜单字段和内容。

以下是我的 ACP 菜单的一部分:

You are logged in as:
[ Logout ][ ACP Logout ]     

QUICK ACCESS
Manage users
Manage groups
Manage forums
[...]
Avatar settings
Private message settings
Post settings
Signature settings
ACP_FEED_SETTINGS   <--- WTF?
User registration settings
Visual confirmation settings

我想很快尝试手动修复此问题。我的计划是:

  1. 让主板脱机 进行
  2. 备份 将
  3. 数据转储到文件
  4. 识别问题
  5. 修复所述问题,可能包括验证安装
  6. 测试解决方案

我的预感是,多年来的众多更新之一并未完全按计划运行(我从 2.x 版本升级了)。该论坛是普通安装。

我问这个问题是因为我对 SQL 没有太多经验(很奇怪)。我知道几种编程语言(perl 是我最好的),但只是将数据库的事情留给其他人。

由于我以前从未尝试过这样做,所以我喜欢关于如何识别腐败、提示、一般建议、常见陷阱等的想法。我的搜索没有显示太多有用的建议,所以我转向这里,所以!

提前致谢!

Good evening!

I run a moderately large, PHPBB forum, which has various (for the time being) non-fatal amount of data corruption. for example, I started noticing what appear to be PHPBB "names" substituted in places they should not be, such as menu fields and in content.

Here is what part of my ACP menu looks like:

You are logged in as:
[ Logout ][ ACP Logout ]     

QUICK ACCESS
Manage users
Manage groups
Manage forums
[...]
Avatar settings
Private message settings
Post settings
Signature settings
ACP_FEED_SETTINGS   <--- WTF?
User registration settings
Visual confirmation settings

I would like to, very soon, attempt to fix this by hand. My plan is to:

  1. take the board offline
  2. make a backup
  3. dump the data to file
  4. identify the problem
  5. fix said problem, possibly including verifying the install
  6. test solution

My hunch is that one of the many updates over the years didn't work exactly as planned (I upgraded from version 2.x-something). The forum is a vanilla install.

I am asking this question because I don't have much experience with SQL (strangely enough). I know several programming languages (perl is my best), but just left the database stuff up to other people.

As I have never attempted this before, I would love thoughts on how to identify the corruption, tips, general advice, common pitfalls, etc. My searches have not revealed much useful advice, so I turn here, to SO!

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文