Drupal AHAH 形成空数据
我有一个带有多个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我找到了答案。
在 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.