Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Create Forum and Topic

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just install the JForum but I dont know how to create the Forum and Category. Now my Forum is empty without Forum title and category title. HOw to log in as admin. Mysql database is empty now. Please help.
[originally posted on jforum.net by robotdoggi]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
just follow the steps here :

https://coderanch.com/t/574339
[originally posted on jforum.net by marc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Damn, the 2.0 package is broken. This key is missing :evil:

I'll release a 2.0.1 to fix that ( yeah marc, current 2.0 should in fact be 2.0.1 hehe )..

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have already created some categories and then clicked Forums. I see Forums listing (empty) and "Insert new" & "Delete selected" buttons. I press "Insert new" and Forums listing simply disapperas together with buttons. Where am i wrong ?
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:I have already created some categories and then clicked Forums. I see Forums listing (empty) and "Insert new" & "Delete selected" buttons. I press "Insert new" and Forums listing simply disapperas together with buttons. Where am i wrong ?



hhmm.. the page gets blank only when you click "insert new"? the other links keep working? Which database are you using?

Also, I'm uploading a 2.0.1 version to sourceforge.net, which fixes a small bug related to Internacionalization.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could it be that you haven't defined a category before inserting the new forum ?

Edit :

I have just checked jira. This bug (or a similar one) seems to have been fixed recently :

http://www.jforum.net/jira/browse/JF-182
[originally posted on jforum.net by marc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i use mysql 4.0.9 gamma
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I added a new file release to https://sourceforge.net/project/showfiles.php?group_id=15940. Try with this 2.0.1, please.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anonymous wrote:yes, Rafael, i can create new forums now with 2.0.1 version ! Thank you !:!:



Good


:?: :?: :?: HOWEVER: after i've created new groups i want to create new users within these groups. If i switch to Users menu i see Admin and Anonimous users and i don't see command to create new users. As i understand - users are allowed to register themselves and Admin can work with existing users only and can't to create new ones. Am i right ? :?:



Yes, you're right. Currently it's not possible to create users in the administration panel. Is not hard to have this done, but I have a few other priorities in the momment. But JForum will have it for sure in some next release

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, Rafael, i can create new forums now with 2.0.1 version ! Thank you !:!:

:?: :?: :?: HOWEVER: after i've created new groups i want to create new users within these groups. If i switch to Users menu i see Admin and Anonimous users and i don't see command to create new users. As i understand - users are allowed to register themselves and Admin can work with existing users only and can't to create new ones. Am i right ? :?:
[originally posted on jforum.net by Anonymous]
reply
    Bookmark Topic Watch Topic
  • New Topic