我想让访问者注册我的网站。
我已经启用了token和entity token两个模块。
为此,我已经完成了在我的drupal 7网站跟踪。
仅1名管理员 2访客( Checked ) 3访客,但管理员批准是必需的复选框选中的电子邮件验证。
然后,单击<Save>按钮。
我在updating the admin/config/people/accounts设置时出现了以下错误。
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].我不明白为什么在更新设置时这个错误给了我。
发布于 2014-04-07 13:21:29
在“帐户设置”屏幕的底部,有一组电子邮件模板,以便您可以配置系统发送的用于各种用户帐户操作的所有电子邮件(“帐户激活”、“帐户被阻塞”等)。它们都在自己的体内、主题等中使用令牌,这些标记由于某种原因被视为无效。
检查站点信息配置(admin/config/system/site-information),并确保相关字段已正确填写。或者,对于快速和肮脏的解决方案,编辑模板,删除令牌,并替换为您的网站的等价物。但最好确保这些令牌都有有效值。
https://stackoverflow.com/questions/22297413
复制相似问题