File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes when i first install over i enter the forum show error! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "when i first install over i enter the forum show error!" Watch "when i first install over i enter the forum show error!" New topic
Author

when i first install over i enter the forum show error!

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i install the JForum when i installed there show :


Congratulations! You have successfully configured JForum. Now you can start using the message board, creating your own community.
For more information or help, please access http://www.jforum.net/help.htm

Click here to access the forum


i Click the "Click here to access the forum" botton enter the forum index then show error at ForumAction ->MostUsersEverOnline mostUsersEverOnline = ForumRepository.
getMostUsersEverOnline();

mostUsersEverOnline = null !,maybe mostUsersEverOnline is not initialization

thinks!




[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Which JForum version, Operational System and database are you using?

Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i use JForum version: 2.1.7 ,Operational System : windows XP , database : Oracle Enterprise:9.0.1.0.0

i get files from CVS today(2006-08-22 day)
but this bug is not repaired !

when i install the jforum ,but InstallServlet is not initialization
mostUsersEverOnline then

MostUsersEverOnline mostUsersEverOnline = ForumRepository.
getMostUsersEverOnline();

// here mostUsersEverOnline.getTotal() = null.getTotal() !!!

if (totalUsers > mostUsersEverOnline.getTotal()) {
...
}

i repaired InstallServlet ->
public void init(ServletConfig config) throws ServletException {
super.init(config);
}

to :

public void init(ServletConfig config) throws ServletException {
super.init(config);
// initialization mostUsersEverOnline !!!
ForumStartup.startForumRepository(); }

then this bug is all right!

thinks!!





I LOVE JFORUM!!!

[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i hope this bug will repair!! thinks!!!
[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
JForum version: 2.1.7 is not the official version (2.1.6) so if you get files from CVS nothing guarantee it's a functionnal version as lastest CVS version is not a repository but a dev container
[originally posted on jforum.net by redhand]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i use the Jforum version 2.1.6 install just now it no this problem!!
i hope this problem in Jforum version 2.1.7 will be repaired,because i like new Jforum ! thinks very much!!!
[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
up!
[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
jyhcyd wrote:i install the JForum when i installed there show :


Congratulations! You have successfully configured JForum. Now you can start using the message board, creating your own community.
For more information or help, please access http://www.jforum.net/help.htm

Click here to access the forum


i Click the "Click here to access the forum" botton enter the forum index then show error at ForumAction ->MostUsersEverOnline mostUsersEverOnline = ForumRepository.
getMostUsersEverOnline();

mostUsersEverOnline = null !,maybe mostUsersEverOnline is not initialization

thinks!






who can repair this problem!!!


[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
i use jforum 2.1.6 not this problem but jforum 2.1.7 have this problem

when i debug i find jforum 2.1.6 install finished i Click the "Click here to access the forum" button the jforum program enter JForum -> init() then mostUsersEverOnline is initialization !!!

but i debug jforum 2.1.7 install finished i Click the "Click here to access the forum" button the jforum program enter JForum -> service() so that the mostUsersEverOnline is not initialization ! but i do not know why jforum 2.1.7 can not enter JForum -> init() ??

thinks!!!
[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
it is not problem , i neglect !
jforum 2.1.6 : document.location = "install/install.page?module=install&action=welcome"; in index.htm
jforum 2.1.7 : index.htm document.location = "forums/list.page"; in index.htm

change index.htm in jforum 2.1.7
document.location = "install/install.pagemodule=install&action=welcome";

the problem has been solved !



[originally posted on jforum.net by jyhcyd]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
The develpment versio does not have all things properly set to run the installer - that's why index.htm points to forums/list.page ;)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when i first install over i enter the forum show error!