Rev 11949 | Rev 15416 | 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=gb2312 |
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 | |||
13 | <!-- General theme style --> |
||
14 | <link rel="stylesheet" href="html/themes/$wims_theme/css.css" type="text/css"> |
||
15 | <style type="text/css"> |
||
16 | input[type="submit"],input[type="button"],.wims_button{ background-color:$wims_ref_button_bgcolor;color:$wims_ref_button_color;} |
||
17 | .wims_button_help{ background-color:$wims_ref_button_help_bgcolor;color:$wims_ref_button_help_color;} |
||
18 | </style> |
||
19 | |||
20 | !if exam_ isin $wims_user_error |
||
21 | <style type="text/css"><!-- |
||
22 | body {text-align: justify; |
||
23 | padding-left: 3%; padding-right: 3%;} |
||
24 | --></style> |
||
25 | </head> |
||
26 | <body onload="window.resizeTo(500,200);window.moveTo(250,300);"> |
||
27 | <h1 class="wims_center">错误</h1> |
||
28 | !goto examerr |
||
29 | !endif |
||
30 | |||
31 | </head><body class="user_error"> |
||
32 | |||
19 | reyssat | 33 | !if threshold iswordof $wims_user_error |
11949 | obado | 34 | <h1 class="wims_center">目前正忙</h1> |
35 | <hr style="width:50%"/><p> |
||
36 | 本 WIMS 服务器 <font color="blue">$httpd_HTTP_HOST</font> |
||
37 | 目前由于大量的请求而超载, |
||
38 | 不能再接受新的用户. 请稍后再来, |
||
39 | 或访问其他 WIMS 镜像站. |
||
40 | </p>我们对由此带来的不便表示歉意, |
||
41 | 希望很快就能继续为您服务. |
||
42 | !read mirror.phtml.cn |
||
43 | !goto end_html |
||
19 | reyssat | 44 | !endif |
45 | |||
46 | !if overload iswordof $wims_user_error |
||
11949 | obado | 47 | <hr width="1"/> |
48 | <h1 class="wims_center">抱歉</h1> |
||
49 | 你的请求因超过连接配额而被服务器阻止. |
||
50 | !goto end_html |
||
19 | reyssat | 51 | !endif |
52 | |||
53 | !if ++++missing_ isin ++++$wims_user_error |
||
11949 | obado | 54 | <h1 class="wims_center">抱歉</h1> |
55 | <hr style="width:50%"/> |
||
56 | <p> |
||
57 | WIMS 需要软件 |
||
58 | !set miss=!upper $missing_software |
||
59 | <span class="wims_warning">$miss</span> |
||
60 | 来处理你的请求, 可是在本服务器上此软件不可用 |
||
61 | (或 WIMS 看不到).</p> |
||
62 | <p> |
||
63 | 你可以发电邮 |
||
64 | <a href="mailto:$wims_site_manager?subject=$missing_software unavailable on WIMS">write |
||
65 | 给网站管理员</a>报告此问题, |
||
66 | 或另选一个镜像站</p> |
||
67 | <p><a href="wims.cgi">WIMS 主页</a></p> |
||
68 | !read mirror.phtml.cn |
||
69 | !goto end_html |
||
19 | reyssat | 70 | !endif |
71 | |||
72 | !if trapped iswordof $wims_user_error |
||
11949 | obado | 73 | <h1 align=center>停止!</h1><hr/> |
74 | <a HREF="http://$httpd_HTTP_HOST">$httpd_HTTP_HOST</a> |
||
75 | 的内容与自动页面收集程序及 |
||
76 | `web 加速器' 不相容. |
||
77 | <p> |
||
78 | 为利用本站的 WIMS 服务, |
||
79 | 请使用不安装加速程序的常规浏览器. |
||
80 | <p> |
||
81 | 请记住, WIMS 页面是动态生成的. |
||
82 | 不能离线使用. |
||
83 | !goto end_html |
||
19 | reyssat | 84 | !endif |
85 | |||
11943 | bpr | 86 | <h1 class="wims_center">WIMS 错误</h1><hr/> |
87 | !if no_access notwordof $wims_user_error |
||
88 | <p>你对本 WIMS 服务器发出的请求里有错.</p> |
||
89 | !endif |
||
19 | reyssat | 90 | !if module_change iswordof $wims_user_error |
91 | !if $wims_human_access=yes |
||
4756 | zjchen | 92 | 请避免使用浏览器的 `返回' 键, |
93 | 因为你面对的是互动的服务器. |
||
5900 | bpr | 94 | <p class="wimscenter"> |
19 | reyssat | 95 | !set tit=!module title $module |
96 | !default tit=$module |
||
97 | !href module=$module $tit |
||
98 | |
||
99 | !href $ WIMS home |
||
100 | !if $httpd_HTTP_REFERER!=$empty |
||
4756 | zjchen | 101 | <a href="$httpd_HTTP_REFERER">退出 WIMS</a> |
19 | reyssat | 102 | !else |
5900 | bpr | 103 | </p> |
4756 | zjchen | 104 | <small>如果你想退出本站, |
105 | 请忽略此信息并继续按 `返回'.</small> |
||
19 | reyssat | 106 | !endif |
11949 | obado | 107 | !goto end_html |
19 | reyssat | 108 | !endif |
4756 | zjchen | 109 | 你请求的是非法的模块改变. |
110 | 你是否在使用自动程序进入本站? |
||
19 | reyssat | 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]"/> |
||
4756 | zjchen | 115 | 如果你只是点击了浏览器的 `返回' 键, |
116 | 请在这里输入 `wims': |
||
5755 | bpr | 117 | <input size="8" name="special_parm"/> 然后 |
118 | <input type="submit" value="发送到服务器"/>.</form> |
||
19 | reyssat | 119 | <p> |
4756 | zjchen | 120 | 请记住, 本站的页面都是动态生成的. |
11943 | bpr | 121 | 因此只能通过常规浏览器在线使用. |
4756 | zjchen | 122 | 想利用自动化程序来收集网页是没有意义的. |
19 | reyssat | 123 | !if robot_doubt iswordof $wims_user_error |
4756 | zjchen | 124 | <small>如果黑客想闯入此网站, |
125 | 将会被拒绝.</small> |
||
19 | reyssat | 126 | !endif |
11949 | obado | 127 | !goto end_html |
19 | reyssat | 128 | !endif |
129 | |||
130 | !if robot_doubt iswordof $wims_user_error |
||
4756 | zjchen | 131 | 我们将不让你继续进入此网站, |
132 | 因为怀疑你使用了自动收集网页的程序. |
||
19 | reyssat | 133 | !goto unblock |
134 | !endif |
||
135 | |||
136 | !if allow_violation iswordof $wims_user_error |
||
4756 | zjchen | 137 | 你没有权利用命令 ``$cmd'' 来定义变量 |
138 | ``$wims_error_data''. |
||
19 | reyssat | 139 | !goto end |
140 | !endif |
||
141 | |||
142 | !if bad_command iswordof $wims_user_error |
||
4756 | zjchen | 143 | 命令 ``$cmd'' 无效. |
5900 | bpr | 144 | <p> 有效的命令是: </p><pre> |
19 | reyssat | 145 | new, renew, reply, hint, config </pre> |
146 | !endif |
||
147 | |||
148 | !if bad_host iswordof $wims_user_error |
||
4756 | zjchen | 149 | 你想从其它站点建立会话. |
150 | 这在你的虚拟班是禁止的. |
||
19 | reyssat | 151 | <p> |
4756 | zjchen | 152 | 可能某些因特网接入的提供者给你的是动态地址, |
153 | 即使在同一个连接中也会变化. 如果遇到这种情形, |
||
11943 | bpr | 154 | 请与班级的指导教师联系, |
4756 | zjchen | 155 | 请他改变接入的锁定策略. |
5900 | bpr | 156 | </p> |
19 | reyssat | 157 | !endif |
158 | |||
159 | !if need_https iswordof $wims_user_error |
||
4756 | zjchen | 160 | 你应该通过 https 请求连接到你的班级. |
19 | reyssat | 161 | !set refname=!replace http:// by https:// in $wims_ref_name |
4756 | zjchen | 162 | <a href="$refname?session=$wims_session&module=home&cmd=new">试试看</a>. |
11949 | obado | 163 | !goto end_html |
19 | reyssat | 164 | !endif |
165 | |||
166 | !if bad_insnum iswordof $wims_user_error |
||
167 | !if $cmd=getfile |
||
4756 | zjchen | 168 | 你请求的文件不存在. |
19 | reyssat | 169 | !else |
4756 | zjchen | 170 | 动态插入的文件名无效. |
19 | reyssat | 171 | !endif |
172 | !endif |
||
173 | |||
174 | !if cmd_output_too_long iswordof $wims_user_error |
||
4756 | zjchen | 175 | 计算的中间结果超出了长度限制. |
176 | 你的请求大概过分复杂了. |
||
177 | 请加以简化. |
||
19 | reyssat | 178 | !endif |
179 | |||
180 | !if double_click iswordof $wims_user_error |
||
4756 | zjchen | 181 | 此请求来到时你的另一个请求正在处理中.<p> |
11943 | bpr | 182 | 如果你点击了两次, 请等待 |
4756 | zjchen | 183 | <span class="wims_warning">$wims_cpu_limit 秒</span> |
184 | 使得你原来的请求被处理完, 然后 |
||
185 | !href cmd=resume 点击这里 |
||
11943 | bpr | 186 | 以回到你的工作. |
4756 | zjchen | 187 | (以后当你要求 WIMS 做冗长的计算时, 请更多一点耐心.) |
19 | reyssat | 188 | <p> |
4756 | zjchen | 189 | 如果你按了浏览器的 ``返回'' 按钮以退出 wims, |
190 | 那么可以忽略这个信息. |
||
11949 | obado | 191 | !goto end_html |
19 | reyssat | 192 | !endif |
193 | |||
194 | !if invalid_char_in_query_string iswordof $wims_user_error |
||
4756 | zjchen | 195 | 在参数序列里替换 ``$wims_error_data'' 是非法的. |
19 | reyssat | 196 | !endif |
197 | |||
198 | !if name_conflict iswordof $wims_user_error |
||
4756 | zjchen | 199 | ``$wims_error_data'' 是被 wims 保留的名称. |
19 | reyssat | 200 | !endif |
201 | |||
202 | !if no_command iswordof $wims_user_error |
||
4756 | zjchen | 203 | 没有命令. |
19 | reyssat | 204 | !endif |
205 | |||
206 | !if no_insnum iswordof $wims_user_error |
||
207 | !if $cmd=getfile |
||
4756 | zjchen | 208 | 你没有给出请求的文件名. |
19 | reyssat | 209 | !else |
4756 | zjchen | 210 | 你请求的动态插入没有给出号码. |
19 | reyssat | 211 | !endif |
212 | !endif |
||
213 | |||
214 | !if no_module_name iswordof $wims_user_error |
||
4756 | zjchen | 215 | 你请求的会话没有给出模块名. |
19 | reyssat | 216 | !endif |
217 | |||
218 | !if no_session iswordof $wims_user_error |
||
4756 | zjchen | 219 | 缺少会话编号. |
19 | reyssat | 220 | !endif |
221 | |||
222 | !if parm_too_long iswordof $wims_user_error |
||
4756 | zjchen | 223 | 你的参数串超过长度极限. |
224 | 出于安全的原因被拒绝. |
||
19 | reyssat | 225 | !endif |
226 | |||
227 | !if string_too_long iswordof $wims_user_error |
||
4756 | zjchen | 228 | 变量定义的长度超出极限. |
19 | reyssat | 229 | !endif |
230 | |||
231 | !if too_many_variables iswordof $wims_user_error |
||
4756 | zjchen | 232 | 你传送的参数个数超限. |
19 | reyssat | 233 | !endif |
234 | |||
235 | !if unmatched_parentheses iswordof $wims_user_error |
||
4756 | zjchen | 236 | 你的请求里有不匹配的括号. |
237 | 你可以在这里改正: |
||
19 | reyssat | 238 | !form $cmd |
11990 | obado | 239 | !for i in module,special_parm,worksheet |
240 | !if $($i)!=$empty |
||
241 | !set value=!translate " to $ $ in $($i) |
||
242 | <input type=hidden name=$i value="$value"/> |
||
243 | !endif |
||
244 | !next i |
||
245 | !for i=0 to $user_var_no-1 |
||
246 | !if $i!=$bad_parentheses |
||
247 | !set value=!translate " to $ $ in $(value$i) |
||
248 | <input type="hidden" name="$(name$i)" value="$value"/> |
||
249 | !endif |
||
250 | !next i |
||
251 | !set value=!translate " to $ $ in $(value$bad_parentheses) |
||
252 | !set len=!charcnt $value |
||
253 | |||
254 | <div class="field box"> |
||
255 | !set input_id=$(name$bad_parentheses) |
||
256 | <label for="$input_id">$input_id =</label> |
||
257 | !set n=!linecnt $value |
||
258 | !if $n<=1 |
||
259 | !if $len<55 |
||
260 | !set len=$[$len+3] |
||
261 | !else |
||
262 | !set len=59 |
||
263 | !endif |
||
264 | <input size="$len" name="$input_id" id="$input_id" value="$value" /> |
||
265 | !else |
||
266 | !if $n>10 |
||
267 | !set n=10 |
||
268 | !endif |
||
269 | <textarea rows="$n" name="$input_id" id="$input_id">$(value$bad_parentheses)</textarea> |
||
270 | !endif |
||
271 | </div> |
||
272 | <p class="actions"> |
||
273 | 然后 |
||
274 | <input type="submit" value="发送改正后的请求."/> |
||
275 | </p> |
||
276 | </form> |
||
277 | <hr/> |
||
278 | <div class="wimscenter"> |
||
279 | !href cmd=resume 取消上一个请求 |
||
4756 | zjchen | 280 | , 或 |
11990 | obado | 281 | !href $ wims home |
282 | </div> |
||
11949 | obado | 283 | !goto end_html |
19 | reyssat | 284 | !endif |
11943 | bpr | 285 | |
19 | reyssat | 286 | !if wrong_module iswordof $wims_user_error |
7428 | obado | 287 | !set tmp=!translate "!/<>;': to $ $ in $module |
288 | 本站不存在你请求的模块 <code>$tmp</code>. |
||
19 | reyssat | 289 | !endif |
290 | |||
291 | !if wrong_session iswordof $wims_user_error |
||
4756 | zjchen | 292 | 会话号 ``$session'' 无效 (或已失效). |
293 | <a href="wims.cgi">创建新会话</a>. |
||
11943 | bpr | 294 | !endif |
19 | reyssat | 295 | |
296 | !if rafale iswordof $wims_user_error |
||
4756 | zjchen | 297 | 请不要与练习开玩笑! |
19 | reyssat | 298 | <p> |
4756 | zjchen | 299 | 你应该花时间仔细思考并尝试正确解答练习, |
300 | 而不是不断的要求新的练习. |
||
301 | !href cmd=resume 取消上一次请求 |
||
19 | reyssat | 302 | . |
3570 | bpr | 303 | !if $wims_user!=$empty and $wims_user!=supervisor |
4756 | zjchen | 304 | <p><span class="wims_warning">注意</span>! 不要重复这个错误! |
305 | 即使记分器关闭时, |
||
306 | 不合规则的活动也会造成失分. |
||
3570 | bpr | 307 | !endif |
19 | reyssat | 308 | !goto end2 |
309 | !endif |
||
310 | |||
311 | :examerr |
||
312 | |||
313 | !if exam_dep iswordof $wims_user_error |
||
4756 | zjchen | 314 | 本练习必须在你成功完成了 |
19 | reyssat | 315 | !if , isin $dep_list |
4756 | zjchen | 316 | 练习 $dep_list 后才能做. |
19 | reyssat | 317 | !else |
4756 | zjchen | 318 | 练习 $dep_list 后才能做. |
19 | reyssat | 319 | !endif |
4756 | zjchen | 320 | 请先把它们做好. |
19 | reyssat | 321 | !goto examend |
322 | !endif |
||
323 | |||
324 | !if bad_exam iswordof $wims_user_error |
||
4756 | zjchen | 325 | 你在考试时发出了非法的请求. |
19 | reyssat | 326 | !goto examend |
327 | !endif |
||
328 | |||
329 | !if exam_exo_finished iswordof $wims_user_error |
||
4756 | zjchen | 330 | 你已经做了此练习, 得分是 $wims_exo_lastscore. |
331 | 作为考试, 你不能重做了. |
||
19 | reyssat | 332 | !goto examend |
333 | !endif |
||
334 | |||
335 | !if expired_exam iswordof $wims_user_error |
||
4756 | zjchen | 336 | 这次考试的时间已用完. |
19 | reyssat | 337 | :examend |
338 | !set pses=!translate _ to , in $wims_session |
||
339 | !set pses=!item 1 of $pses |
||
340 | !set pser=!randint 1,999 |
||
341 | !set wims_opener=window.opener.location='$wims_ref_name?session=$pses.$pser&cmd=reply&job=student'; |
||
5900 | bpr | 342 | <p class="wimscenter"> |
4756 | zjchen | 343 | <a href=# onclick="window.close();$wims_opener">请关闭此窗口</a>. |
5900 | bpr | 344 | </p> |
11949 | obado | 345 | !goto end_html |
19 | reyssat | 346 | !endif |
347 | |||
348 | !if exam_closed iswordof $wims_user_error |
||
4756 | zjchen | 349 | 从你的连接目前不能进入考试. |
350 | 请与班级的指导老师联系. |
||
19 | reyssat | 351 | !goto examend |
352 | !endif |
||
353 | |||
354 | !if bad_ident iswordof $wims_user_error |
||
11949 | obado | 355 | 你的请求的用户认证有错. |
356 | 你是不是想进入他人的会话? |
||
357 | <p> |
||
358 | 请 |
||
359 | <a href="wims.cgi?special_parm=ignorecookie&special_parm2=$[randint(10^8)]">建立新会话</a>. |
||
360 | </p></body></html> |
||
361 | !goto end_html |
||
19 | reyssat | 362 | !endif |
363 | |||
364 | !if no_access iswordof $wims_user_error |
||
4756 | zjchen | 365 | 根据本站的接入策略, 你的请求被拒绝. 抱歉. |
11943 | bpr | 366 | !goto end2 |
367 | !endif |
||
19 | reyssat | 368 | |
369 | !if class_closed iswordof $wims_user_error |
||
370 | Sorry. |
||
371 | <p> |
||
4756 | zjchen | 372 | 指导教师暂时关闭了这个虚拟班. |
373 | 请以后再来! |
||
5755 | bpr | 374 | <div class="wimscenter"> |
19 | reyssat | 375 | !href cmd=close&module=home WIMS |
5755 | bpr | 376 | </div> |
11949 | obado | 377 | !goto end_html |
11943 | bpr | 378 | !endif |
19 | reyssat | 379 | |
380 | :end |
||
4756 | zjchen | 381 | <p>如果你点击了某页面的链接而出现了目前的信息, |
382 | 那么很可能是因为此链接没有准备好. |
||
383 | 请你联系那个页面的作者告诉他这个错误. |
||
384 | 也可以发电邮给 |
||
385 | <a href="mailto:$wims_site_manager?subject=wims.cgi">网站管理员</a>, |
||
386 | 告诉他错误发生的细节. |
||
19 | reyssat | 387 | |
388 | :end2 |
||
11949 | obado | 389 | <div class="wimscenter"> |
390 | !set wims_ref_class=wims_button home |
||
391 | !href module=home&cmd=new 主页 |
||
5755 | bpr | 392 | </div> |
19 | reyssat | 393 | |
11949 | obado | 394 | :end_html |
19 | reyssat | 395 | </body></html> |
396 |
and