drupal webform 确认消息匿名用户
drupal webform confirmation message anonymous user
我对 drupal 比较陌生,我正在使用 webform 7.4.17 和 drupal 7.59,我在页面上将 webform 显示为块,没有重定向。我需要显示成功的确认消息 submission.I 正在为经过身份验证的用户获取确认消息。但对于匿名用户,提交成功后不会出现确认信息。
也许这会有所帮助:
Somehow the anonymous user was deleted from the database. So check to
see if you have a uid of 0 still there. If it isn't there, put it
back. That cleared up this issue for me. Here is the sql to do it. The
question here is, where did that user go, how did it get deleted?
INSERT INTO users (uid, name, mail) VALUES ('0', '', ''); INSERT INTO
users_roles (uid, rid) VALUES (0, 1);
我对 drupal 比较陌生,我正在使用 webform 7.4.17 和 drupal 7.59,我在页面上将 webform 显示为块,没有重定向。我需要显示成功的确认消息 submission.I 正在为经过身份验证的用户获取确认消息。但对于匿名用户,提交成功后不会出现确认信息。
也许这会有所帮助:
Somehow the anonymous user was deleted from the database. So check to see if you have a uid of 0 still there. If it isn't there, put it back. That cleared up this issue for me. Here is the sql to do it. The question here is, where did that user go, how did it get deleted?
INSERT INTO users (uid, name, mail) VALUES ('0', '', ''); INSERT INTO users_roles (uid, rid) VALUES (0, 1);