Page 5 of 5

Re: Java Upload doesnt work

Posted: 11 Apr 2011, 15:38
by smallfreak
I had just the same problem: Neither Flash nor JAVA Upload did work.

I found the problem was, that the session token was not transferred propeprly for the upload. This results in looking like an anonymous upload to the server which has to be blocked. Unfortunately this hits another bug which did not display a propper error message but rather this "missig "success" message, that does not really help diagnosing the problem.

I certainly would have to do a file difference analysis to say for sure, but I think it was all solved with changing

Code: Select all

JRequest::checkToken( 'request' ) or jexit( 'Invalid Token' );

against

Code: Select all

JRequest::checkToken( 'get' ) or jexit( 'Invalid Token' );


at several places in "category.php".

Re: Java Upload doesnt work

Posted: 17 Apr 2011, 13:15
by Jan
Hmm, this I don't understand, the token with request check for post token, if there is no post, it get the get token ??? :idea:

Yes, the "not success" is really not the best solution, but this is more the question on java upload applet developer :-(

Since version 3, there is plupload upload form, which should work OK (as there are several methods for upload - flash, html5, gears, etc. etc.)


Jan