# phpBB3 转换为 Discourse 时的日期/时间警告

**URL:** https://meta.discourse.org/t/date-time-warnings-in-phpbb3-conversion-to-discourse/393391
**Category:** Migration
**Tags:** phpbb
**Created:** [2026年一月13日 23:10 UTC](https://meta.discourse.org/t/date-time-warnings-in-phpbb3-conversion-to-discourse/393391 "2026-01-13T23:10:11Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![shortmort37](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shortmort37/32/538876_2.png) [@shortmort37](https://meta.discourse.org/u/shortmort37)
#### Post date: [2026年一月13日 23:10 UTC](https://meta.discourse.org/t/date-time-warnings-in-phpbb3-conversion-to-discourse/393391/1 "2026-01-13T23:10:11Z")

</div>

您好，我是新手——但我从 2004 年开始运行一个 phpBB 站点。是时候向前看了。

我在转换数据库方面取得了一些成功，但我收到了一些如下警告：

`WARN – : Bad date/time value “0000:00:00 00:00:00”: mon out of range`

有人建议我在导入之前将 phpbb\_backup.sql 文件中出现的此类情况替换为 `1970-01-01`，但它们在文件中任何地方都不存在。我如何确切地找出脚本在抱怨什么（以及哪个主题或帖子），以及如何修复它？

提前感谢，

Dan

附言：这些记录是尽管有警告还是被拒绝导入了？

---

_[View the full topic](https://meta.discourse.org/t/date-time-warnings-in-phpbb3-conversion-to-discourse/393391)._
