Upload applet (JUpload) : the easiest upload ! - Page 10 Upload applet (JUpload) : the easiest upload ! - Page 10
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upload applet (JUpload) : the easiest upload !

Started by etienne_sf, April 28, 2007, 10:41:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

choupette549

Hi Etienne,

I need your help, once again because I have some trouble
with the IPTC data in the jpg files and the jupload plugin.

When this function, read IPTC data, is set to on in coppermine
it works only when the jupload applet didn't work on the pictures
to send to the server.

But when it resize the pictures before sending it (and maybe when
it chunks the file?), it fails.

You will say me, let your server resizing the images but when
the applet does it, the upload is much quicker and the server
has less work. And this is what I find great with this plugin.

So, is it possible, within the applet, to keep the IPTC informations
when the pictures are resized ?


Thanks a lot for your help.


Quentin

etienne_sf

Quote from: choupette549 on September 08, 2007, 04:59:05 PM
So, is it possible, within the applet, to keep the IPTC informations
when the pictures are resized ?

Of course it's possible !

  Just a matter of work     ;)

It's on my TODO list. As I'm still loosing my time in the train every day, I'll use my time on this one. Check new JUpload releases.


Etienne

choupette549

Hi Etienne,

Thanks for adding this to your to do list.

I will also mention you that on a post (9 june) I mentionned you
that I had problems with displaying accent on the upload page.

Well, this problem comes from modifications that I did on this page
and not from your great plugin.

Have a nice week


Quentin

etienne_sf


Hi,

  I just released the version 2.6.1 of the JUpload plugin for Coppermine.

It's availble with this link:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=8447

and on this page:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Changes:
  * The applet now transmits metadata (IPTC and EXIF).

Bug fixed:
  * The applet now manages correctly files that can't be read (no read access on the file system).

youth4j

Every time my users try to upload using the JUpload it doesn't work. It gives them this error " (2)Selected album does not exist or you don't have permission to upload in this album "  But the users are able to upload using the old upload method.

What could the problem be, and how can it be fix it ASAP. Thanks

etienne_sf

Quote from: youth4j on September 21, 2007, 07:24:57 AM
Every time my users try to upload using the JUpload it doesn't work. It gives them this error " (2)Selected album does not exist or you don't have permission to upload in this album "  But the users are able to upload using the old upload method.

What could the problem be, and how can it be fix it ASAP. Thanks

Hi,

  Can you give me the URL and a test account ?

Etienne

vastre

Hi,
I am using 2.6.1 and having trouble uploading files over a network.
I have a server machine running XP with apache & PHP etc. if i use 2.6.1 to bulk upload on this machine it works fine but if I try from other PCs on the network then I get the following errors:

17:53:19.890 [INFO] Debug level set to 0
17:53:19.906 [INFO] Current debug output file: C:\Temp\jupload_50965_log.txt
17:53:19.906 [WARN] Invalid int value: true, using default value: 0
17:53:20.296 [WARN] Invalid int value: , using default value: 0
17:53:20.296 [INFO] JUpload plugin for coppermine version 2.6.1
17:53:25.281 [WARN] Invalid int value: , using default value: 0
17:54:23.718 [INFO] Start of metadata managing, for 09-09-07_1353.jpg
17:54:24.953 [INFO] Debug level set to 1
17:54:24.953 [INFO] Current debug output file: C:\Temp\jupload_50965_log.txt
17:54:24.953 [ERROR] Upload stopped with errors
17:54:24.953 [ERROR] wjhk.jupload2.exception.JUploadException: java.net.ConnectException: Connection refused: connect
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.startRequest(FileUploadThreadHTTP.java:586)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:678)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
17:54:24.953 [ERROR] Caused by: java.net.ConnectException: Connection refused: connect
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.socketConnect(Native Method)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.doConnect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.SocksSocketImpl.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.<init>(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.<init>(Unknown Source)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.HttpConnect.Connect(HttpConnect.java:189)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.startRequest(FileUploadThreadHTTP.java:576)
17:54:24.953 [ERROR]    ... 2 more
17:54:24.953 [ERROR] wjhk.jupload2.exception.JUploadException: java.net.ConnectException: Connection refused: connect
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.startRequest(FileUploadThreadHTTP.java:586)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:678)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
17:54:24.953 [ERROR] Caused by: java.net.ConnectException: Connection refused: connect
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.socketConnect(Native Method)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.doConnect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
17:54:24.953 [ERROR]    at java.net.PlainSocketImpl.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.SocksSocketImpl.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.connect(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.<init>(Unknown Source)
17:54:24.953 [ERROR]    at java.net.Socket.<init>(Unknown Source)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.HttpConnect.Connect(HttpConnect.java:189)
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.startRequest(FileUploadThreadHTTP.java:576)
17:54:24.953 [ERROR]    ... 2 more
17:54:33.046 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


The PCs are connected via a router.

It looks like the access to the host PC is denied somehow, I have apache listening on port 80. Does this applet use a specific port when sending the file data?

Any help would be greatly appreciated.

etienne_sf

Quote from: vastre on September 23, 2007, 07:07:15 PM
Hi,
I am using 2.6.1 and having trouble uploading files over a network.
I have a server machine running XP with apache & PHP etc. if i use 2.6.1 to bulk upload on this machine it works fine but if I try from other PCs on the network then I get the following errors:

[Cut]

[Cut]

17:54:24.953 [ERROR] wjhk.jupload2.exception.JUploadException: java.net.ConnectException: Connection refused: connect
17:54:24.953 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.startRequest(FileUploadThreadHTTP.java:586)

[Cut]

The PCs are connected via a router.

It looks like the access to the host PC is denied somehow, I have apache listening on port 80. Does this applet use a specific port when sending the file data?

Any help would be greatly appreciated.

Hum, hum,

  There is nothing special once on the network: the applet call is the same as the standard upload one, done by the navigator. I think that network routers or switch can't gues that the call is done by the applet and not by the navigator.
  I think the problem is local to your computers.

Do you have any personal firewall on this computers, that could prevent java.exe to access to your host ?

Etienne

vastre

Quote from: etienne_sf on September 23, 2007, 07:58:26 PM


Do you have any personal firewall on this computers, that could prevent java.exe to access to your host ?

Etienne

Hi Etienne,

Thanks for the quick rerply.
I did have software firewalls on all computers but I set them to open all ports in and out but that didnt work (still got the same error)
I then uninstalled all the software firewalls but it doesnt make any difference, still get the same error when trying to send the image files.

If I uninstall the jupload plugin the standard file uploader works fine from al PCs....

etienne_sf

Quote from: vastre on September 23, 2007, 08:19:44 PM
Hi Etienne,

Thanks for the quick rerply.
I did have software firewalls on all computers but I set them to open all ports in and out but that didnt work (still got the same error)
I then uninstalled all the software firewalls but it doesnt make any difference, still get the same error when trying to send the image files.

If I uninstall the jupload plugin the standard file uploader works fine from al PCs....

Hum, hum: really strange.

- Do you use any special URL (https with client authentication or ftps, for instance) ?
- Can you give me a test account ?

Etienne

skidpics

Quote from: etienne_sf on September 19, 2007, 07:21:38 PM
Hi,

  I just released the version 2.6.1 of the JUpload plugin for Coppermine.

It's availble with this link:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=8447

and on this page:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Changes:
  * The applet now transmits metadata (IPTC and EXIF).

Bug fixed:
  * The applet now manages correctly files that can't be read (no read access on the file system).


Do I reinstall it, or just copy the files over?

skidpics

Just upgrade to the new version.

Problem I had with registered users uploading to personal album is that even though album was already there, I had to click on 'update' in order to get it to select the album.  Without that, it tells me to select an album.

QuoteSecond, I am getting this debug code, so pics are not uploading.

13:09:37.562 [INFO] Debug level set to 0
13:09:37.562 [INFO] Current debug output file: C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\jupload_48750_log.txt
13:09:37.562 [WARN] Invalid int value: true, using default value: 0
13:09:38.000 [INFO] JUpload plugin for coppermine version 2.6.1
13:10:39.125 [INFO] Debug level set to 1
13:10:39.125 [INFO] Current debug output file: C:\DOCUME~1\COMPAQ~1\LOCALS~1\Temp\jupload_48750_log.txt
13:10:39.125 [ERROR] Upload stopped with errors
13:10:39.125 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 500 Internal Server Error
13:10:39.125 [ERROR]    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:550)
13:10:39.125 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
13:10:39.125 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
13:10:39.125 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 500 Internal Server Error
13:10:39.125 [ERROR]    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:550)
13:10:39.125 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
13:10:39.125 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
13:10:43.140 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

user account is
login: test
password: test


skidpics

Well, disregard that.My images were roughtly 900k each, and I had 103 of them, but with the 1st upload, it would just throw an error.  I just resized them, and they upload fine.  Guess I need to learn to tweak my max image size default. 

etienne_sf

Quote from: skidpics on September 29, 2007, 06:30:21 AM
Well, disregard that.My images were roughtly 900k each, and I had 103 of them, but with the 1st upload, it would just throw an error.  I just resized them, and they upload fine.  Guess I need to learn to tweak my max image size default. 


Hum, hum,

  Is everything Ok now ?

You should be able to send 103 pictures without any problem. I'll check that pictures are sent one by one, and not 103 pictures all in the same time, which should not work properly. I don't think that the problem is relative to the max picture size: if it works for one, it must work for 100.

Etienne

skidpics

Quote from: etienne_sf on September 29, 2007, 10:54:30 AM

Hum, hum,

  Is everything Ok now ?

You should be able to send 103 pictures without any problem. I'll check that pictures are sent one by one, and not 103 pictures all in the same time, which should not work properly. I don't think that the problem is relative to the max picture size: if it works for one, it must work for 100.

Etienne

I agree - I resized them down a bit and it all works fine, for all the images.  I tried it after refreshing my cache and rebooting before the resize and it did the same thing..  Will try again when I have some time, if the problem persists with that particular file size...

eka

Hi,

The Upload applet is simply great - saves a lot of time to upload a batch of photos.

Just a question, my editpics page stretches across the screen. 
I had to use the horizontal scroll to get to see the pic on the right.
Is it possible to reduce the size of the picture or width of the page so that I don't have to scroll horizontally?

Thanks.

etienne_sf

Quote from: eka on September 30, 2007, 09:42:24 AM
Hi,

The Upload applet is simply great - saves a lot of time to upload a batch of photos.

Just a question, my editpics page stretches across the screen. 
I had to use the horizontal scroll to get to see the pic on the right.
Is it possible to reduce the size of the picture or width of the page so that I don't have to scroll horizontally?

Thanks.

Nice that you find it useful, and thanks for the comment.

Questions:
- Do you have Coppermine debug activated ?   
- Which navigator / OS ?
- Can you give me a test URL: you're the first to tell me that

Etienne

youth4j

Quote from: etienne_sf on September 23, 2007, 12:53:31 PM
Hi,

  Can you give me the URL and a test account ?

Etienne

username: imvitaliy
password: password

link: http://www.y4j.org/y4jers/pics/index.php?file=jupload/jupload

please try to upload about 10 photos to be able to see that is wrong. Thanks

etienne_sf

Quote from: youth4j on September 30, 2007, 11:14:08 PM
username: imvitaliy
password: password

link: http://www.y4j.org/y4jers/pics/index.php?file=jupload/jupload

please try to upload about 10 photos to be able to see that is wrong. Thanks

Hi,

  You have an old version. You should first switch to the last one.

FYI:
1) On the public album you've opened: I got the 'You don't have permission to access this page' error, after upload, when going to the edit pics page.
2) I created an album with the plugin, but wa not authorized to upload to it! Standard upload worked (take care, the test picture is visible on your site: a child playing in the see)



Etienne

youth4j

that is part of the problem, my users are always logged out of cpg before they are able to upload into their own gallery. Or they upload the photos and then it log-out the users before they can accociate their photos with their albums.

Did you have that problem when trying to upload using the normal upload?

Also, how can I upgrade to a new JUpload? Do I just delete the other one and upload a new jupload?

Thanks