分类相关的新闻块部分在 Drupal 上消失并重新出现

发布于 2024-10-05 06:13:04 字数 274 浏览 7 评论 0原文

我有一个块,显示属于某个类别术语的所有新闻。然而,有时,与某个术语相关的所有新闻都会消失,而其他术语的新闻仍然可见。这个消失的块稍后会自行出现。有什么办法可以解决吗?

临时或永久解决方案均受到欢迎。提前致谢。

我尝试过修复表、刷新缓存但无济于事。

我检查了查询,它们似乎工作正常..我使用了 APC 缓存。这可能是旧缓存数据的原因。我尝试使用 apc_clear_cache() w 刷新 APC 缓存并调用 apc_clear_cache('user') 但它会使服务器陷入无限循环。

I have a block which displays all news belonging to terms of a category. However, sometimes, all news related to a term disappear while other terms' news are still visible. This disappear chunk appears on its own later. Is there a way I can fix it.

Both temporary or Permanent solutions are welcomed. Thanks in advance.

I have tried repairing tables, flushing cache but to no avail.

I checked the queries, they seem to be working fine.. I have used APC cache. Could that be a cause of old cached data. I tried flushing APC cache using apc_clear_cache() w and calling apc_clear_cache('user') but it hangs the server into indefinite loop.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

网白 2024-10-12 06:13:04

好的,我找到了问题所在。问题在于,属于特定分类的新闻集的新闻之一被部分保存。虽然节点表中有条目,但其他相关数据缺失。

从数据库中手动删除该部分节点后,丢失的新闻文章集再次出现。

Ok, I figured out the problem. The problem was that one of the news belonging to the set of news of a particular taxonomy was saved partially. Though there was an entry in the node table, other related data was missing.

On deleting this partial node manually from the database, the set of missing news articles reappeared.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文