Rev 18277 | 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. |
||
17286 | bpr | 102 | !if $wims_user!=$empty |
103 | Veuillez éviter de travailler dans la classe dans plusieurs onglets |
||
104 | de votre navigateur à la fois. |
||
105 | !endif |
||
15416 | bpr | 106 | </p> |
11949 | obado | 107 | <div class="wimscenter"> |
15416 | bpr | 108 | !set tit=!module title $module |
109 | !default tit=$module |
||
110 | !href module=$module $tit |
||
111 | |
||
112 | !set wims_ref_class=wims_button |
||
113 | !href $ WIMS home |
||
114 | !if $httpd_HTTP_REFERER!=$empty |
||
115 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
||
116 | !else |
||
117 | <p class="small"> |
||
118 | If you want to get out of the site, ignore this message and continue |
||
119 | to click on `Back'. |
||
120 | </p> |
||
121 | !endif |
||
11949 | obado | 122 | </div> |
123 | !goto end_html |
||
19 | reyssat | 124 | !endif |
15416 | bpr | 125 | <p> |
126 | You have asked an illegal module change. |
||
127 | Are you using an automatic program to access this site? |
||
128 | </p> |
||
11949 | obado | 129 | :unblock |
130 | !form new |
||
17237 | bpr | 131 | <input type="hidden" name="module" value="home"> |
132 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"> |
||
11949 | obado | 133 | If you have simply clicked on the `back' button of your browser, |
134 | please type the word `wims' here: |
||
17237 | bpr | 135 | <input size="8" name="special_parm"> then |
136 | <input type="submit" value="send to the server">. |
||
11949 | obado | 137 | !formend |
15416 | bpr | 138 | <p> |
139 | Please bear in mind that pages on this site are dynamically generated. |
||
11949 | obado | 140 | They can therefore only be used online, |
141 | via a normal browser. It is useless for you to gather these pages |
||
15416 | bpr | 142 | using a robot program. |
143 | </p> |
||
11949 | obado | 144 | !if robot_doubt iswordof $wims_user_error |
15416 | bpr | 145 | <p class="small"> |
146 | And beware that people trying to hacker on |
||
147 | this site will see their accesses definitely denied. |
||
148 | </p> |
||
11949 | obado | 149 | !endif |
150 | !goto end_html |
||
19 | reyssat | 151 | !endif |
152 | |||
153 | !if robot_doubt iswordof $wims_user_error |
||
15416 | bpr | 154 | <p> |
155 | We block further access to this site for you, because you are suspected |
||
156 | of using an automatic program to gather pages. |
||
157 | </p> |
||
11949 | obado | 158 | !goto unblock |
19 | reyssat | 159 | !endif |
160 | |||
161 | !if allow_violation iswordof $wims_user_error |
||
15416 | bpr | 162 | <p> |
163 | You don't have the right to define the variable ``$wims_error_data'' |
||
164 | with the command ``$cmd''. |
||
165 | </p> |
||
19 | reyssat | 166 | !endif |
167 | |||
168 | !if bad_command iswordof $wims_user_error |
||
15416 | bpr | 169 | <p> |
170 | The command ``$cmd'' is not valid. |
||
171 | </p><p> |
||
172 | Valid commands are: |
||
173 | </p> |
||
174 | <pre>new, renew, reply, help, hint, config</pre> |
||
19 | reyssat | 175 | !endif |
176 | |||
177 | !if bad_host iswordof $wims_user_error |
||
15416 | bpr | 178 | <p> |
179 | You have tried to access a session from another post. This is not allowed |
||
180 | for your virtual class. |
||
181 | </p><p> |
||
182 | Unfortunately, some internet providers give you dynamic host addresses |
||
11949 | obado | 183 | which MAY change within one connection. If this is the case, please write |
184 | to the supervisor of your class asking him/her to change the access lock |
||
15416 | bpr | 185 | policy. |
186 | </p> |
||
19 | reyssat | 187 | !endif |
188 | |||
189 | !if need_https iswordof $wims_user_error |
||
11949 | obado | 190 | You should connect to your class via a https request. |
191 | !set refname=!replace http:// by https:// in $wims_ref_name |
||
192 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
||
193 | !goto end_html |
||
19 | reyssat | 194 | !endif |
195 | |||
196 | !if bad_insnum iswordof $wims_user_error |
||
15416 | bpr | 197 | <p> |
198 | !if $cmd=getfile |
||
199 | The file you asked for does not exist. |
||
200 | !else |
||
201 | The file name for dynamic insertion is not valid. |
||
202 | !endif |
||
203 | </p> |
||
19 | reyssat | 204 | !endif |
205 | |||
206 | !if cmd_output_too_long iswordof $wims_user_error |
||
15416 | bpr | 207 | <p> |
208 | The intermediate result of the computation has exceeded the length limit. |
||
209 | You have probably submitted a request which is unrealistically complicated. |
||
210 | Simplify your request, please. |
||
211 | </p> |
||
19 | reyssat | 212 | !endif |
213 | |||
214 | !if double_click iswordof $wims_user_error |
||
11949 | obado | 215 | <p> |
15416 | bpr | 216 | This request arrived while the process of another request from you is |
217 | still under way. |
||
218 | </p><p> |
||
219 | If you have been double clicking, now please wait |
||
220 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
||
221 | for the process of your old request to terminate, then |
||
222 | !href cmd=resume click here |
||
223 | to get back to your work. (And please be more patient the next time |
||
224 | you ask wims to do lengthy computations.) |
||
225 | </p><p> |
||
226 | If you are using ``back'' button of your browser to get out of wims, you |
||
227 | may ignore this message and go ahead. |
||
228 | </p> |
||
11949 | obado | 229 | !goto end_html |
19 | reyssat | 230 | !endif |
231 | |||
232 | !if invalid_char_in_query_string iswordof $wims_user_error |
||
15416 | bpr | 233 | <p> |
234 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
||
235 | </p> |
||
19 | reyssat | 236 | !endif |
237 | |||
238 | !if name_conflict iswordof $wims_user_error |
||
15416 | bpr | 239 | <p> |
19 | reyssat | 240 | ``$wims_error_data'' is a reserved name for wims. |
15416 | bpr | 241 | </p> |
19 | reyssat | 242 | !endif |
243 | |||
244 | !if no_command iswordof $wims_user_error |
||
15416 | bpr | 245 | <p> |
246 | There is no command. |
||
247 | </p> |
||
19 | reyssat | 248 | !endif |
249 | |||
250 | !if no_insnum iswordof $wims_user_error |
||
15416 | bpr | 251 | <p> |
252 | !if $cmd=getfile |
||
253 | You have asked for a file without giving its name. |
||
254 | !else |
||
255 | You have asked for a dynamic insertion without giving its number. |
||
256 | !endif |
||
257 | </p> |
||
19 | reyssat | 258 | !endif |
259 | |||
260 | !if no_module_name iswordof $wims_user_error |
||
15416 | bpr | 261 | <p> |
262 | You have asked a new session without module name. |
||
263 | </p> |
||
19 | reyssat | 264 | !endif |
265 | |||
266 | !if no_session iswordof $wims_user_error |
||
15416 | bpr | 267 | <p> |
268 | The session number is missing. |
||
269 | </p> |
||
19 | reyssat | 270 | !endif |
271 | |||
272 | !if parm_too_long iswordof $wims_user_error |
||
15416 | bpr | 273 | <p> |
274 | Your parameter string has exceeded length limit. This is not allowed by |
||
275 | security reasons. Sorry. |
||
276 | </p> |
||
19 | reyssat | 277 | !endif |
278 | |||
279 | !if string_too_long iswordof $wims_user_error |
||
15416 | bpr | 280 | <p> |
281 | The definition of variable has a length which exceeds the limit. |
||
282 | </p> |
||
19 | reyssat | 283 | !endif |
284 | |||
285 | !if too_many_variables iswordof $wims_user_error |
||
15416 | bpr | 286 | <p> |
287 | The number of parameters which you transmitted has exceeded the limit |
||
288 | authorized in this wims site. |
||
289 | </p> |
||
19 | reyssat | 290 | !endif |
291 | |||
292 | !if unmatched_parentheses iswordof $wims_user_error |
||
15416 | bpr | 293 | <p> |
294 | We have detected unmatched parentheses in your request. |
||
295 | You may correct the error here: |
||
296 | </p> |
||
19 | reyssat | 297 | !form $cmd |
15416 | bpr | 298 | !for i in module,special_parm,worksheet |
299 | !if $($i)!=$empty |
||
300 | !set value=!translate " to $ $ in $($i) |
||
17237 | bpr | 301 | <input type="hidden" name="$i" value="$value"> |
15416 | bpr | 302 | !endif |
303 | !next i |
||
304 | !for i=0 to $user_var_no-1 |
||
305 | !if $i!=$bad_parentheses |
||
306 | !set value=!translate " to $ $ in $(value$i) |
||
17237 | bpr | 307 | <input type="hidden" name="$(name$i)" value="$value"> |
15416 | bpr | 308 | !endif |
309 | !next i |
||
310 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
||
311 | !set len=!charcnt $value |
||
312 | !if $len<55 |
||
313 | !set len=$[$len+3] |
||
314 | !else |
||
315 | !set len=59 |
||
316 | !endif |
||
317 | !set input_id=$(name$bad_parentheses) |
||
318 | <div class="field box"> |
||
319 | <label for="$input_id">$input_id =</label> |
||
11990 | obado | 320 | !set n=!linecnt $value |
15416 | bpr | 321 | !if $n<=1 |
17237 | bpr | 322 | <input size="$len" name="$input_id" id="$input_id" value="$value"> |
15416 | bpr | 323 | !else |
324 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
||
325 | !endif |
||
326 | </div> |
||
327 | <p class="actions"> |
||
328 | Puis |
||
17237 | bpr | 329 | <input type="submit" value="envoyer la requête corrigée."> |
15416 | bpr | 330 | </p> |
331 | !formend |
||
17237 | bpr | 332 | <hr> |
15416 | bpr | 333 | <p class="wimscenter"> |
11990 | obado | 334 | !href cmd=resume Cancel the last request |
335 | | |
||
336 | !href $ wims home |
||
15416 | bpr | 337 | </p> |
11949 | obado | 338 | !goto end_html |
19 | reyssat | 339 | !endif |
11943 | bpr | 340 | |
19 | reyssat | 341 | !if wrong_module iswordof $wims_user_error |
7428 | obado | 342 | !set tmp=!translate "!/<>;': to $ $ in $module |
15416 | bpr | 343 | <p> |
344 | The module <code>$tmp</code> which you asked for does not exist in this site. |
||
345 | </p> |
||
19 | reyssat | 346 | !endif |
347 | |||
348 | !if wrong_session iswordof $wims_user_error |
||
15416 | bpr | 349 | <p> |
350 | The session number ``$session'' is not (or no longer) valid. |
||
351 | <a href="$refname">Create a new session</a>. |
||
352 | </p> |
||
11943 | bpr | 353 | !endif |
19 | reyssat | 354 | |
355 | !if rafale iswordof $wims_user_error |
||
15416 | bpr | 356 | <p> |
357 | Please don't play with the exercises! |
||
358 | </p><p> |
||
359 | You should take time to think carefully and try to solve the exercises |
||
360 | correctly, instead of ask new ones over and over again. |
||
361 | </p> |
||
362 | !set wims_ref_class=wims_button |
||
363 | !href cmd=resume Cancel last request |
||
364 | . |
||
365 | !if $wims_user!=$empty and $wims_user!=supervisor |
||
366 | <p> |
||
367 | <span class="wims_warning">$wims_name_warning.</span>! Don't repeat this error! |
||
368 | Irregular activities may give you bad scores even when score registration is |
||
369 | closed. |
||
370 | </p> |
||
371 | !endif |
||
372 | !goto end2 |
||
19 | reyssat | 373 | !endif |
374 | |||
375 | :examerr |
||
376 | !if exam_dep iswordof $wims_user_error |
||
15416 | bpr | 377 | <p> |
378 | This exercise is available only when you have successfully made |
||
19 | reyssat | 379 | !if , isin $dep_list |
15416 | bpr | 380 | exercises $dep_list. |
19 | reyssat | 381 | !else |
15416 | bpr | 382 | exercise $dep_list. |
19 | reyssat | 383 | !endif |
15416 | bpr | 384 | </p><p> |
385 | Please first try to do the latter. |
||
386 | </p> |
||
19 | reyssat | 387 | !goto examend |
388 | !endif |
||
389 | |||
390 | !if bad_exam iswordof $wims_user_error |
||
15416 | bpr | 391 | <p> |
392 | You have issued an illegal request within an examination session. |
||
393 | </p> |
||
19 | reyssat | 394 | !goto examend |
395 | !endif |
||
396 | |||
397 | !if exam_exo_finished iswordof $wims_user_error |
||
15416 | bpr | 398 | <p> |
399 | You have already done this exercise with a score of $wims_exo_lastscore. |
||
400 | </p><p> |
||
401 | You cannot do it again because this is an examination. |
||
402 | </p> |
||
19 | reyssat | 403 | !goto examend |
404 | !endif |
||
405 | |||
406 | !if expired_exam iswordof $wims_user_error |
||
15416 | bpr | 407 | <p> |
408 | You have no more time left to work on this exam. |
||
409 | </p> |
||
19 | reyssat | 410 | :examend |
411 | !set pses=!translate _ to , in $wims_session |
||
412 | !set pses=!item 1 of $pses |
||
413 | !set pser=!randint 1,999 |
||
414 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
||
5900 | bpr | 415 | <p class="wimscenter"> |
15416 | bpr | 416 | <a href="#" onclick="window.close();$wims_opener">Close this window</a>. |
5900 | bpr | 417 | </p> |
11949 | obado | 418 | !goto end_html |
19 | reyssat | 419 | !endif |
420 | |||
421 | !if exam_closed iswordof $wims_user_error |
||
15416 | bpr | 422 | <p> |
423 | This exam is not accessible for your connection at the time being. |
||
424 | </p><p> |
||
425 | Please verify with the supervisor of your class. |
||
426 | </p> |
||
11949 | obado | 427 | !goto examend |
19 | reyssat | 428 | !endif |
429 | |||
430 | !if bad_ident iswordof $wims_user_error |
||
11949 | obado | 431 | <p> |
15416 | bpr | 432 | Your request contains a user identification error. |
433 | </p><p> |
||
434 | Are you trying to connect to somebody else's session? |
||
435 | </p><p> |
||
11949 | obado | 436 | Please |
437 | <a href="$refname?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
||
438 | </p> |
||
439 | !goto end_html |
||
19 | reyssat | 440 | !endif |
441 | |||
442 | !if no_access iswordof $wims_user_error |
||
15416 | bpr | 443 | <div class="wims_msg warning"> |
444 | Your request is refused by the access policy of this site. Sorry. |
||
445 | </div> |
||
11943 | bpr | 446 | !goto end2 |
447 | !endif |
||
19 | reyssat | 448 | |
15416 | bpr | 449 | !if no_access_class iswordof $wims_user_error |
18291 | bpr | 450 | !distribute items exercises, tools, documents, freeworks, consulter les indications sur un exercice into name_exo,name_tool,name_doc,name_freework,name_hint |
15874 | bpr | 451 | !set tt=!word 2 of $wims_user_error |
18277 | bpr | 452 | !set tt2=!word 3 of $wims_user_error |
15416 | bpr | 453 | <h2>Closure of class activities</h2> |
18277 | bpr | 454 | !reset name_non |
455 | !if $tt2=non |
||
456 | !set name_non=other than |
||
457 | !endif |
||
458 | !set tmp=!trim $name_non $(name_$tt) |
||
15416 | bpr | 459 | <div class="wims_msg warning"> |
18291 | bpr | 460 | Access to some activities of this virtual class ($tmp) is temporarily closed by the teacher. |
15416 | bpr | 461 | Come back later. |
462 | </div> |
||
463 | !goto end2 |
||
464 | !endif |
||
465 | |||
19 | reyssat | 466 | !if class_closed iswordof $wims_user_error |
15416 | bpr | 467 | <h2>Sorry.</h2> |
468 | <p> |
||
469 | Access to this virtual class is temporarily closed by its supervisor. |
||
470 | Come back later! |
||
471 | </p><p class="wimscenter"> |
||
472 | !href cmd=close&module=home WIMS |
||
473 | </p> |
||
11949 | obado | 474 | !goto end_html |
11943 | bpr | 475 | !endif |
19 | reyssat | 476 | |
17255 | guerimand | 477 | !if other_exam_session iswordof $wims_user_error |
478 | <p>Vous avez déjà commencé une session d'examen. Vous ne pouvez pas en commencer une autre.</p> |
||
479 | <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> |
||
480 | <p class="wimscenter"> |
||
481 | <a href="#" onclick="window.close();$wims_opener">Fermer cette fenêtre</a>. |
||
482 | </p> |
||
483 | !goto end_html |
||
484 | !endif |
||
485 | |||
19 | reyssat | 486 | :end |
15416 | bpr | 487 | <p> |
488 | If you see this message after following a link given by another page, it |
||
11949 | obado | 489 | probably is because the link is not well-prepared. In this case, please |
15416 | bpr | 490 | contact the author of that page, to inform him of the error. |
491 | </p><p> |
||
492 | You may also |
||
11949 | obado | 493 | write to the |
494 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
||
495 | site</a>, with as many details as possible about the circomstances |
||
496 | under which the error has occurred. |
||
497 | </p> |
||
19 | reyssat | 498 | |
499 | :end2 |
||
15416 | bpr | 500 | |
501 | <div class="wimscenter"> |
||
11949 | obado | 502 | !set wims_ref_class=wims_button home |
503 | !href module=home&cmd=new WIMS Home Page |
||
5755 | bpr | 504 | </div> |
19 | reyssat | 505 | |
11949 | obado | 506 | :end_html |
19 | reyssat | 507 | </body></html> |
and