Rev 17237 | Rev 17286 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | reyssat | 1 | Status: 450 WIMS User Error |
2 | Server: WIMS $wims_version (WWW Interactive Multipurpose Server) |
||
11949 | obado | 3 | Content-type: text/html; charset=windows-1252 |
19 | reyssat | 4 | Cache-Control: no-cache |
5 | Pragma: no-cache |
||
6 | |||
11949 | obado | 7 | <!DOCTYPE html> |
3570 | bpr | 8 | <html><head> |
11949 | obado | 9 | <meta http-equiv=expires content="1 Jan 1990"> |
10 | <meta HTTP-EQUIV="Pragma" 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"> |
||
15416 | bpr | 14 | <style> |
11949 | obado | 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> |
||
5394 | obado | 18 | |
11949 | obado | 19 | !if exam_ isin $wims_user_error |
15416 | bpr | 20 | <style><!-- |
11949 | obado | 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"> |
||
15416 | bpr | 26 | <h1 class="wimscenter">ERROR</h1> |
11949 | obado | 27 | !goto examerr |
28 | !endif |
||
5395 | obado | 29 | |
30 | </head><body class="user_error"> |
||
11949 | obado | 31 | |
19 | reyssat | 32 | !if threshold iswordof $wims_user_error |
15416 | bpr | 33 | <h1>We are too busy</h1> |
17237 | bpr | 34 | <hr style="width:50%"> |
15416 | bpr | 35 | <p> |
36 | This WIMS server <span style="color:blue">$httpd_HTTP_HOST</span> |
||
11949 | obado | 37 | is currently overloaded by a large number of requests, and |
38 | can no longer satisfy further users. Please come back later, |
||
15416 | bpr | 39 | or look for another wims mirror site. |
40 | </p><p> |
||
41 | We are very sorry for this inconvenience to you, and hope to be able |
||
42 | to serve you soon. |
||
43 | </p> |
||
11949 | obado | 44 | !read mirror.phtml.en |
45 | !goto end_html |
||
19 | reyssat | 46 | !endif |
47 | |||
48 | !if overload iswordof $wims_user_error |
||
17237 | bpr | 49 | <hr style="width:1px"> |
15416 | bpr | 50 | <h1>SORRY</h1> |
51 | <p> |
||
11949 | obado | 52 | Your request is blocked by this WIMS server: connection quota exceeded. |
15416 | bpr | 53 | </p> |
11949 | obado | 54 | !goto end_html |
19 | reyssat | 55 | !endif |
56 | |||
57 | !if ++++missing_ isin ++++$wims_user_error |
||
17237 | bpr | 58 | <hr width="1"> |
15416 | bpr | 59 | <h1>Sorry</h1> |
17237 | bpr | 60 | <hr style="width:50%"> |
15416 | bpr | 61 | <p> |
62 | WIMS needs a software |
||
63 | !set miss=!upper $missing_software |
||
64 | <span class="wims_warning">$miss</span> |
||
65 | to process your request, but that software is not available (or not visible |
||
66 | to WIMS) on this server. |
||
67 | </p><p> |
||
68 | You can either |
||
69 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
||
70 | to the site manager</a> to inform him/her of the problem, or choose a |
||
71 | mirror site from the table below. |
||
72 | </p><p><a href="$refname">WIMS homepage</a>.</p> |
||
11949 | obado | 73 | !read mirror.phtml.en |
74 | !goto end_html |
||
19 | reyssat | 75 | !endif |
76 | |||
77 | !if trapped iswordof $wims_user_error |
||
15416 | bpr | 78 | <h1>Stop!</h1> |
17237 | bpr | 79 | <hr> |
11949 | obado | 80 | The content of |
15416 | bpr | 81 | <a href="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> can't be accessed with a |
11949 | obado | 82 | an offline website copier. |
15416 | bpr | 83 | <p> |
84 | Please use a regular web browser. |
||
85 | </p><p> |
||
86 | WIMS pages are dynamically generated. It can only be used online. |
||
87 | </p> |
||
11949 | obado | 88 | !goto end_html |
19 | reyssat | 89 | !endif |
90 | |||
15416 | bpr | 91 | !if no_access notwordof $wims_user_error and no_access_class notwordof $wims_user_error |
92 | <h1>WIMS error</h1> |
||
93 | <p> |
||
94 | There is an error in your request to this WIMS site. |
||
95 | </p> |
||
11943 | bpr | 96 | !endif |
19 | reyssat | 97 | !if module_change iswordof $wims_user_error |
11949 | obado | 98 | !if $wims_human_access=yes |
15416 | bpr | 99 | <p> |
100 | Please avoid using the `Back' button of your browser, |
||
101 | because you are on an interactive server. |
||
102 | </p> |
||
11949 | obado | 103 | <div class="wimscenter"> |
15416 | bpr | 104 | !set tit=!module title $module |
105 | !default tit=$module |
||
106 | !href module=$module $tit |
||
107 | |
||
108 | !set wims_ref_class=wims_button |
||
109 | !href $ WIMS home |
||
110 | !if $httpd_HTTP_REFERER!=$empty |
||
111 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
||
112 | !else |
||
113 | <p class="small"> |
||
114 | If you want to get out of the site, ignore this message and continue |
||
115 | to click on `Back'. |
||
116 | </p> |
||
117 | !endif |
||
11949 | obado | 118 | </div> |
119 | !goto end_html |
||
19 | reyssat | 120 | !endif |
15416 | bpr | 121 | <p> |
122 | You have asked an illegal module change. |
||
123 | Are you using an automatic program to access this site? |
||
124 | </p> |
||
11949 | obado | 125 | :unblock |
126 | !form new |
||
17237 | bpr | 127 | <input type="hidden" name="module" value="home"> |
128 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"> |
||
11949 | obado | 129 | If you have simply clicked on the `back' button of your browser, |
130 | please type the word `wims' here: |
||
17237 | bpr | 131 | <input size="8" name="special_parm"> then |
132 | <input type="submit" value="send to the server">. |
||
11949 | obado | 133 | !formend |
15416 | bpr | 134 | <p> |
135 | Please bear in mind that pages on this site are dynamically generated. |
||
11949 | obado | 136 | They can therefore only be used online, |
137 | via a normal browser. It is useless for you to gather these pages |
||
15416 | bpr | 138 | using a robot program. |
139 | </p> |
||
11949 | obado | 140 | !if robot_doubt iswordof $wims_user_error |
15416 | bpr | 141 | <p class="small"> |
142 | And beware that people trying to hacker on |
||
143 | this site will see their accesses definitely denied. |
||
144 | </p> |
||
11949 | obado | 145 | !endif |
146 | !goto end_html |
||
19 | reyssat | 147 | !endif |
148 | |||
149 | !if robot_doubt iswordof $wims_user_error |
||
15416 | bpr | 150 | <p> |
151 | We block further access to this site for you, because you are suspected |
||
152 | of using an automatic program to gather pages. |
||
153 | </p> |
||
11949 | obado | 154 | !goto unblock |
19 | reyssat | 155 | !endif |
156 | |||
157 | !if allow_violation iswordof $wims_user_error |
||
15416 | bpr | 158 | <p> |
159 | You don't have the right to define the variable ``$wims_error_data'' |
||
160 | with the command ``$cmd''. |
||
161 | </p> |
||
19 | reyssat | 162 | !endif |
163 | |||
164 | !if bad_command iswordof $wims_user_error |
||
15416 | bpr | 165 | <p> |
166 | The command ``$cmd'' is not valid. |
||
167 | </p><p> |
||
168 | Valid commands are: |
||
169 | </p> |
||
170 | <pre>new, renew, reply, help, hint, config</pre> |
||
19 | reyssat | 171 | !endif |
172 | |||
173 | !if bad_host iswordof $wims_user_error |
||
15416 | bpr | 174 | <p> |
175 | You have tried to access a session from another post. This is not allowed |
||
176 | for your virtual class. |
||
177 | </p><p> |
||
178 | Unfortunately, some internet providers give you dynamic host addresses |
||
11949 | obado | 179 | which MAY change within one connection. If this is the case, please write |
180 | to the supervisor of your class asking him/her to change the access lock |
||
15416 | bpr | 181 | policy. |
182 | </p> |
||
19 | reyssat | 183 | !endif |
184 | |||
185 | !if need_https iswordof $wims_user_error |
||
11949 | obado | 186 | You should connect to your class via a https request. |
187 | !set refname=!replace http:// by https:// in $wims_ref_name |
||
188 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
||
189 | !goto end_html |
||
19 | reyssat | 190 | !endif |
191 | |||
192 | !if bad_insnum iswordof $wims_user_error |
||
15416 | bpr | 193 | <p> |
194 | !if $cmd=getfile |
||
195 | The file you asked for does not exist. |
||
196 | !else |
||
197 | The file name for dynamic insertion is not valid. |
||
198 | !endif |
||
199 | </p> |
||
19 | reyssat | 200 | !endif |
201 | |||
202 | !if cmd_output_too_long iswordof $wims_user_error |
||
15416 | bpr | 203 | <p> |
204 | The intermediate result of the computation has exceeded the length limit. |
||
205 | You have probably submitted a request which is unrealistically complicated. |
||
206 | Simplify your request, please. |
||
207 | </p> |
||
19 | reyssat | 208 | !endif |
209 | |||
210 | !if double_click iswordof $wims_user_error |
||
11949 | obado | 211 | <p> |
15416 | bpr | 212 | This request arrived while the process of another request from you is |
213 | still under way. |
||
214 | </p><p> |
||
215 | If you have been double clicking, now please wait |
||
216 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
||
217 | for the process of your old request to terminate, then |
||
218 | !href cmd=resume click here |
||
219 | to get back to your work. (And please be more patient the next time |
||
220 | you ask wims to do lengthy computations.) |
||
221 | </p><p> |
||
222 | If you are using ``back'' button of your browser to get out of wims, you |
||
223 | may ignore this message and go ahead. |
||
224 | </p> |
||
11949 | obado | 225 | !goto end_html |
19 | reyssat | 226 | !endif |
227 | |||
228 | !if invalid_char_in_query_string iswordof $wims_user_error |
||
15416 | bpr | 229 | <p> |
230 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
||
231 | </p> |
||
19 | reyssat | 232 | !endif |
233 | |||
234 | !if name_conflict iswordof $wims_user_error |
||
15416 | bpr | 235 | <p> |
19 | reyssat | 236 | ``$wims_error_data'' is a reserved name for wims. |
15416 | bpr | 237 | </p> |
19 | reyssat | 238 | !endif |
239 | |||
240 | !if no_command iswordof $wims_user_error |
||
15416 | bpr | 241 | <p> |
242 | There is no command. |
||
243 | </p> |
||
19 | reyssat | 244 | !endif |
245 | |||
246 | !if no_insnum iswordof $wims_user_error |
||
15416 | bpr | 247 | <p> |
248 | !if $cmd=getfile |
||
249 | You have asked for a file without giving its name. |
||
250 | !else |
||
251 | You have asked for a dynamic insertion without giving its number. |
||
252 | !endif |
||
253 | </p> |
||
19 | reyssat | 254 | !endif |
255 | |||
256 | !if no_module_name iswordof $wims_user_error |
||
15416 | bpr | 257 | <p> |
258 | You have asked a new session without module name. |
||
259 | </p> |
||
19 | reyssat | 260 | !endif |
261 | |||
262 | !if no_session iswordof $wims_user_error |
||
15416 | bpr | 263 | <p> |
264 | The session number is missing. |
||
265 | </p> |
||
19 | reyssat | 266 | !endif |
267 | |||
268 | !if parm_too_long iswordof $wims_user_error |
||
15416 | bpr | 269 | <p> |
270 | Your parameter string has exceeded length limit. This is not allowed by |
||
271 | security reasons. Sorry. |
||
272 | </p> |
||
19 | reyssat | 273 | !endif |
274 | |||
275 | !if string_too_long iswordof $wims_user_error |
||
15416 | bpr | 276 | <p> |
277 | The definition of variable has a length which exceeds the limit. |
||
278 | </p> |
||
19 | reyssat | 279 | !endif |
280 | |||
281 | !if too_many_variables iswordof $wims_user_error |
||
15416 | bpr | 282 | <p> |
283 | The number of parameters which you transmitted has exceeded the limit |
||
284 | authorized in this wims site. |
||
285 | </p> |
||
19 | reyssat | 286 | !endif |
287 | |||
288 | !if unmatched_parentheses iswordof $wims_user_error |
||
15416 | bpr | 289 | <p> |
290 | We have detected unmatched parentheses in your request. |
||
291 | You may correct the error here: |
||
292 | </p> |
||
19 | reyssat | 293 | !form $cmd |
15416 | bpr | 294 | !for i in module,special_parm,worksheet |
295 | !if $($i)!=$empty |
||
296 | !set value=!translate " to $ $ in $($i) |
||
17237 | bpr | 297 | <input type="hidden" name="$i" value="$value"> |
15416 | bpr | 298 | !endif |
299 | !next i |
||
300 | !for i=0 to $user_var_no-1 |
||
301 | !if $i!=$bad_parentheses |
||
302 | !set value=!translate " to $ $ in $(value$i) |
||
17237 | bpr | 303 | <input type="hidden" name="$(name$i)" value="$value"> |
15416 | bpr | 304 | !endif |
305 | !next i |
||
306 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
||
307 | !set len=!charcnt $value |
||
308 | !if $len<55 |
||
309 | !set len=$[$len+3] |
||
310 | !else |
||
311 | !set len=59 |
||
312 | !endif |
||
313 | !set input_id=$(name$bad_parentheses) |
||
314 | <div class="field box"> |
||
315 | <label for="$input_id">$input_id =</label> |
||
11990 | obado | 316 | !set n=!linecnt $value |
15416 | bpr | 317 | !if $n<=1 |
17237 | bpr | 318 | <input size="$len" name="$input_id" id="$input_id" value="$value"> |
15416 | bpr | 319 | !else |
320 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
||
321 | !endif |
||
322 | </div> |
||
323 | <p class="actions"> |
||
324 | Puis |
||
17237 | bpr | 325 | <input type="submit" value="envoyer la requête corrigée."> |
15416 | bpr | 326 | </p> |
327 | !formend |
||
17237 | bpr | 328 | <hr> |
15416 | bpr | 329 | <p class="wimscenter"> |
11990 | obado | 330 | !href cmd=resume Cancel the last request |
331 | | |
||
332 | !href $ wims home |
||
15416 | bpr | 333 | </p> |
11949 | obado | 334 | !goto end_html |
19 | reyssat | 335 | !endif |
11943 | bpr | 336 | |
19 | reyssat | 337 | !if wrong_module iswordof $wims_user_error |
7428 | obado | 338 | !set tmp=!translate "!/<>;': to $ $ in $module |
15416 | bpr | 339 | <p> |
340 | The module <code>$tmp</code> which you asked for does not exist in this site. |
||
341 | </p> |
||
19 | reyssat | 342 | !endif |
343 | |||
344 | !if wrong_session iswordof $wims_user_error |
||
15416 | bpr | 345 | <p> |
346 | The session number ``$session'' is not (or no longer) valid. |
||
347 | <a href="$refname">Create a new session</a>. |
||
348 | </p> |
||
11943 | bpr | 349 | !endif |
19 | reyssat | 350 | |
351 | !if rafale iswordof $wims_user_error |
||
15416 | bpr | 352 | <p> |
353 | Please don't play with the exercises! |
||
354 | </p><p> |
||
355 | You should take time to think carefully and try to solve the exercises |
||
356 | correctly, instead of ask new ones over and over again. |
||
357 | </p> |
||
358 | !set wims_ref_class=wims_button |
||
359 | !href cmd=resume Cancel last request |
||
360 | . |
||
361 | !if $wims_user!=$empty and $wims_user!=supervisor |
||
362 | <p> |
||
363 | <span class="wims_warning">$wims_name_warning.</span>! Don't repeat this error! |
||
364 | Irregular activities may give you bad scores even when score registration is |
||
365 | closed. |
||
366 | </p> |
||
367 | !endif |
||
368 | !goto end2 |
||
19 | reyssat | 369 | !endif |
370 | |||
371 | :examerr |
||
372 | |||
373 | !if exam_dep iswordof $wims_user_error |
||
15416 | bpr | 374 | <p> |
375 | This exercise is available only when you have successfully made |
||
19 | reyssat | 376 | !if , isin $dep_list |
15416 | bpr | 377 | exercises $dep_list. |
19 | reyssat | 378 | !else |
15416 | bpr | 379 | exercise $dep_list. |
19 | reyssat | 380 | !endif |
15416 | bpr | 381 | </p><p> |
382 | Please first try to do the latter. |
||
383 | </p> |
||
19 | reyssat | 384 | !goto examend |
385 | !endif |
||
386 | |||
387 | !if bad_exam iswordof $wims_user_error |
||
15416 | bpr | 388 | <p> |
389 | You have issued an illegal request within an examination session. |
||
390 | </p> |
||
19 | reyssat | 391 | !goto examend |
392 | !endif |
||
393 | |||
394 | !if exam_exo_finished iswordof $wims_user_error |
||
15416 | bpr | 395 | <p> |
396 | You have already done this exercise with a score of $wims_exo_lastscore. |
||
397 | </p><p> |
||
398 | You cannot do it again because this is an examination. |
||
399 | </p> |
||
19 | reyssat | 400 | !goto examend |
401 | !endif |
||
402 | |||
403 | !if expired_exam iswordof $wims_user_error |
||
15416 | bpr | 404 | <p> |
405 | You have no more time left to work on this exam. |
||
406 | </p> |
||
19 | reyssat | 407 | :examend |
408 | !set pses=!translate _ to , in $wims_session |
||
409 | !set pses=!item 1 of $pses |
||
410 | !set pser=!randint 1,999 |
||
411 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
||
5900 | bpr | 412 | <p class="wimscenter"> |
15416 | bpr | 413 | <a href="#" onclick="window.close();$wims_opener">Close this window</a>. |
5900 | bpr | 414 | </p> |
11949 | obado | 415 | !goto end_html |
19 | reyssat | 416 | !endif |
417 | |||
418 | !if exam_closed iswordof $wims_user_error |
||
15416 | bpr | 419 | <p> |
420 | This exam is not accessible for your connection at the time being. |
||
421 | </p><p> |
||
422 | Please verify with the supervisor of your class. |
||
423 | </p> |
||
11949 | obado | 424 | !goto examend |
19 | reyssat | 425 | !endif |
426 | |||
427 | !if bad_ident iswordof $wims_user_error |
||
11949 | obado | 428 | <p> |
15416 | bpr | 429 | Your request contains a user identification error. |
430 | </p><p> |
||
431 | Are you trying to connect to somebody else's session? |
||
432 | </p><p> |
||
11949 | obado | 433 | Please |
434 | <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
||
435 | </p> |
||
436 | !goto end_html |
||
19 | reyssat | 437 | !endif |
438 | |||
439 | !if no_access iswordof $wims_user_error |
||
15416 | bpr | 440 | <div class="wims_msg warning"> |
441 | Your request is refused by the access policy of this site. Sorry. |
||
442 | </div> |
||
11943 | bpr | 443 | !goto end2 |
444 | !endif |
||
19 | reyssat | 445 | |
15416 | bpr | 446 | !if no_access_class iswordof $wims_user_error |
15874 | bpr | 447 | !distribute items (exercises), (tools), (documents) into name_exo,name_tool,name_doc |
448 | !set tt=!word 2 of $wims_user_error |
||
15416 | bpr | 449 | <h2>Closure of class activities</h2> |
450 | <div class="wims_msg warning"> |
||
15874 | bpr | 451 | Access to some activities of this virtual class $(name_$tt) is temporarily closed by the teacher. |
15416 | bpr | 452 | Come back later. |
453 | </div> |
||
454 | !goto end2 |
||
455 | !endif |
||
456 | |||
19 | reyssat | 457 | !if class_closed iswordof $wims_user_error |
15416 | bpr | 458 | <h2>Sorry.</h2> |
459 | <p> |
||
460 | Access to this virtual class is temporarily closed by its supervisor. |
||
461 | Come back later! |
||
462 | </p><p class="wimscenter"> |
||
463 | !href cmd=close&module=home WIMS |
||
464 | </p> |
||
11949 | obado | 465 | !goto end_html |
11943 | bpr | 466 | !endif |
19 | reyssat | 467 | |
17255 | guerimand | 468 | !if other_exam_session iswordof $wims_user_error |
469 | <p>Vous avez déjà commencé une session d'examen. Vous ne pouvez pas en commencer une autre.</p> |
||
470 | <p>Si vous avez fermé le navigateur par erreur pendant votre session d'examen revenez à la page d'accueil de la classe et vous pourrez récupérer votre session.</p> |
||
471 | <p class="wimscenter"> |
||
472 | <a href="#" onclick="window.close();$wims_opener">Fermer cette fenêtre</a>. |
||
473 | </p> |
||
474 | !goto end_html |
||
475 | !endif |
||
476 | |||
19 | reyssat | 477 | :end |
15416 | bpr | 478 | <p> |
479 | If you see this message after following a link given by another page, it |
||
11949 | obado | 480 | probably is because the link is not well-prepared. In this case, please |
15416 | bpr | 481 | contact the author of that page, to inform him of the error. |
482 | </p><p> |
||
483 | You may also |
||
11949 | obado | 484 | write to the |
485 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
||
486 | site</a>, with as many details as possible about the circomstances |
||
487 | under which the error has occurred. |
||
488 | </p> |
||
19 | reyssat | 489 | |
490 | :end2 |
||
15416 | bpr | 491 | |
492 | <div class="wimscenter"> |
||
11949 | obado | 493 | !set wims_ref_class=wims_button home |
494 | !href module=home&cmd=new WIMS Home Page |
||
5755 | bpr | 495 | </div> |
19 | reyssat | 496 | |
11949 | obado | 497 | :end_html |
19 | reyssat | 498 | </body></html> |
and