VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]56789 ]
Subject: Yes. I often have problem opening even the homepage too.


Author:
Liberal
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 03:20:33 02/15/05 Tue
In reply to: Liberal 's message, "It works now." on 22:45:01 02/13/05 Sun

When I type www.christiantimes.org.hk, the following error page often shows up. Why?

<%@ include file="/Common/Reader/CheckUser.jin" %>
<%@ include file="/Common/Reader/GetEnv.jin" %>
<%
// Paper and Version
Paper paper = Pool.getPaper(Pid);
int Version = (request.getParameterValues("Version") != null) ? Integer.parseInt(request.getParameterValues("Version")[0]): 0;
if (paper.isGeneral()) Version = 0; // overwrite incorrect user input
else if (Version==0) Version = paper.getLastVersionId();
//
int Tid = (request.getParameterValues("Tid") != null) ? Integer.parseInt(request.getParameterValues("Tid")[0]): 0;
if (Tid==0) { // normal case
out.println(Pool.getVersion(Pid, Version).show(user, Charset, request));
return;
}
// preview case, using non-default Tid
out.println(Pool.getTemplate(Tid).showPaper(Pid, Version, user, Charset, request));
%>

===========================================================

Sometimes this appears:

500 Servlet Exception
/opt/wwwroot/autoweb2003/WEB-INF/classes/com/ccnet/lib/Parser.java:49:
reference to Formatter is ambiguous, both class com.ccnet.object.Formatter
in com.ccnet.object and class java.util.Formatter in java.util match
int tagNum = Formatter.getTagValue(tagStr);
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error


--------------------------------------------------------------------------------
Resin-3.0.8 (built Tue, 08 Jun 2004 02:25:40 PDT)

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Post a message:
This forum requires an account to post.
[ Create Account ]
[ Login ]
[ Contact Forum Admin ]


Forum timezone: GMT+8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.