Rev 11943 | Rev 11990 | 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=windows-1252 |
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"> |
11 | <!-- Theme CSS style --> |
12 | <!-- Theme CSS style --> |
12 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
13 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
13 | <style type="text/css"> |
14 | <style type="text/css"> |
14 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
15 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
15 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
16 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
16 | </style> |
17 | </style> |
- | 18 | ||
- | 19 | !if exam_ isin $wims_user_error |
|
- | 20 | <style type="text/css"><!-- |
|
- | 21 | body {text-align: justify; |
|
- | 22 | padding-left: 3%; padding-right: 3%;} |
|
- | 23 | --></style> |
|
- | 24 | </head> |
|
- | 25 | <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error"> |
|
- | 26 | <h1 class="wims_center">ERROR</h1> |
|
- | 27 | !goto examerr |
|
- | 28 | !endif |
|
- | 29 | ||
- | 30 | </head><body class="user_error"> |
|
17 | 31 | ||
18 | !if exam_ isin $wims_user_error |
- | |
19 | <style type="text/css"><!-- |
- | |
20 | body {text-align: justify; |
- | |
21 | padding-left: 3%; padding-right: 3%;} |
- | |
22 | --></style> |
- | |
23 | </head><body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error"> |
- | |
24 | <h1 class="wims_center">ERROR</h1> |
- | |
25 | !goto examerr |
- | |
26 | !endif |
- | |
27 | - | ||
28 | </head><body class="user_error"> |
- | |
29 | !if threshold iswordof $wims_user_error |
32 | !if threshold iswordof $wims_user_error |
30 | - | ||
31 | <h1 class="wims_center">We are too busy</h1> |
33 | <h1 class="wims_center">We are too busy</h1> |
32 | <hr style= |
34 | <hr style="width:50%"/> |
33 | This WIMS server < |
35 | <p>This WIMS server <span style="color:blue">$httpd_HTTP_HOST</span> |
34 | is currently overloaded by a large number of requests, and |
36 | is currently overloaded by a large number of requests, and |
35 | can no longer satisfy further users. Please come back later, |
37 | can no longer satisfy further users. Please come back later, |
36 | or look for another wims mirror site. |
38 | or look for another wims mirror site.</p> |
37 | <p>We are very sorry for this inconvenience to you, and hope to be able |
39 | <p>We are very sorry for this inconvenience to you, and hope to be able |
38 | to serve you soon. |
40 | to serve you soon.</p> |
39 | !read mirror.phtml.en |
41 | !read mirror.phtml.en |
40 |
|
42 | !goto end_html |
41 | !exit |
- | |
42 | !endif |
43 | !endif |
43 | 44 | ||
44 | !if overload iswordof $wims_user_error |
45 | !if overload iswordof $wims_user_error |
45 | - | ||
46 | <h1 class="wims_center">SORRY</h1> |
46 | <h1 class="wims_center">SORRY</h1> |
47 | Your request is blocked by this WIMS server: connection quota exceeded. |
47 | Your request is blocked by this WIMS server: connection quota exceeded. |
48 |
|
48 | !goto end_html |
49 | !exit |
- | |
50 | !endif |
49 | !endif |
51 | 50 | ||
52 | !if ++++missing_ isin ++++$wims_user_error |
51 | !if ++++missing_ isin ++++$wims_user_error |
53 | - | ||
54 | <h1 class="wims_center">Sorry</h1> |
52 | <h1 class="wims_center">Sorry</h1> |
55 | <hr style="width:50%"/> |
53 | <hr style="width:50%"/> |
56 | WIMS needs a software |
54 | WIMS needs a software |
57 | !set miss=!upper $missing_software |
55 | !set miss=!upper $missing_software |
58 | <span class="wims_warning">$miss</span> |
56 | <span class="wims_warning">$miss</span> |
59 | to process your request, but that software is not available (or not visible |
57 | to process your request, but that software is not available (or not visible |
60 | to WIMS) on this server. |
58 | to WIMS) on this server. |
61 | 59 | ||
62 | You can either |
60 | You can either |
63 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
61 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
64 | to the site manager</a> to inform him/her of the problem, or choose a |
62 | to the site manager</a> to inform him/her of the problem, or choose a |
65 | mirror site from the table below. |
63 | mirror site from the table below. |
66 | <a href=" |
64 | <a href="$refname">WIMS homepage</a>. |
67 | !read mirror.phtml.en |
65 | !read mirror.phtml.en |
68 |
|
66 | !goto end_html |
69 | !exit |
- | |
70 | !endif |
67 | !endif |
71 | 68 | ||
72 | !if trapped iswordof $wims_user_error |
69 | !if trapped iswordof $wims_user_error |
73 | < |
70 | <h1 class="wims_center">Stop!</h1> |
- | 71 | <hr/> |
|
- | 72 | The content of |
|
- | 73 | <a HREF="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> can't be accessed with a |
|
- | 74 | an offline website copier. |
|
- | 75 | <p>Please use a regular web browser.</p> |
|
- | 76 | <p>WIMS pages are dynamically generated. It can only be used online.</p> |
|
- | 77 | !goto end_html |
|
74 | !endif |
78 | !endif |
75 | 79 | ||
76 | <h1>WIMS erreur</h1> |
80 | <h1>WIMS erreur</h1> |
77 | !if no_access notwordof $wims_user_error |
81 | !if no_access notwordof $wims_user_error |
78 | <p> |
- | |
79 |
|
82 | <p>There is an error in your request to this WIMS site.</p> |
80 | </p> |
- | |
81 | !endif |
83 | !endif |
82 | !if module_change iswordof $wims_user_error |
84 | !if module_change iswordof $wims_user_error |
83 | !if $wims_human_access=yes |
85 | !if $wims_human_access=yes |
84 | Please avoid using the `Back' button of your browser, |
86 | Please avoid using the `Back' button of your browser, |
85 | because you are on an interactive server. |
87 | because you are on an interactive server. |
86 | < |
88 | <div class="wimscenter"> |
87 | !set tit=!module title $module |
89 | !set tit=!module title $module |
88 | !default tit=$module |
90 | !default tit=$module |
89 | !href module=$module $tit |
91 | !href module=$module $tit |
90 | |
92 | |
- | 93 | !set wims_ref_class=wims_button |
|
91 | !href $ WIMS home |
94 | !href $ WIMS home |
92 | !if $httpd_HTTP_REFERER!=$empty |
95 | !if $httpd_HTTP_REFERER!=$empty |
93 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
96 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
94 | !else |
97 | !else |
95 | </center><p> |
- | |
96 | <small>If you want to get out of the site, ignore this message and continue |
98 | <p><small>If you want to get out of the site, ignore this message and continue |
97 |
|
99 | to click on `Back'.</small></p> |
- | 100 | !endif |
|
- | 101 | </div> |
|
- | 102 | !goto end_html |
|
98 | !endif |
103 | !endif |
99 | !exit |
- | |
100 | !endif |
- | |
101 | You have asked an illegal module change. |
104 | You have asked an illegal module change. |
102 | Are you using an automatic program to access this site? |
105 | Are you using an automatic program to access this site? |
103 | :unblock |
106 | :unblock |
104 | !form new |
107 | !form new |
105 | <input type="hidden" name="module" value="home"/> |
108 | <input type="hidden" name="module" value="home"/> |
106 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/> |
109 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/> |
107 | If you have simply clicked on the `back' button of your browser, |
110 | If you have simply clicked on the `back' button of your browser, |
108 | please type the word `wims' here: |
111 | please type the word `wims' here: |
109 | <input size="8" name="special_parm"/> then |
112 | <input size="8" name="special_parm"/> then |
110 | <input |
113 | <input type="submit" value="send to the server"/>. |
111 |
|
114 | !formend |
112 | Please bear in mind that pages on this site are dynamically generated. |
115 | <p>Please bear in mind that pages on this site are dynamically generated. |
113 | They can therefore only be used online, |
116 | They can therefore only be used online, |
114 | via a normal browser. It is useless for you to gather these pages |
117 | via a normal browser. It is useless for you to gather these pages |
115 | using a robot program. |
118 | using a robot program.</p> |
116 | !if robot_doubt iswordof $wims_user_error |
119 | !if robot_doubt iswordof $wims_user_error |
117 | <small>And beware that people trying to hacker on |
120 | <p class="small">And beware that people trying to hacker on |
118 | this site will see their accesses definitely denied.</ |
121 | this site will see their accesses definitely denied.</p> |
119 | !endif |
122 | !endif |
120 |
|
123 | !goto end_html |
121 | !endif |
124 | !endif |
122 | 125 | ||
123 | !if robot_doubt iswordof $wims_user_error |
126 | !if robot_doubt iswordof $wims_user_error |
124 | We block further access to this site for you, because you are suspected |
127 | <p>We block further access to this site for you, because you are suspected |
125 | of using an automatic program to gather pages. |
128 | of using an automatic program to gather pages.</p> |
126 | !goto unblock |
129 | !goto unblock |
127 | !endif |
130 | !endif |
128 | 131 | ||
129 | !if allow_violation iswordof $wims_user_error |
132 | !if allow_violation iswordof $wims_user_error |
130 | You don't have the right to define the variable ``$wims_error_data'' |
133 | <p>You don't have the right to define the variable ``$wims_error_data'' |
131 | with the command ``$cmd''. |
134 | with the command ``$cmd''.</p> |
132 | !goto end |
135 | !goto end |
133 | !endif |
136 | !endif |
134 | 137 | ||
135 | !if bad_command iswordof $wims_user_error |
138 | !if bad_command iswordof $wims_user_error |
136 | The command ``$cmd'' is not valid. |
139 | <p>The command ``$cmd'' is not valid.</p> |
137 | <p> Valid commands are: <pre> |
- | |
138 |
|
140 | Valid commands are: <pre>new, renew, reply, hint, config</pre> |
139 | !endif |
141 | !endif |
140 | 142 | ||
141 | !if bad_host iswordof $wims_user_error |
143 | !if bad_host iswordof $wims_user_error |
142 | You have tried to access a session from another post. This is not allowed |
144 | <p>You have tried to access a session from another post. This is not allowed |
143 | for your virtual class. |
145 | for your virtual class.</p> |
144 | <p> |
- | |
145 | Unfortunately, some internet providers give you dynamic host addresses |
146 | <p>Unfortunately, some internet providers give you dynamic host addresses |
146 | which MAY change within one connection. If this is the case, please write |
147 | which MAY change within one connection. If this is the case, please write |
147 | to the supervisor of your class asking him/her to change the access lock |
148 | to the supervisor of your class asking him/her to change the access lock |
148 | policy. |
149 | policy.</p> |
149 | !goto end |
150 | !goto end |
150 | !endif |
151 | !endif |
151 | 152 | ||
152 | !if need_https iswordof $wims_user_error |
153 | !if need_https iswordof $wims_user_error |
153 | You should connect to your class via a https request. |
154 | You should connect to your class via a https request. |
154 | !set refname=!replace http:// by https:// in $wims_ref_name |
155 | !set refname=!replace http:// by https:// in $wims_ref_name |
155 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
156 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
156 |
|
157 | !goto end_html |
157 | !endif |
158 | !endif |
158 | 159 | ||
159 | !if bad_insnum iswordof $wims_user_error |
160 | !if bad_insnum iswordof $wims_user_error |
160 | !if $cmd=getfile |
161 | !if $cmd=getfile |
161 | The file you asked for does not exist. |
162 | The file you asked for does not exist. |
Line 171... | Line 172... | ||
171 | Simplify your request, please. |
172 | Simplify your request, please. |
172 | !goto end |
173 | !goto end |
173 | !endif |
174 | !endif |
174 | 175 | ||
175 | !if double_click iswordof $wims_user_error |
176 | !if double_click iswordof $wims_user_error |
176 | This request arrived while the process of another request from you is |
177 | This request arrived while the process of another request from you is |
177 | still under way.<p> |
178 | still under way.<p> |
178 | If you have been double clicking, now please wait |
179 | If you have been double clicking, now please wait |
179 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
180 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
180 | for the process of your old request to terminate, then |
181 | for the process of your old request to terminate, then |
181 | !href cmd=resume click here |
182 | !href cmd=resume click here |
182 | to get back to your work. (And please be more patient the next time |
183 | to get back to your work. (And please be more patient the next time |
183 | you ask wims to do lengthy computations.) |
184 | you ask wims to do lengthy computations.) |
184 | <p> |
185 | <p> |
185 | If you are using ``back'' button of your browser to get out of wims, you |
186 | If you are using ``back'' button of your browser to get out of wims, you |
186 | may ignore this message and go ahead. |
187 | may ignore this message and go ahead. |
187 |
|
188 | !goto end_html |
188 | !endif |
189 | !endif |
189 | 190 | ||
190 | !if invalid_char_in_query_string iswordof $wims_user_error |
191 | !if invalid_char_in_query_string iswordof $wims_user_error |
191 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
192 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
192 | !goto end |
193 | !goto end |
193 | !endif |
194 | !endif |
194 | 195 | ||
Line 245... | Line 246... | ||
245 | $(name$bad_parentheses) = |
246 | $(name$bad_parentheses) = |
246 | !for i in module,special_parm,worksheet |
247 | !for i in module,special_parm,worksheet |
247 | !if $($i)!=$empty |
248 | !if $($i)!=$empty |
248 | !set value=!translate " to $ $ in $($i) |
249 | !set value=!translate " to $ $ in $($i) |
249 | <input type="hidden" name="$i" value="$value" /> |
250 | <input type="hidden" name="$i" value="$value" /> |
250 | !endif |
251 | !endif |
251 | !next i |
252 | !next i |
252 | !for i=0 to $user_var_no-1 |
253 | !for i=0 to $user_var_no-1 |
253 | !if $i!=$bad_parentheses |
254 | !if $i!=$bad_parentheses |
254 | !set value=!translate " to $ $ in $(value$i) |
255 | !set value=!translate " to $ $ in $(value$i) |
255 | <input type="hidden" name="$(name$i)" value="$value"/> |
256 | <input type="hidden" name="$(name$i)" value="$value"/> |
256 | !endif |
257 | !endif |
Line 277... | Line 278... | ||
277 | </form><p><hr/><div class="wimscenter"> |
278 | </form><p><hr/><div class="wimscenter"> |
278 | !href cmd=resume Cancel the last request |
279 | !href cmd=resume Cancel the last request |
279 | , or |
280 | , or |
280 | !href $ wims home |
281 | !href $ wims home |
281 | .</div> |
282 | .</div> |
282 |
|
283 | !goto end_html |
283 | !endif |
284 | !endif |
284 | 285 | ||
285 | !if wrong_module iswordof $wims_user_error |
286 | !if wrong_module iswordof $wims_user_error |
286 | !set tmp=!translate "!/<>;': to $ $ in $module |
287 | !set tmp=!translate "!/<>;': to $ $ in $module |
287 | The module <code>$tmp</code> which you asked for does not exist in this site. |
288 | The module <code>$tmp</code> which you asked for does not exist in this site. |
288 | !goto end |
289 | !goto end |
289 | !endif |
290 | !endif |
290 | 291 | ||
291 | !if wrong_session iswordof $wims_user_error |
292 | !if wrong_session iswordof $wims_user_error |
292 | The session number ``$session'' is not (or no longer) valid. |
293 | The session number ``$session'' is not (or no longer) valid. |
293 | <a href=" |
294 | <a href="$refname">Create a new session</a>. |
294 | !goto end |
295 | !goto end |
295 | !endif |
296 | !endif |
296 | 297 | ||
297 | !if rafale iswordof $wims_user_error |
298 | !if rafale iswordof $wims_user_error |
298 | Please don't play with the exercises! |
299 | Please don't play with the exercises! |
Line 307... | Line 308... | ||
307 | <p><span class="wims_warning">$wims_name_warning.</span>! Don't repeat this error! |
308 | <p><span class="wims_warning">$wims_name_warning.</span>! Don't repeat this error! |
308 | Irregular activities may give you bad scores even when score registration is |
309 | Irregular activities may give you bad scores even when score registration is |
309 | closed. |
310 | closed. |
310 | !endif |
311 | !endif |
311 | !goto end2 |
312 | !goto end2 |
312 | !endif |
313 | !endif |
313 | 314 | ||
314 | :examerr |
315 | :examerr |
315 | 316 | ||
316 | !if exam_dep iswordof $wims_user_error |
317 | !if exam_dep iswordof $wims_user_error |
317 | This exercise is available only when you have successfully made |
318 | This exercise is available only when you have successfully made |
318 | !if , isin $dep_list |
319 | !if , isin $dep_list |
319 | exercises $dep_list. |
320 | exercises $dep_list. |
320 | !else |
321 | !else |
Line 341... | Line 342... | ||
341 | !set pses=!translate _ to , in $wims_session |
342 | !set pses=!translate _ to , in $wims_session |
342 | !set pses=!item 1 of $pses |
343 | !set pses=!item 1 of $pses |
343 | !set pser=!randint 1,999 |
344 | !set pser=!randint 1,999 |
344 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
345 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
345 | <p class="wimscenter"> |
346 | <p class="wimscenter"> |
346 | <a href=# onclick="window.close();$wims_opener">Close this window</a>. |
347 | <a href=# onclick="window.close();$wims_opener">Close this window</a>. |
347 | </p> |
348 | </p> |
348 |
|
349 | !goto end_html |
349 | !endif |
350 | !endif |
350 | 351 | ||
351 | !if exam_closed iswordof $wims_user_error |
352 | !if exam_closed iswordof $wims_user_error |
352 | This exam is not accessible for your connection at the time being. Please verify |
353 | This exam is not accessible for your connection at the time being. Please verify |
353 | with the supervisor of your class. |
354 | with the supervisor of your class. |
354 | !goto examend |
355 | !goto examend |
355 | !endif |
356 | !endif |
356 | 357 | ||
357 | !if bad_ident iswordof $wims_user_error |
358 | !if bad_ident iswordof $wims_user_error |
358 | Your request contains a user identification error. Are you trying to connect |
359 | Your request contains a user identification error. Are you trying to connect |
359 | to somebody else's session? |
360 | to somebody else's session? |
360 | <p> |
361 | <p> |
361 | Please |
362 | Please |
362 | <a href=" |
363 | <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
363 | </p |
364 | </p> |
364 |
|
365 | !goto end_html |
365 | !endif |
366 | !endif |
366 | 367 | ||
367 | !if no_access iswordof $wims_user_error |
368 | !if no_access iswordof $wims_user_error |
368 | Your request is refused by the access policy of this site. Sorry. |
369 | Your request is refused by the access policy of this site. Sorry. |
369 | !goto end2 |
370 | !goto end2 |
370 | !endif |
371 | !endif |
371 | 372 | ||
372 | !if class_closed iswordof $wims_user_error |
373 | !if class_closed iswordof $wims_user_error |
373 | Sorry. |
374 | Sorry. |
374 | <p> |
- | |
375 | Access to this virtual class is temporarily closed by its supervisor. |
375 | <p>Access to this virtual class is temporarily closed by its supervisor. |
376 | Come back later! |
376 | Come back later!</p> |
377 | <div class="wimscenter"> |
377 | <div class="wimscenter"> |
378 | !href cmd=close&module=home WIMS |
378 | !href cmd=close&module=home WIMS |
379 | </div> |
379 | </div> |
380 |
|
380 | !goto end_html |
381 | !exit |
- | |
382 | !endif |
381 | !endif |
383 | 382 | ||
384 | :end |
383 | :end |
385 | <p>If you see this message after following a link given by another page, it |
384 | <p>If you see this message after following a link given by another page, it |
386 | probably is because the link is not well-prepared. In this case, please |
385 | probably is because the link is not well-prepared. In this case, please |
387 | contact the author of that page, to inform him of the error. You may also |
386 | contact the author of that page, to inform him of the error. You may also |
388 | write to the |
387 | write to the |
389 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
388 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
390 | site</a>, with as many details as possible about the circomstances |
389 | site</a>, with as many details as possible about the circomstances |
391 | under which the error has occurred. |
390 | under which the error has occurred. |
- | 391 | </p> |
|
392 | 392 | ||
393 | :end2 |
393 | :end2 |
394 | <hr/><div class="wimscenter"> |
394 | <hr/><div class="wimscenter"> |
395 | !set wims_ref_class=wims_button home |
395 | !set wims_ref_class=wims_button home |
396 | !href module=home&cmd=new WIMS Home Page |
396 | !href module=home&cmd=new WIMS Home Page |
397 | !reset wims_ref_class |
397 | !reset wims_ref_class |
398 | </div> |
398 | </div> |
399 | 399 | ||
- | 400 | :end_html |
|
400 | </body></html> |
401 | </body></html> |
401 | - |