Rev 11943 | Rev 15416 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11943 | Rev 11949 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | Status: 450 WIMS User Error |
1 | Status: 450 WIMS User Error |
2 | Server: WIMS $wims_version (WWW Interactive Multipurpose Server) |
2 | Server: WIMS $wims_version (WWW Interactive Multipurpose Server) |
3 | Content-type: text/html; |
3 | Content-type: text/html; charset=big5 |
4 | Cache-Control: no-cache |
4 | Cache-Control: no-cache |
5 | Pragma: no-cache |
5 | Pragma: no-cache |
6 | 6 | ||
- | 7 | <!DOCTYPE html> |
|
7 | <html><head> |
8 | <html><head> |
8 | <meta http-equiv=expires content="1 Jan 1990"> |
9 | <meta http-equiv=expires content="1 Jan 1990"> |
9 | <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
10 | <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> |
10 | <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> |
11 | <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> |
- | 12 | <!-- Theme CSS style --> |
|
- | 13 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
|
- | 14 | <style type="text/css"> |
|
- | 15 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
|
- | 16 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
|
- | 17 | </style> |
|
- | 18 | ||
11 | !if exam_ isin $wims_user_error |
19 | !if exam_ isin $wims_user_error |
12 | <style type="text/css"><!-- |
20 | <style type="text/css"><!-- |
13 | body {text-align: justify; |
21 | body {text-align: justify; |
14 | padding-left: 3%; padding-right: 3%;} |
22 | padding-left: 3%; padding-right: 3%;} |
15 | --></style> |
23 | --></style> |
16 | </head><body onload="window.resizeTo(500,200);window.moveTo(250,300);"> |
24 | </head><body onload="window.resizeTo(500,200);window.moveTo(250,300);"> |
17 | <h1 class="wims_center">ERROR</h1> |
25 | <h1 class="wims_center">ERROR</h1> |
18 | !goto examerr |
26 | !goto examerr |
19 | !endif |
27 | !endif |
20 | </head><body> |
28 | </head><body class="user_error"> |
- | 29 | ||
21 | !if threshold iswordof $wims_user_error |
30 | !if threshold iswordof $wims_user_error |
22 | - | ||
23 | <h1 class="wims_center">We are too busy</h1> |
31 | <h1 class="wims_center">We are too busy</h1> |
24 | <hr style="width:50%"/><p> |
32 | <hr style="width:50%"/><p> |
25 | This WIMS server <font color="blue">$httpd_HTTP_HOST</font> |
33 | This WIMS server <font color="blue">$httpd_HTTP_HOST</font> |
26 | is currently overloaded by a large number of requests, and |
34 | is currently overloaded by a large number of requests, and |
27 | can no longer satisfy further users. Please come back later, |
35 | can no longer satisfy further users. Please come back later, |
28 | or look for another wims mirror site. |
36 | or look for another wims mirror site. |
29 | <p>We are very sorry for this inconvenience to you, and hope to be able |
37 | <p>We are very sorry for this inconvenience to you, and hope to be able |
30 | to serve you soon. |
38 | to serve you soon. |
31 | !read mirror.phtml.en |
39 | !read mirror.phtml.en |
32 |
|
40 | !goto end_html |
33 | !exit |
- | |
34 | !endif |
41 | !endif |
35 | 42 | ||
36 | !if overload iswordof $wims_user_error |
43 | !if overload iswordof $wims_user_error |
37 | - | ||
38 | <h1 class="wims_center">SORRY</h1> |
44 | <h1 class="wims_center">SORRY</h1> |
39 | Your request is blocked by this WIMS server: connection quota exceeded. |
45 | Your request is blocked by this WIMS server: connection quota exceeded. |
40 |
|
46 | !goto end_html |
41 | !exit |
- | |
42 | !endif |
47 | !endif |
43 | 48 | ||
44 | !if ++++missing_ isin ++++$wims_user_error |
49 | !if ++++missing_ isin ++++$wims_user_error |
45 | - | ||
46 | <h1 class="wims_center">Sorry</h1> |
50 | <h1 class="wims_center">Sorry</h1> |
47 | <hr style="width:50%"/> |
51 | <hr style="width:50%"/> |
48 | WIMS needs a software |
52 | WIMS needs a software |
49 | !set miss=!upper $missing_software |
53 | !set miss=!upper $missing_software |
50 | <span class="wims_warning">$miss</span> |
54 | <span class="wims_warning">$miss</span> |
51 | to process your request, but that software is not available (or not visible |
55 | to process your request, but that software is not available (or not visible |
52 | to WIMS) on this server. |
56 | to WIMS) on this server. |
53 | <p> |
57 | <p> |
54 | You can either |
58 | You can either |
55 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
59 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
56 | to the site manager</a> to inform him/her of the problem, or choose a |
60 | to the site manager</a> to inform him/her of the problem, or choose a |
57 | mirror site from the table below. |
61 | mirror site from the table below. |
58 | <a href="wims.cgi">WIMS homepage</a>. |
62 | <a href="wims.cgi">WIMS homepage</a>. |
59 | !read mirror.phtml.en |
63 | !read mirror.phtml.en |
60 |
|
64 | !goto end_html |
61 | !exit |
- | |
62 | !endif |
65 | !endif |
63 | 66 | ||
64 | !if trapped iswordof $wims_user_error |
67 | !if trapped iswordof $wims_user_error |
65 | <h1 class="wims_center">Stop!</h1><hr/> |
68 | <h1 class="wims_center">Stop!</h1><hr/> |
66 | !endif |
69 | !endif |
67 | 70 | ||
68 | <h1 class="wims_center">WIMS error</h1><hr/><p> |
71 | <h1 class="wims_center">WIMS error</h1><hr/><p> |
69 | !if no_access notwordof $wims_user_error |
72 | !if no_access notwordof $wims_user_error |
70 | There is an error in your request to this WIMS site.<p> |
73 | There is an error in your request to this WIMS site.<p> |
Line 84... | Line 87... | ||
84 | !else |
87 | !else |
85 | </p><p> |
88 | </p><p> |
86 | <small>If you want to get out of the site, ignore this message and continue |
89 | <small>If you want to get out of the site, ignore this message and continue |
87 | to click on `Back'.</small> |
90 | to click on `Back'.</small> |
88 | !endif |
91 | !endif |
89 |
|
92 | !goto end_html |
90 | !endif |
93 | !endif |
91 | You have asked an illegal module change. |
94 | You have asked an illegal module change. |
92 | Are you using an automatic program to access this site? |
95 | Are you using an automatic program to access this site? |
93 | :unblock |
96 | :unblock |
94 | !form new |
97 | !form new |
Line 105... | Line 108... | ||
105 | using a robot program. |
108 | using a robot program. |
106 | !if robot_doubt iswordof $wims_user_error |
109 | !if robot_doubt iswordof $wims_user_error |
107 | <small>And beware that people trying to hacker on |
110 | <small>And beware that people trying to hacker on |
108 | this site will see their accesses definitely denied.</small> |
111 | this site will see their accesses definitely denied.</small> |
109 | !endif |
112 | !endif |
110 |
|
113 | !goto end_html |
111 | !endif |
114 | !endif |
112 | 115 | ||
113 | !if robot_doubt iswordof $wims_user_error |
116 | !if robot_doubt iswordof $wims_user_error |
114 | We block further access to this site for you, because you are suspected |
117 | We block further access to this site for you, because you are suspected |
115 | of using an automatic program to gather pages. |
118 | of using an automatic program to gather pages. |
Line 141... | Line 144... | ||
141 | 144 | ||
142 | !if need_https iswordof $wims_user_error |
145 | !if need_https iswordof $wims_user_error |
143 | You should connect to your class via a https request. |
146 | You should connect to your class via a https request. |
144 | !set refname=!replace http:// by https:// in $wims_ref_name |
147 | !set refname=!replace http:// by https:// in $wims_ref_name |
145 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
148 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
146 |
|
149 | !goto end_html |
147 | !endif |
150 | !endif |
148 | 151 | ||
149 | !if bad_insnum iswordof $wims_user_error |
152 | !if bad_insnum iswordof $wims_user_error |
150 | !if $cmd=getfile |
153 | !if $cmd=getfile |
151 | The file you asked for does not exist. |
154 | The file you asked for does not exist. |
Line 169... | Line 172... | ||
169 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
172 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
170 | for the process of your old request to terminate, then |
173 | for the process of your old request to terminate, then |
171 | !href cmd=resume click here |
174 | !href cmd=resume click here |
172 | to get back to your work. (And please be more patient the next time |
175 | to get back to your work. (And please be more patient the next time |
173 | you ask wims to do lengthy computations.) |
176 | you ask wims to do lengthy computations.) |
174 | <p> |
177 | <p> |
175 | If you are using ``back'' button of your browser to get out of wims, you |
178 | If you are using ``back'' button of your browser to get out of wims, you |
176 | may ignore this message and go ahead. |
179 | may ignore this message and go ahead. |
177 |
|
180 | !goto end_html |
178 | !endif |
181 | !endif |
179 | 182 | ||
180 | !if invalid_char_in_query_string iswordof $wims_user_error |
183 | !if invalid_char_in_query_string iswordof $wims_user_error |
181 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
184 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
182 | !goto end |
185 | !goto end |
Line 267... | Line 270... | ||
267 | </form><p><hr/><div class="wimscenter"> |
270 | </form><p><hr/><div class="wimscenter"> |
268 | !href cmd=resume Cancel the last request |
271 | !href cmd=resume Cancel the last request |
269 | , or |
272 | , or |
270 | !href $ wims home |
273 | !href $ wims home |
271 | .</div> |
274 | .</div> |
272 |
|
275 | !goto end_html |
273 | !endif |
276 | !endif |
274 | 277 | ||
275 | !if wrong_module iswordof $wims_user_error |
278 | !if wrong_module iswordof $wims_user_error |
276 | !set tmp=!translate "!/<>;': to $ $ in $module |
279 | !set tmp=!translate "!/<>;': to $ $ in $module |
277 | <p>The module <code>$tmp</code> which you asked for does not exist in this site.</p> |
280 | <p>The module <code>$tmp</code> which you asked for does not exist in this site.</p> |
Line 331... | Line 334... | ||
331 | !set pser=!randint 1,999 |
334 | !set pser=!randint 1,999 |
332 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
335 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
333 | <p class="wimscenter"> |
336 | <p class="wimscenter"> |
334 | <a href=# onclick="window.close();$wims_opener">Close this window</a>. |
337 | <a href=# onclick="window.close();$wims_opener">Close this window</a>. |
335 | </p> |
338 | </p> |
336 |
|
339 | !goto end_html |
337 | !endif |
340 | !endif |
338 | 341 | ||
339 | !if exam_closed iswordof $wims_user_error |
342 | !if exam_closed iswordof $wims_user_error |
340 | This exam is not accessible for your connection at the time being. Please verify |
343 | This exam is not accessible for your connection at the time being. Please verify |
341 | with the supervisor of your class. |
344 | with the supervisor of your class. |
342 | !goto examend |
345 | !goto examend |
343 | !endif |
346 | !endif |
344 | 347 | ||
345 | !if bad_ident iswordof $wims_user_error |
348 | !if bad_ident iswordof $wims_user_error |
346 | Your request contains a user identification error. Are you trying to connect |
349 | Your request contains a user identification error. Are you trying to connect |
347 | to somebody else's session? |
350 | to somebody else's session? |
348 | <p> |
351 | <p> |
349 | Please |
352 | Please |
350 | <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
353 | <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
351 |
|
354 | !goto end_html |
352 | !exit |
- | |
353 | !endif |
355 | !endif |
354 | 356 | ||
355 | !if no_access iswordof $wims_user_error |
357 | !if no_access iswordof $wims_user_error |
356 | Your request is refused by the access policy of this site. Sorry. |
358 | Your request is refused by the access policy of this site. Sorry. |
357 | !goto end2 |
359 | !goto end2 |
358 | !endif |
360 | !endif |
Line 363... | Line 365... | ||
363 | Access to this virtual class is temporarily closed by its supervisor. |
365 | Access to this virtual class is temporarily closed by its supervisor. |
364 | Come back later! |
366 | Come back later! |
365 | <div class="wimscenter"> |
367 | <div class="wimscenter"> |
366 | !href cmd=close&module=home WIMS |
368 | !href cmd=close&module=home WIMS |
367 | </div> |
369 | </div> |
368 |
|
370 | !goto end_html |
369 | !exit |
- | |
370 | !endif |
371 | !endif |
371 | 372 | ||
372 | :end |
373 | :end |
373 | <p>If you see this message after following a link given by another page, it |
374 | <p>If you see this message after following a link given by another page, it |
374 | probably is because the link is not well-prepared. In this case, please |
375 | probably is because the link is not well-prepared. In this case, please |
Line 378... | Line 379... | ||
378 | site</a>, with as many details as possible about the circomstances |
379 | site</a>, with as many details as possible about the circomstances |
379 | under which the error has occurred. |
380 | under which the error has occurred. |
380 | 381 | ||
381 | :end2 |
382 | :end2 |
382 | <hr/><div class="wimscenter"> |
383 | <hr/><div class="wimscenter"> |
- | 384 | !set wims_ref_class=wims_button |
|
383 | !href module=home&cmd=new Home page |
385 | !href module=home&cmd=new Home page |
384 | </div> |
386 | </div> |
385 | 387 | ||
- | 388 | :end_html |
|
386 | </body></html> |
389 | </body></html> |
387 | - |