From 2fe1db36b3ced43ca9b76a5fbc293c845fd13066 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 28 Nov 2011 17:10:07 +0100 Subject: Bug 705393: Improve the error message thrown by Update.pm when updates.bugzilla.org is unavailable r=glob a=LpSolit --- template/en/default/index.html.tmpl | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index b1370261f..98648e25e 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -92,18 +92,24 @@ YAHOO.util.Event.onDOMReady(onLoadActions); You can configure this notification from the Parameters page.

[% ELSIF release.error == "cannot_download" %] -

The local XML file '[% release.xml_file FILTER html %]' cannot be created. - Please make sure the web server can write in this directory and that you can access +

The remote file + [%~ constants.REMOTE_FILE FILTER html %] cannot be downloaded + (reason: [% release.reason FILTER html %]).
+ Either the remote server is temporarily unavailable, or your web server cannot access the web. If you are behind a proxy, set the proxy_url parameter correctly.

+ [% ELSIF release.error == "no_write" %] +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be created + (reason: [% release.reason FILTER html %]).
+ Please make sure the web server can write into this directory. [% ELSIF release.error == "no_update" %] -

The local XML file '[% release.xml_file FILTER html %]' cannot be updated. +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be updated. Please make sure the web server can edit this file.

[% ELSIF release.error == "no_access" %] -

The local XML file '[% release.xml_file FILTER html %]' cannot be read. +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' cannot be read. Please make sure this file has the correct rights set on it.

[% ELSIF release.error == "corrupted" %] -

The local XML file '[% release.xml_file FILTER html %]' has an invalid XML format. +

The local XML file '[% constants.LOCAL_FILE FILTER html %]' has an invalid XML format. Please delete it and try accessing this page again.

[% ELSIF release.error == "unknown_parameter" %]

'[% Param("upgrade_notification") FILTER html %]' is not a valid notification -- cgit v1.2.3-24-g4f1b