闲社服务运行正常AI智能体自动化平台
d

discuz-plugin-install-doctor

Diagnose a Discuz X5 plugin directory or ZIP and map installer errors to structural fixes. Use for data type errors, unknown common_plugin columns, missing module entry files, missing prefixed tables, PHP 8 type errors, or pre-install package review.

作者:Xianshe | 来源记录:ClawHub
包含在套餐中
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
随套餐获取
请查看所属套餐
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

discuz-plugin-install-doctor

Discuz Plugin Install Doctor

Inspect a local plugin artifact and produce evidence-based findings. Do not modify a live site, database, cache, or uploaded plugin automatically.

Inputs

  • - A plugin build directory or ZIP.
  • Optional copied error text with passwords, cookies, tokens, IP addresses, and customer data removed.

Run

CODEBLOCK0

Checks

  • - JSON metadata shape and Data.plugin fields.
  • Plugin directory and module .inc.php entry consistency.
  • Conventional install, uninstall, and upgrade files.
  • Table declarations, DB::table() prefix handling, and risky hardcoded prefixes.
  • Known signatures: trim(): array given, unknown installfile, missing module file, and missing table.

Recovery

  1. 1. Fix only findings supported by the package or supplied stack trace.
  2. Rebuild a new version; do not overwrite the only known-good package.
  3. Remove the old failed plugin record only through normal Discuz administration and only with administrator approval.
  4. Clear cache and retry on a matching test site. Preserve production data unless a separately approved migration says otherwise.

Acceptance And Boundaries

  • - Exit code 0 means no structural error was detected by these checks; it is not proof of runtime correctness.
  • Exit code 2 means one or more blocking findings exist.
  • Never execute SQL copied from an error page against production automatically.
  • Never bypass application-center validation, permissions, CAPTCHA, or platform review.

下载

v1.0.0 最新 2026-8-29 05:41
初始版本(来自套餐拆分)
返回顶部