| Author |
apache commons file upload version
|
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
hi all,
i am trying to help on fixing the problems of the jforum in postgresql database. Here is the libraries that i have
1. apache commons file upload verion 1.0 commons-fileupload-1.0.jar
2. Jboss cache
3. htmlparser
4. jcaptcha-all-1.0-RC2.0.1.jar
However, when i try to compile the jforum from source, it prompts
package org.apache.commons.fileupload.disk does not exist
am i using the wrong version of the fileupload ?
Regards,
Sam Leong [originally posted on jforum.net by samleong]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Which problems with postgresql?
The right version of commons-upload to use is the one which comes with JForum.
Rafael [originally posted on jforum.net by Rafael Steil]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
yeah ths i have found that version and able to compile it already.
I have sort of fixed that problem. It is abt message approval problem. Seems in postgresSql it cannot show the pending messages. And i have made some changes to the
/postgresql/ModerationModel.java
I have changed the line from
return super.topicsByForum(forumId, count, start + count);
into
return super.topicsByForum(forumId, count, start);
as in postgresql, select * ... limit count , offset start + count will return null if the actual number of rows in the result space is less than the start + count.
/Regards,
Sam
[originally posted on jforum.net by samleong]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
JForum 2.1.4 has this bug fixed. If you are running 2.1.3 and would like to upgrade, download the patch: http://prdownloads.sourceforge.net/jforum/patch-2.1.3-to-2.1.4.zip?download
Rafael [originally posted on jforum.net by Rafael Steil]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
It is under WEB-INF/lib
Rafael [originally posted on jforum.net by Rafael Steil]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
Where can I find the file upload version that comes with JForum?
I need this because I make a web apps that loads files up but it gives problems when I uses this together with JForum.
Thanx,
Henk [originally posted on jforum.net by henkie]
|
 |
Migrated From Jforum.net
Ranch Hand
Joined: Apr 22, 2012
Posts: 17424
|
|
This is because jforum uses an experimental 1.1 version of fileupload which deprecates all the methods in the stable 1.0 version.
I don't know why rafael went out of his way to get the 1.1 version instead of the stable one. I think for the use he gives to it 1.0 would be enough (i havent studied the differences) [originally posted on jforum.net by Anonymous]
|
 |
 |
|
|
subject: apache commons file upload version
|
|
|