[Solved] Error log and possible java display issue [Solved] Error log and possible java display issue
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved] Error log and possible java display issue

Started by treehstn, August 01, 2008, 02:58:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

treehstn

Hi..

I'm very excited about using your plugin!  I just installed it and tried to use it for the first time.  The first thing I noticed was that the display for the box that gives me the Browse button to select the files to upload is really messed up.  There is a note in the instructions to download the Java Runtime Plugin.  I went to the Java home page and downloaded Java and installed it.  It did give me a notice during the download that I did not have it currently installed.  I closed all my browser windows before installing.  When I opened a new window I still had the same display issue.  I check it in both Firefox and IE and it is the same in both.  I noticed that if I swipe a different program's window over the jupload window it will refresh the screen and it appears the way it should.  I'm attaching an image that is 2 screen shots of what the windows look like.

The other problem is that I struggled through the display issue and was able to try to upload a group of files.  It didn't work.  I'm including the debug log.  Thanks for all your work!  Any help on these two issues would be awesome!

17:47:31.029 [INFO] Debug level set to 0
17:47:31.029 [INFO] Current debug output file: C:\DOCUME~1\cheryl\LOCALS~1\Temp\jupload_8091_log.txt
17:47:31.029 [WARN] Invalid int value: true, using default value: 0
17:47:31.201 [INFO] JUpload applet, version 3.4.2rc4 [SVN-Rev: 489] (compiled: 07/08/2008 10:56 PM), available at http://jupload.sourceforge.net/
17:47:31.201 [INFO] maxFileSize: 4000000
17:47:31.467 [WARN] Invalid int value: , using default value: 0
17:47:31.482 [INFO] JUpload plugin for coppermine version 3.2.2
17:51:16.107 [WARN] Invalid int value: , using default value: 0
17:51:29.810 [INFO] Debug level set to 1
17:51:29.810 [INFO] Current debug output file: C:\DOCUME~1\cheryl\LOCALS~1\Temp\jupload_8091_log.txt
17:51:29.826 [INFO] JUpload applet, version 3.4.2rc4 [SVN-Rev: 489] (compiled: 07/08/2008 10:56 PM), available at http://jupload.sourceforge.net/
17:51:29.842 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\cheryl\LOCALS~1\Temp\jupload_8091_log.txt)
17:51:29.842 [INFO] maxFileSize: 4000000
17:51:32.904 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] An unknown error occurs during upload. (An unknown error occurs during upload.)
17:51:32.904 wjhk.jupload2.exception.JUploadExceptionUploadFailed: An unknown error occurs during upload.
17:51:32.904    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:625)
17:51:32.904    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:761)
17:51:32.904    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:517)
17:51:37.529 [ERROR] [java.net.SocketException] Software caused connection abort: socket write error (An error occured during log management (send bytes (1)))
17:51:37.545 java.net.SocketException: Software caused connection abort: socket write error
17:51:37.545    at java.net.SocketOutputStream.socketWrite0(Native Method)
17:51:37.545    at java.net.SocketOutputStream.socketWrite(Unknown Source)
17:51:37.545    at java.net.SocketOutputStream.write(Unknown Source)
17:51:37.545    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
17:51:37.545    at java.io.BufferedOutputStream.write(Unknown Source)
17:51:37.545    at java.io.DataOutputStream.writeBytes(Unknown Source)
17:51:37.545    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1115)
17:51:37.545    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:573)
17:51:38.529 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
17:51:38.529 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
17:51:38.529    at wjhk.jupload2.upload.helper.ByteArrayEncoderHTTP.getString(ByteArrayEncoderHTTP.java:305)
17:51:38.529    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1185)
17:51:38.529    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:573)
17:51:38.560 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

etienne_sf

Hi,

  Your screenshot is really strange: I never saw anything like that.

What Java, OS and navigator do you use ?

Etienne

treehstn

I was now able to view the forms correctly using IE7.0 and Firefox on two different computers.  The problem was that during the Java upgrade it says to close and then reopen the browser for the changes to take effect.  After I rebooted both computers it worked fine. 

The error messages I'm getting on both computers when trying to upload.  Any ideas on that issue?

Thanks!!

etienne_sf

No idea: I need the full debug output to help you...  Check the doc to find how to do it...

Etienne

treehstn

Sorry... I've attached the file.

etienne_sf

Hum,

  The isssue is on server side. I'll have to analyze the code, there.

Two questions, to begin with:
1) Do standard upload work ?
2) Can you check that the albums subdirectory, and all subdirectories can be written (777 right for instance) ?

Etienne

treehstn

The standard upload works.  I checked the folder permissions and one folder, /albums/edit was set at 755 while the others were at 777.  I changed the edit folder to 777 and it appears to be working!

Thanks!