Drupal AHAH 形成空数据

发布于 2024-10-02 07:16:59 字数 191 浏览 0 评论 0原文

我有一个带有多个 cck 字段的 drupal 网站(或者它是如何称呼的?当你可以使用“ahah”“添加另一个”字段时)。

问题是,当我单击添加另一个时,一切正常,但如果我等待 5 分钟左右,然后再次单击,所有啊哈字段都会消失。

我的帖子完成正确,但我的数据响应(应包含字段的 html)是空的。

有人对此有什么想法吗?

I have a drupal website with a multi cck field (or how is it called? when you can "add another" field with ahah).

The problem is, when I click add another, everything works fine, but if I wait 5 minutes or so, and I click again, all the ahah fields disapear.

My post is done correctly, but my data response, which should contain the html of the fields, is empty.

Does anyone have an idea about this ?

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

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

发布评论

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

评论(1

月下凄凉 2024-10-09 07:16:59

好的,我找到了答案。

在 ahah 表单使用中,表单是从缓存“form_get_cache()”加载的。每 3 分钟就会运行一次 cron jub,并清除缓存,这就是无法检索 from 且为空的原因。

Ok, I found the answer.

In ahah form use, the form is loaded from the cache "form_get_cache()". Every 3 minutes a cron jub runs, and clears the cache, that's why the from can't be retrieved and is empty.

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