summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/code-error.html.tmpl7
-rw-r--r--template/en/default/global/user-error.html.tmpl4
2 files changed, 11 insertions, 0 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index da8f902d4..9d182d25f 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -292,6 +292,13 @@
the job "[% job FILTER html %]". You need to add this job type
to the <code>JOB_MAP</code> constant in <code>Bugzilla::JobQueue</code>.
+ [% ELSIF error == "json_rpc_not_installed" %]
+ [% admindocslinks = { 'installation.html#install-perlmodules'
+ => 'Installing Perl modules' } %]
+ The JSON-RPC interface will not work without the <code>JSON::RPC</code>
+ Perl module being installed. Run <code>checksetup.pl</code> for
+ installation instructions.
+
[% ELSIF error == "ldap_bind_failed" %]
Failed to bind to the LDAP server. The error message was:
<code>[% errstr FILTER html %]</code>
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 58be9ea73..338088178 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -949,6 +949,10 @@
[% title = "Invalid Username Or Password" %]
The username or password you entered is not valid.
+ [% ELSIF error == "json_rpc_post_only" %]
+ For security reasons, you may only use JSON-RPC with the POST
+ HTTP method.
+
[% ELSIF error == "keyword_already_exists" %]
[% title = "Keyword Already Exists" %]
A keyword with the name [% name FILTER html %] already exists.