I use
Tomcat 5.0.25 on WinXP. I set up forum recently and can't understand one thing.
When i am trying to create new forum - I click Forums->Forums listing->Insert new. As a result I see blank screen (with Administration menu only).
What should I do ?
If Right click->View HTML code, I see:
<STYLE type=text/css>@import url( /jforum/templates/default/admin/style.css );</STYLE>
<form action="/jforum/jforum.page" method="post" name="form" id="form" accept-charset="UTF-8" onSubmit="return checkInput()">
<input type="hidden" name="action" value="insertSave" />
<input type="hidden" name="module" value="adminForums" />
<input type="hidden" name="securityHash" value="380b86a468f6e0fedf3d152eb3c249f0" />
<script language="javascript">
function checkGroups()
{
if (document.form.groups.selectedIndex == -1) {
alert("Please choose at least one Group");
return false;
}
return true;
}
function checkCategory()
{
if (document.form.categories_id.selectedIndex < 0) {
<br /> alert("
<br /> Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.
<br /> The problematic instruction:
<br /> ----------
<br /> ==> ${I18n.getMessage("Forums.Form.ChooseCategory")} [on line 24, column 24 in default/admin/forum_form.htm]
in include moduleAction [on line 1, column 1 in default/admin/empty.htm]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Environment.include(Environment.java:1256)
at freemarker.core.Include.accept(Include.java:156)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Environment.process(Environment.java:156)
at freemarker.template.Template.process(Template.java:219)
at net.jforum.JForum.service(JForum.java:273)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
<div id="exception"></div>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Java forum system / java discussion board" />
<meta name="keywords" content="java discussion forum, discussion forum, jforum, jforum java, jforum forum, forum java, java jforum, java forum, forum, rafael steil, bulletin board, java bb, javabb" />
<meta http-equiv="expires" content="0"/>
<meta name="resource-type" content="document"/>
<meta name="distribution" content="global"/>
<meta name="author" content="www.jforum.net"/>
<meta name="copyright" content="Copyright (c) 2003,2004 by www.jforum.net"/>
<meta name="robots" content="index, follow/">
<meta name="revisit-after" content="1 days"/>
<meta name="rating" content="general"/>
<style type="text/css">@import url( /jforum/templates/default/style.css );</style>
<title>JForum - Java Forum Software</title>
</head>
<body>
<table border="0">
<tr>
<td>
<table border="0">
<tr>
<td>
</td>
<td >
<span class="maintitle">JForum - Java Forum Software</span>
<table border="0">
<tr>
<td >
<span class="mainmenu">
Search
Recent Topics
<span class="mainmenu">
Back to home page
My Profile
Private Messages
</span>
Logout [admin] </span>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" >
<tr>
<td class="bodyline">
<table border="0" >
<tr>
<td class="nav">
Forum Index</td>
</tr>
</table>
<table class="forumline" border="0">
<tr>
<th class="thHead" >
Information</th>
</tr>
<tr>
<td class="row1">
<table border="0">
<tr>
<td> </td>
</tr>
<tr>
<td ><span class="gen"><pre>freemarker.core.InvalidReferenceException: Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.</pre></span></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td >
Forum Index </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td >
<span class="gen">
Admin Control Panel</span>
</td>
</tr>
<tr>
<td >
<span class="copyright">Powered by
JForum 2.0 © 2004 - Rafael Steil</span>
</td>
</tr>
</table>
</body>
</html>
<!--
<br />
<br /> Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.
<br /> The problematic instruction:
<br /> ----------
<br /> ==> ${I18n.getMessage("Forums.Form.ChooseCategory")} [on line 24, column 24 in default/admin/forum_form.htm]
in include moduleAction [on line 1, column 1 in default/admin/empty.htm]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression I18n.getMessage("Forums.Form.ChooseCategory") is undefined on line 24, column 26 in default/admin/forum_form.htm.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.Expression.getStringValue(Expression.java:118)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Environment.include(Environment.java:1256)
at freemarker.core.Include.accept(Include.java:156)
at freemarker.core.Environment.visit(Environment.java:171)
at freemarker.core.Environment.process(Environment.java:156)
at freemarker.template.Template.process(Template.java:219)
at net.jforum.JForum.service(JForum.java:273)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:595)
-->
[originally posted on jforum.net by Anonymous]