Subversion Repositories wimsdev

Rev

Rev 11943 | Rev 11990 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11943 Rev 11949
Line 1... Line 1...
1
Status: 450 WIMS User Error
1
Status: 450 WIMS User Error
2
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
2
Server: WIMS $wims_version (WWW Interactive Multipurpose Server)
3
Content-type: text/html; charset=iso-8859-1
3
Content-type: text/html; charset=iso-8859-2
4
Cache-Control: no-cache
4
Cache-Control: no-cache
5
Pragma: no-cache
5
Pragma: no-cache
6
 
6
 
7
<html>
7
<!DOCTYPE html>
8
 <head>
8
<html><head>
9
  <meta http-equiv=expires content="1 Jan 1990">
9
  <meta http-equiv=expires content="1 Jan 1990">
10
  <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
10
  <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
11
  <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
11
  <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
12
<!-- Style general du theme -->
12
  <!-- Style general du theme -->
13
<link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css">
13
  <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css">
14
<style 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;}
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;}
16
   .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;}
17
</style>
17
  </style>
18
 
18
 
19
!if exam_ isin $wims_user_error
19
  !if exam_ isin $wims_user_error
20
<style type="text/css"><!--
20
    <style type="text/css"><!--
21
body {text-align: justify;
21
    body {text-align: justify;
22
padding-left: 3%; padding-right: 3%;}
22
    padding-left: 3%; padding-right: 3%;}
23
--></style>
23
    --></style>
24
</head>
24
    </head>
25
<body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error">
25
    <body onload="window.resizeTo(500,200);window.moveTo(250,300);" class="user_error">
26
 <h1 class="wims_center">ERROR</h1>
26
     <h1 class="wims_center">ERROR</h1>
27
!goto examerr
27
    !goto examerr
28
!endif
28
  !endif
29
 
29
 
30
</head>
-
 
31
<body class="user_error">
30
</head><body class="user_error">
32
 
31
 
33
!if threshold iswordof $wims_user_error
32
!if threshold iswordof $wims_user_error
34
 <hr width="1"/>
33
  <hr width="1"/>
35
 <h1 class="wims_center">We are too busy</h1>
34
  <h1 class="wims_center">We are too busy</h1>
36
 <hr style="width:50%" />
35
  <hr style="width:50%" />
37
 <p>
36
  <p>
38
 WIMS strežnik <span class="color:blue">$httpd_HTTP_HOST</span>
37
  WIMS strežnik <span class="color:blue">$httpd_HTTP_HOST</span>
39
 je trenutno preobremenjen. Prosim, vrnite se kasneje ali
38
  je trenutno preobremenjen. Prosim, vrnite se kasneje ali
40
 obišèite katerega od zrcalnih strežnikov.
39
  obišèite katerega od zrcalnih strežnikov.
41
 </p><p>
40
  </p><p>
42
 Opravièujemo se za to neprijetnost.
41
  Opravièujemo se za to neprijetnost.
43
 </p>
42
  </p>
44
 !read mirror.phtml.en
43
  !read mirror.phtml.en
45
 </body>
-
 
46
 </html>
44
  !goto end_html
47
 !exit
-
 
48
!endif
45
!endif
49
 
-
 
50
!if overload iswordof $wims_user_error
-
 
51
 
46
 
-
 
47
!if overload iswordof $wims_user_error
52
 <h1 class="wims_center">SORRY</h1>
48
  <h1 class="wims_center">SORRY</h1>
53
 Strežnik WIMS je prepreèil izvajanje tega zahtevka: presežena dovoljena kvota povezav.
49
  Strežnik WIMS je prepreèil izvajanje tega zahtevka: presežena dovoljena kvota povezav.
54
 </body></html>
50
  !goto end_html
55
 !exit
-
 
56
!endif
51
!endif
57
 
52
 
58
!if ++++missing_ isin ++++$wims_user_error
53
!if ++++missing_ isin ++++$wims_user_error
59
  <hr width="1"/>
54
  <hr width="1"/>
60
 <h1 class="wims_center">Sorry</h1>
55
  <h1 class="wims_center">Sorry</h1>
61
 <hr style="width:50%" />
56
  <hr style="width:50%" />
62
 Za izvedbo tega zahtevka je potrebna programska oprema
57
  Za izvedbo tega zahtevka je potrebna programska oprema
63
 !set miss=!upper $missing_software
58
  !set miss=!upper $missing_software
64
 <span class="wims_warning">$miss</span>,
59
  <span class="wims_warning">$miss</span>,
65
 ki ni namešèena na tem WIMS strežniku.
60
  ki ni namešèena na tem WIMS strežniku.
66
 <p>
61
  <p>
67
 Obvestite
62
    Obvestite
68
 <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">skrbnika strežnika</a> ali izberite drug strežnik.
63
    <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">skrbnika strežnika</a> ali izberite drug strežnik.
69
<p><a href="wims.cgi">WIMS domaèa stran</a>.
64
  <p><a href="wims.cgi">WIMS domaèa stran</a>.
70
 </p>
65
  </p>
71
 !read mirror.phtml.en
66
  !read mirror.phtml.en
72
 </body></html>
67
  !goto end_html
73
 !exit
-
 
74
!endif
68
!endif
75
 
69
 
76
!if trapped iswordof $wims_user_error
70
!if trapped iswordof $wims_user_error
77
 <h1 class="wims_center">Stop!</h1><hr/>
71
  <h1 class="wims_center">Stop!</h1><hr/>
78
!endif
72
!endif
79
 
73
 
80
<h1 class="wims_center">WIMS napaka</h1>
74
<h1 class="wims_center">WIMS napaka</h1>
81
<hr/>
75
<hr/>
82
!if no_access notwordof $wims_user_error
76
!if no_access notwordof $wims_user_error
Line 103... Line 97...
103
   <small>
97
   <small>
104
   If you want to get out of the site, ignore this message and continue
98
   If you want to get out of the site, ignore this message and continue
105
   to click on `Back'.
99
   to click on `Back'.
106
   </small></p>
100
   </small></p>
107
  !endif
101
  !endif
108
  !exit
102
  !goto end_html
109
 !endif
103
 !endif
110
 You have asked an illegal module change.
104
 You have asked an illegal module change.
111
 Are you using an automatic program to access this site?
105
 Are you using an automatic program to access this site?
112
 :unblock
106
 :unblock
113
 !form new
107
 !form new
Line 128... Line 122...
128
  <p class="small">
122
  <p class="small">
129
  And beware that people trying to hacker on
123
  And beware that people trying to hacker on
130
  this site will see their accesses definitely denied.
124
  this site will see their accesses definitely denied.
131
  </p>
125
  </p>
132
 !endif
126
 !endif
133
 !exit
127
 !goto end_html
134
!endif
128
!endif
135
 
129
 
136
!if robot_doubt iswordof $wims_user_error
130
!if robot_doubt iswordof $wims_user_error
137
 <p>
131
 <p>
138
 We block further access to this site for you, because you are suspected
132
 We block further access to this site for you, because you are suspected
Line 166... Line 160...
166
  </p>
160
  </p>
167
  !goto end
161
  !goto end
168
!endif
162
!endif
169
 
163
 
170
!if need_https iswordof $wims_user_error
164
!if need_https iswordof $wims_user_error
171
 You should connect to your class via a https request.
165
  You should connect to your class via a https request.
172
 !set refname=!replace http:// by https:// in $wims_ref_name
166
  !set refname=!replace http:// by https:// in $wims_ref_name
173
 <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>.
167
  <a href="$refname?session=$wims_session&module=home&cmd=new">Try it</a>.
174
 !exit
168
  !goto end_html
175
!endif
169
!endif
176
 
170
 
177
!if bad_insnum iswordof $wims_user_error
171
!if bad_insnum iswordof $wims_user_error
178
 !if $cmd=getfile
172
 !if $cmd=getfile
179
  The file you asked for does not exist.
173
  The file you asked for does not exist.
180
 !else
174
 !else
181
  The file name for dynamic insertion is not valid.
175
  The file name for dynamic insertion is not valid.
182
 !endif
176
 !endif
183
 !goto end
177
 !goto end
184
!endif
178
!endif
185
 
179
 
186
!if cmd_output_too_long iswordof $wims_user_error
180
!if cmd_output_too_long iswordof $wims_user_error
187
  The intermediate result of the computation has exceeded the length limit.
181
  The intermediate result of the computation has exceeded the length limit.
188
  You have probably submitted a request which is unrealistically complicated.
182
  You have probably submitted a request which is unrealistically complicated.
189
  Simplify your request, please.
183
  Simplify your request, please.
190
  !goto end
184
  !goto end
191
!endif
185
!endif
192
 
186
 
193
!if double_click iswordof $wims_user_error
187
!if double_click iswordof $wims_user_error
194
 This request arrived while the process of another request from you is
188
  This request arrived while the process of another request from you is
195
 still under way.<p>
189
  still under way.<p>
196
 If you have been double clicking, now please wait
190
  If you have been double clicking, now please wait
197
 <span class="wims_warning">$wims_cpu_limit seconds</span>
191
  <span class="wims_warning">$wims_cpu_limit seconds</span>
198
 for the process of your old request to terminate, then
192
  for the process of your old request to terminate, then
199
 !href cmd=resume click here
193
  !href cmd=resume click here
200
 to get back to your work. (And please be more patient the next time
194
  to get back to your work. (And please be more patient the next time
201
 you ask wims to do lengthy computations.)
195
  you ask wims to do lengthy computations.)
202
 <p>
196
  <p>
203
 If you are using ``back'' button of your browser to get out of wims, you
197
  If you are using ``back'' button of your browser to get out of wims, you
204
 may ignore this message and go ahead.
198
  may ignore this message and go ahead.
205
 !exit
199
  !goto end_html
206
!endif
200
!endif
207
 
201
 
208
!if invalid_char_in_query_string iswordof $wims_user_error
202
!if invalid_char_in_query_string iswordof $wims_user_error
209
  The substitution ``$wims_error_data'' in the parameter string is illegal.
203
  The substitution ``$wims_error_data'' in the parameter string is illegal.
210
  !goto end
204
  !goto end
211
!endif
205
!endif
212
 
206
 
213
!if name_conflict iswordof $wims_user_error
207
!if name_conflict iswordof $wims_user_error
214
  ``$wims_error_data'' is a reserved name for wims.
208
  ``$wims_error_data'' is a reserved name for wims.
215
  !goto end
209
  !goto end
216
!endif
210
!endif
217
 
211
 
218
!if no_command iswordof $wims_user_error
212
!if no_command iswordof $wims_user_error
219
  There is no command.
213
  There is no command.
220
  !goto end
214
  !goto end
Line 229... Line 223...
229
 !goto end
223
 !goto end
230
!endif
224
!endif
231
 
225
 
232
!if no_module_name iswordof $wims_user_error
226
!if no_module_name iswordof $wims_user_error
233
  You have asked a new session without module name.
227
  You have asked a new session without module name.
234
  !goto end
228
  !goto end
235
!endif
229
!endif
236
 
230
 
237
!if no_session iswordof $wims_user_error
231
!if no_session iswordof $wims_user_error
238
  The session number is missing.
232
  The session number is missing.
239
  !goto end
233
  !goto end
240
!endif
234
!endif
Line 290... Line 284...
290
  <p class="wimscenter">
284
  <p class="wimscenter">
291
  !href cmd=resume Cancel the last request
285
  !href cmd=resume Cancel the last request
292
, or
286
, or
293
  !href $ wims home
287
  !href $ wims home
294
.</p>
288
.</p>
295
  !exit
289
  !goto end_html
296
!endif
290
!endif
297
 
291
 
298
!if wrong_module iswordof $wims_user_error
292
!if wrong_module iswordof $wims_user_error
299
  !set tmp=!translate "!/<>;': to $         $ in $module
293
  !set tmp=!translate "!/<>;': to $         $ in $module
300
  <p>The module <code>$tmp</code> which you asked for does not exist in this site.</p>
294
  <p>The module <code>$tmp</code> which you asked for does not exist in this site.</p>
Line 352... Line 346...
352
  !set pses=!translate _ to , in $wims_session
346
  !set pses=!translate _ to , in $wims_session
353
  !set pses=!item 1 of $pses
347
  !set pses=!item 1 of $pses
354
  !set pser=!randint 1,999
348
  !set pser=!randint 1,999
355
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
349
  !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student';
356
  <p class="wimscenter">
350
  <p class="wimscenter">
357
  <a href=# onclick="window.close();$wims_opener">Close this window</a>.
351
    <a href="#" onclick="window.close();$wims_opener">Close this window</a>.
358
  </p>
352
  </p>
359
  !exit
353
  !goto end_html
360
!endif
354
!endif
361
 
355
 
362
!if exam_closed iswordof $wims_user_error
356
!if exam_closed iswordof $wims_user_error
363
 This exam is not accessible for your connection at the time being. Please verify
357
  This exam is not accessible for your connection at the time being. Please verify
364
 with the supervisor of your class.
358
  with the supervisor of your class.
365
 !goto examend
359
  !goto examend
366
!endif
360
!endif
367
 
361
 
368
!if bad_ident iswordof $wims_user_error
362
!if bad_ident iswordof $wims_user_error
369
 Your request contains a user identification error. Are you trying to connect
363
  Your request contains a user identification error. Are you trying to connect
370
 to somebody else's session?
364
  to somebody else's session?
371
 <p>
365
  <p>
372
 Please
366
    Please
373
 <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>.
367
    <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">make a new connection</a>.
374
 </p></body></html>
368
  </p>
375
 !exit
369
  !goto end_html
376
!endif
370
!endif
377
 
371
 
378
!if no_access iswordof $wims_user_error
372
!if no_access iswordof $wims_user_error
379
  Your request is refused by the access policy of this site. Sorry.
373
  Your request is refused by the access policy of this site. Sorry.
380
  !goto end2
374
  !goto end2
381
!endif
375
!endif
Line 386... Line 380...
386
  Access to this virtual class is temporarily closed by its supervisor.
380
  Access to this virtual class is temporarily closed by its supervisor.
387
  Come back later!
381
  Come back later!
388
  <div class="wimscenter">
382
  <div class="wimscenter">
389
  !href cmd=close&module=home WIMS
383
  !href cmd=close&module=home WIMS
390
  </div>
384
  </div>
391
  </body></html>
385
  !goto end_html
392
  !exit
-
 
393
!endif
386
!endif
394
 
387
 
395
:end
388
:end
396
<p>If you see this message after following a link given by another page, it
389
<p>If you see this message after following a link given by another page, it
397
probably is because the link is not well-prepared. In this case, please
390
probably is because the link is not well-prepared. In this case, please
Line 401... Line 394...
401
site</a>, with as many details as possible about the circomstances
394
site</a>, with as many details as possible about the circomstances
402
under which the error has occurred.
395
under which the error has occurred.
403
 
396
 
404
:end2
397
:end2
405
<hr/><div class="wimscenter">
398
<hr/><div class="wimscenter">
-
 
399
  !set wims_ref_class=wims_button
406
!href module=home&cmd=new Home page
400
  !href module=home&cmd=new Home page
407
</div>
401
</div>
408
 
402
 
-
 
403
:end_html
409
</body></html>
404
</body></html>
410
 
-