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