首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >启用注册页面访问时无效令牌的Drupal 7错误

启用注册页面访问时无效令牌的Drupal 7错误
EN

Stack Overflow用户
提问于 2014-03-10 10:17:33
回答 1查看 893关注 0票数 2

我想让访问者注册我的网站。

我已经启用了tokenentity token两个模块。

为此,我已经完成了在我的drupal 7网站跟踪。

  • 列表项目
  • 转到网址: http ://my-site-url/admin/config/people/accounts
  • 更改登记和取消选项
  • 谁能登记帐户?

仅1名管理员 2访客( Checked ) 3访客,但管理员批准是必需的复选框选中的电子邮件验证。

然后,单击<Save>按钮。

我在updating the admin/config/people/accounts设置时出现了以下错误。

代码语言:javascript
复制
The Subject is using the following invalid tokens: [site:name].
The Body is using the following invalid tokens: [user:name], [user:one-time-login-url], [site:name], [site:login-url].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [site:name].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [user:one-time-login-url], [site:name], [site:login-url].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [user:one-time-login-url], [site:name].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [user:one-time-login-url], [site:name], [site:login-url].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [site:name].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [user:cancel-url], [site:name], [site:url-brief].
The Subject is using the following invalid tokens: [user:name], [site:name].
The Body is using the following invalid tokens: [user:name], [site:name].

我不明白为什么在更新设置时这个错误给了我。

EN

回答 1

Stack Overflow用户

发布于 2014-04-07 13:21:29

在“帐户设置”屏幕的底部,有一组电子邮件模板,以便您可以配置系统发送的用于各种用户帐户操作的所有电子邮件(“帐户激活”、“帐户被阻塞”等)。它们都在自己的体内、主题等中使用令牌,这些标记由于某种原因被视为无效。

检查站点信息配置(admin/config/system/site-information),并确保相关字段已正确填写。或者,对于快速和肮脏的解决方案,编辑模板,删除令牌,并替换为您的网站的等价物。但最好确保这些令牌都有有效值。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/22297413

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档