Rev 5900 | Rev 7428 | 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) |
||
3 | Content-type: text/html; charset=iso-8859-1 |
||
4 | Cache-Control: no-cache |
||
5 | Pragma: no-cache |
||
6 | |||
6369 | bpr | 7 | <html> |
8 | <head> |
||
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 | <!-- Style general du theme --> |
||
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 | |||
19 | reyssat | 19 | !if exam_ isin $wims_user_error |
3570 | bpr | 20 | <style type="text/css"><!-- |
19 | reyssat | 21 | body {text-align: justify; |
22 | padding-left: 3%; padding-right: 3%;} |
||
3570 | bpr | 23 | --></style> |
6369 | bpr | 24 | </head> |
25 | <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error"> |
||
26 | <h1 class="wims_center">ERROR</h1> |
||
19 | reyssat | 27 | !goto examerr |
28 | !endif |
||
6369 | bpr | 29 | |
30 | </head> |
||
31 | <body class="user_error"> |
||
32 | |||
19 | reyssat | 33 | !if threshold iswordof $wims_user_error |
5755 | bpr | 34 | <hr width="1"/> |
5900 | bpr | 35 | <h1 class="wims_center">We are too busy</h1> |
6369 | bpr | 36 | <hr style="width:50%" /> |
37 | <p> |
||
38 | WIMS strežnik <span class="color:blue">$httpd_HTTP_HOST</span> |
||
5353 | kuzman | 39 | je trenutno preobremenjen. Prosim, vrnite se kasneje ali |
40 | obiščite katerega od zrcalnih strežnikov. |
||
6369 | bpr | 41 | </p><p> |
42 | Opravičujemo se za to neprijetnost. |
||
43 | </p> |
||
19 | reyssat | 44 | !read mirror.phtml.en |
6369 | bpr | 45 | </body> |
46 | </html> |
||
19 | reyssat | 47 | !exit |
48 | !endif |
||
49 | |||
50 | !if overload iswordof $wims_user_error |
||
5900 | bpr | 51 | |
52 | <h1 class="wims_center">SORRY</h1> |
||
5353 | kuzman | 53 | Strežnik WIMS je preprečil izvajanje tega zahtevka: presežena dovoljena kvota povezav. |
19 | reyssat | 54 | </body></html> |
55 | !exit |
||
56 | !endif |
||
57 | |||
58 | !if ++++missing_ isin ++++$wims_user_error |
||
6369 | bpr | 59 | <hr width="1"/> |
5900 | bpr | 60 | <h1 class="wims_center">Sorry</h1> |
6369 | bpr | 61 | <hr style="width:50%" /> |
5353 | kuzman | 62 | Za izvedbo tega zahtevka je potrebna programska oprema |
19 | reyssat | 63 | !set miss=!upper $missing_software |
5353 | kuzman | 64 | <span class="wims_warning">$miss</span>, |
65 | ki ni nameščena na tem WIMS strežniku. |
||
19 | reyssat | 66 | <p> |
5353 | kuzman | 67 | Obvestite |
68 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">skrbnika strežnika</a> ali izberite drug strežnik. |
||
6369 | bpr | 69 | <p><a href="wims.cgi">WIMS domača stran</a>. |
70 | </p> |
||
19 | reyssat | 71 | !read mirror.phtml.en |
72 | </body></html> |
||
73 | !exit |
||
74 | !endif |
||
75 | |||
76 | !if trapped iswordof $wims_user_error |
||
5900 | bpr | 77 | <h1 class="wims_center">Stop!</h1><hr/> |
19 | reyssat | 78 | !endif |
79 | |||
6369 | bpr | 80 | <h1 class="wims_center">WIMS napaka</h1> |
81 | <hr/> |
||
82 | <p> |
||
83 | V vašem zahtevku je napaka. |
||
84 | </p> |
||
19 | reyssat | 85 | |
86 | !if module_change iswordof $wims_user_error |
||
87 | !if $wims_human_access=yes |
||
6369 | bpr | 88 | <p> |
5355 | kuzman | 89 | Ne uporabljajte gumba `nazaj', saj uporabljate interaktivni strežnik.. |
6369 | bpr | 90 | </p> |
91 | <p class="wims_center"> |
||
19 | reyssat | 92 | !set tit=!module title $module |
93 | !default tit=$module |
||
94 | !href module=$module $tit |
||
95 | |
||
96 | !href $ WIMS home |
||
97 | !if $httpd_HTTP_REFERER!=$empty |
||
98 | <a href="$httpd_HTTP_REFERER">Exit WIMS</a> |
||
99 | !else |
||
5900 | bpr | 100 | </p> |
6369 | bpr | 101 | <p> |
102 | <small> |
||
103 | If you want to get out of the site, ignore this message and continue |
||
104 | to click on `Back'. |
||
105 | </small></p> |
||
19 | reyssat | 106 | !endif |
107 | !exit |
||
108 | !endif |
||
109 | You have asked an illegal module change. |
||
110 | Are you using an automatic program to access this site? |
||
111 | :unblock |
||
112 | !form new |
||
5755 | bpr | 113 | <input type="hidden" name="module" value="home"/> |
114 | <input type="hidden" name="deblockparm" value="$[randint(10000000)+1000000]"/> |
||
19 | reyssat | 115 | If you have simply clicked on the `back' button of your browser, |
116 | please type the word `wims' here: |
||
6369 | bpr | 117 | <input size="8" name="special_parm" /> then |
118 | <input type="submit" value="send to the server" />. |
||
119 | !formend |
||
19 | reyssat | 120 | <p> |
121 | Please bear in mind that pages on this site are dynamically generated. |
||
122 | They can therefore only be used online, |
||
123 | via a normal browser. It is useless for you to gather these pages |
||
124 | using a robot program. |
||
6369 | bpr | 125 | </p> |
19 | reyssat | 126 | !if robot_doubt iswordof $wims_user_error |
6369 | bpr | 127 | <p class="small"> |
128 | And beware that people trying to hacker on |
||
129 | this site will see their accesses definitely denied. |
||
130 | </p> |
||
19 | reyssat | 131 | !endif |
132 | !exit |
||
133 | !endif |
||
134 | |||
135 | !if robot_doubt iswordof $wims_user_error |
||
6369 | bpr | 136 | <p> |
19 | reyssat | 137 | We block further access to this site for you, because you are suspected |
138 | of using an automatic program to gather pages. |
||
6369 | bpr | 139 | </p> |
19 | reyssat | 140 | !goto unblock |
141 | !endif |
||
142 | |||
143 | !if allow_violation iswordof $wims_user_error |
||
6369 | bpr | 144 | <p> |
19 | reyssat | 145 | You don't have the right to define the variable ``$wims_error_data'' |
146 | with the command ``$cmd''. |
||
6369 | bpr | 147 | </p> |
19 | reyssat | 148 | !goto end |
149 | !endif |
||
150 | |||
151 | !if bad_command iswordof $wims_user_error |
||
152 | The command ``$cmd'' is not valid. |
||
153 | <p> Valid commands are: <pre> |
||
154 | new, renew, reply, hint, config </pre> |
||
155 | !endif |
||
156 | |||
157 | !if bad_host iswordof $wims_user_error |
||
158 | You have tried to access a session from another post. This is not allowed |
||
159 | for your virtual class. |
||
160 | <p> |
||
161 | Unfortunately, some internet providers give you dynamic host addresses |
||
162 | which MAY change within one connection. If this is the case, please write |
||
163 | to the supervisor of your class asking him/her to change the access lock |
||
164 | policy. |
||
6369 | bpr | 165 | </p> |
19 | reyssat | 166 | !goto end |
167 | !endif |
||
168 | |||
169 | !if need_https iswordof $wims_user_error |
||
170 | You should connect to your class via a https request. |
||
171 | !set refname=!replace http:// by https:// in $wims_ref_name |
||
172 | <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>. |
||
173 | !exit |
||
174 | !endif |
||
175 | |||
176 | !if bad_insnum iswordof $wims_user_error |
||
177 | !if $cmd=getfile |
||
178 | The file you asked for does not exist. |
||
179 | !else |
||
180 | The file name for dynamic insertion is not valid. |
||
181 | !endif |
||
182 | !goto end |
||
183 | !endif |
||
184 | |||
185 | !if cmd_output_too_long iswordof $wims_user_error |
||
186 | The intermediate result of the computation has exceeded the length limit. |
||
187 | You have probably submitted a request which is unrealistically complicated. |
||
188 | Simplify your request, please. |
||
189 | !goto end |
||
190 | !endif |
||
191 | |||
192 | !if double_click iswordof $wims_user_error |
||
193 | This request arrived while the process of another request from you is |
||
194 | still under way.<p> |
||
195 | If you have been double clicking, now please wait |
||
4747 | bpr | 196 | <span class="wims_warning">$wims_cpu_limit seconds</span> |
19 | reyssat | 197 | for the process of your old request to terminate, then |
198 | !href cmd=resume click here |
||
199 | to get back to your work. (And please be more patient the next time |
||
200 | you ask wims to do lengthy computations.) |
||
201 | <p> |
||
202 | If you are using ``back'' button of your browser to get out of wims, you |
||
203 | may ignore this message and go ahead. |
||
204 | !exit |
||
205 | !endif |
||
206 | |||
207 | !if invalid_char_in_query_string iswordof $wims_user_error |
||
208 | The substitution ``$wims_error_data'' in the parameter string is illegal. |
||
209 | !goto end |
||
210 | !endif |
||
211 | |||
212 | !if name_conflict iswordof $wims_user_error |
||
213 | ``$wims_error_data'' is a reserved name for wims. |
||
214 | !goto end |
||
215 | !endif |
||
216 | |||
217 | !if no_command iswordof $wims_user_error |
||
218 | There is no command. |
||
219 | !goto end |
||
220 | !endif |
||
221 | |||
222 | !if no_insnum iswordof $wims_user_error |
||
223 | !if $cmd=getfile |
||
224 | You have asked for a file without giving its name. |
||
225 | !else |
||
226 | You have asked for a dynamic insertion without giving its number. |
||
227 | !endif |
||
228 | !goto end |
||
229 | !endif |
||
230 | |||
231 | !if no_module_name iswordof $wims_user_error |
||
232 | You have asked a new session without module name. |
||
233 | !goto end |
||
234 | !endif |
||
235 | |||
236 | !if no_session iswordof $wims_user_error |
||
237 | The session number is missing. |
||
238 | !goto end |
||
239 | !endif |
||
240 | |||
241 | !if parm_too_long iswordof $wims_user_error |
||
242 | Your parameter string has exceeded length limit. This is not allowed by |
||
243 | security reasons, sorry. |
||
244 | !goto end |
||
245 | !endif |
||
246 | |||
247 | !if string_too_long iswordof $wims_user_error |
||
248 | The definition of variable has a length which exceeds the limit. |
||
249 | !goto end |
||
250 | !endif |
||
251 | |||
252 | !if too_many_variables iswordof $wims_user_error |
||
253 | The number of parameters which you transmitted has exceeded the limit |
||
254 | authorized in this wims site. |
||
255 | !goto end |
||
256 | !endif |
||
257 | |||
258 | !if unmatched_parentheses iswordof $wims_user_error |
||
259 | We have detected unmatched parentheses in your request. You may correct the |
||
260 | error here: |
||
261 | !form $cmd |
||
262 | $(name$bad_parentheses) = |
||
263 | !for i in module,special_parm,worksheet |
||
264 | !if $($i)!=$empty |
||
265 | !set value=!translate " to $ $ in $($i) |
||
6369 | bpr | 266 | <input type="hidden" name="$i" value="$value" /> |
19 | reyssat | 267 | !endif |
268 | !next i |
||
269 | !for i=0 to $user_var_no-1 |
||
270 | !if $i!=$bad_parentheses |
||
271 | !set value=!translate " to $ $ in $(value$i) |
||
6369 | bpr | 272 | <input type="hidden" name="$(name$i)" value="$value" /> |
19 | reyssat | 273 | !endif |
274 | !next i |
||
275 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
||
276 | !set len=!charcnt $value |
||
6369 | bpr | 277 | !if $len<55 |
278 | !set len=$[$len+3] |
||
19 | reyssat | 279 | !else |
6369 | bpr | 280 | !set len=59 |
19 | reyssat | 281 | !endif |
6369 | bpr | 282 | <input size="$len" name="$(name$bad_parentheses)" value="$value" /> |
283 | <p> |
||
19 | reyssat | 284 | Then |
5755 | bpr | 285 | <input type="submit" value="send the corrected request."/> |
6369 | bpr | 286 | </p> |
287 | !formend |
||
288 | <hr /> |
||
289 | <p class="wimscenter"> |
||
19 | reyssat | 290 | !href cmd=resume Cancel the last request |
291 | , or |
||
292 | !href $ wims home |
||
6369 | bpr | 293 | .</p> |
19 | reyssat | 294 | !exit |
295 | !endif |
||
296 | |||
297 | !if wrong_module iswordof $wims_user_error |
||
298 | The module ``$module'' which you asked for does not exist in this site. |
||
299 | !goto end |
||
300 | !endif |
||
301 | |||
302 | !if wrong_session iswordof $wims_user_error |
||
303 | The session number ``$session'' is not (or no longer) valid. |
||
304 | <a href="wims.cgi">Create a new session</a>. |
||
305 | !goto end |
||
306 | !endif |
||
307 | |||
308 | !if rafale iswordof $wims_user_error |
||
309 | Please don't play with the exercises! |
||
310 | <p> |
||
311 | You should take time to think carefully and try to solve the exercises |
||
312 | correctly, instead of ask new ones over and over again. |
||
313 | !href cmd=resume Cancel the last request |
||
314 | . |
||
315 | !if $wims_user!=$empty and $wims_user!=supervisor |
||
4747 | bpr | 316 | <p><span class="wims_warning">ATTENTION</span>! Don't repeat this error! |
19 | reyssat | 317 | Irregular activities may give you bad scores even when score registration is |
318 | closed. |
||
319 | !endif |
||
320 | !goto end2 |
||
321 | !endif |
||
322 | |||
323 | :examerr |
||
324 | |||
325 | !if exam_dep iswordof $wims_user_error |
||
326 | This exercise is available only when you have successfully made |
||
327 | !if , isin $dep_list |
||
328 | exercises $dep_list. |
||
329 | !else |
||
330 | exercise $dep_list. |
||
331 | !endif |
||
332 | Please first try to do the latter. |
||
333 | !goto examend |
||
334 | !endif |
||
335 | |||
336 | !if bad_exam iswordof $wims_user_error |
||
337 | You have issued an illegal request within an examination session. |
||
338 | !goto examend |
||
339 | !endif |
||
340 | |||
341 | !if exam_exo_finished iswordof $wims_user_error |
||
342 | You have already done this exercise with a score of $wims_exo_lastscore. |
||
343 | You cannot do it again because this is an examination. |
||
344 | !goto examend |
||
345 | !endif |
||
346 | |||
347 | !if expired_exam iswordof $wims_user_error |
||
348 | You have no more time left to work on this exam. |
||
349 | :examend |
||
350 | !set pses=!translate _ to , in $wims_session |
||
351 | !set pses=!item 1 of $pses |
||
352 | !set pser=!randint 1,999 |
||
353 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
||
5900 | bpr | 354 | <p class="wimscenter"> |
19 | reyssat | 355 | <a href=# onclick="window.close();$wims_opener">Close this window</a>. |
5900 | bpr | 356 | </p> |
19 | reyssat | 357 | !exit |
358 | !endif |
||
359 | |||
360 | !if exam_closed iswordof $wims_user_error |
||
361 | This exam is not accessible for your connection at the time being. Please verify |
||
362 | with the supervisor of your class. |
||
363 | !goto examend |
||
364 | !endif |
||
365 | |||
366 | !if bad_ident iswordof $wims_user_error |
||
367 | Your request contains a user identification error. Are you trying to connect |
||
368 | to somebody else's session? |
||
369 | <p> |
||
370 | Please |
||
3570 | bpr | 371 | <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>. |
5900 | bpr | 372 | </p></body></html> |
19 | reyssat | 373 | !exit |
374 | !endif |
||
375 | |||
376 | !if no_access iswordof $wims_user_error |
||
377 | Your request is refused by the access policy of this site. Sorry. |
||
378 | !goto end |
||
379 | !endif |
||
380 | |||
3570 | bpr | 381 | !if class_closed iswordof $wims_user_error |
382 | Sorry. |
||
383 | <p> |
||
384 | Access to this virtual class is temporarily closed by its supervisor. |
||
385 | Come back later! |
||
5755 | bpr | 386 | <div class="wimscenter"> |
3570 | bpr | 387 | !href cmd=close&module=home WIMS |
5755 | bpr | 388 | </div> |
3570 | bpr | 389 | </body></html> |
390 | !exit |
||
391 | !endif |
||
392 | |||
19 | reyssat | 393 | :end |
394 | <p>If you see this message after following a link given by another page, it |
||
395 | probably is because the link is not well-prepared. In this case, please |
||
396 | contact the author of that page, to inform him of the error. You may also |
||
397 | write to the |
||
398 | <a href="mailto:$wims_site_manager?subject=wims.cgi">manager of this |
||
399 | site</a>, with as many details as possible about the circomstances |
||
400 | under which the error has occurred. |
||
401 | |||
402 | :end2 |
||
5755 | bpr | 403 | <hr/><div class="wimscenter"> |
19 | reyssat | 404 | !href module=home&cmd=new Home page |
5755 | bpr | 405 | </div> |
19 | reyssat | 406 | |
407 | </body></html> |
||
408 |