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