coppermine-gallery.com/forum

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 JUpload by etienne_sf => Topic started by: ist on June 15, 2008, 08:54:52 PM

Title: Can't upload big files
Post by: ist on June 15, 2008, 08:54:52 PM
Hi
After some of my users have changed from Xp to Vista, I have installed this JUpload.

I have tried to play with parameter for file size, both in coppermine settings and in JUpload settings with no big success.

I understand that jupload scale the size of the picture if I upload e.g. a 4 Mb picture
But I can't make it run for a sice  > 1 mb

Could any one give me a working set-up for dummies?
I am running Coppermine 1418 and the jupload 312



regards IST
Title: Re: Can't upload big files
Post by: Fabricio Ferrero on June 16, 2008, 01:53:18 AM
QuoteCould any one give me a working set-up for dummies?
Any set-up is a working set-up... You have to set the values in order to get what you want to achieve.

I think this is not coppermine related but php configuration. There a lot of topics that talk about this on the forum. What error shows up?
Title: Re: Can't upload big files
Post by: etienne_sf on June 16, 2008, 12:47:24 PM
Quote from: ist on June 15, 2008, 08:54:52 PM
Hi
After some of my users have changed from Xp to Vista, I have installed this JUpload.

I have tried to play with parameter for file size, both in coppermine settings and in JUpload settings with no big success.

I understand that jupload scale the size of the picture if I upload e.g. a 4 Mb picture
But I can't make it run for a sice  > 1 mb

The problem you have is probably because 4M is bigger than the maxFileSize of your server. It's usually 2M.

There is some docs about that: go to the plugin configuration page.

  You should take a look to the maxChunkSize parameter.

Etienne
Title: Re: Can't upload big files
Post by: ist on June 16, 2008, 08:05:39 PM
Hi
In Coppermind I have set 'Max size for uploaded files ' and 'Max width or height for uploaded' to 2000 Kb
In  Jupload i have set 'maxChunkSize' to 2000 kB and 'maxFileSize' and 'maxNonTransformedPictureSize'  is left empty

With this setting I can even upload a file with size 428 kbytes I receive an error 'Unexpected EOF' ???

I have atttached a debug log
Title: Re: Can't upload big files
Post by: etienne_sf on June 17, 2008, 03:54:00 PM
Quote from: ist on June 16, 2008, 08:05:39 PM
Hi
In Coppermind I have set 'Max size for uploaded files ' and 'Max width or height for uploaded' to 2000 Kb
In  Jupload i have set 'maxChunkSize' to 2000 kB and 'maxFileSize' and 'maxNonTransformedPictureSize'  is left empty

With this setting I can even upload a file with size 428 kbytes I receive an error 'Unexpected EOF' ???

I have atttached a debug log

Hi,

  Apparently, you also uploaded non picture document. Can you check with only picture ?

If it still doesn't work, can you also check with only one picture ?

Etienne
Title: Re: Can't upload big files
Post by: ist on June 17, 2008, 08:34:43 PM
Hi
I think I only uploade picture files.
I have attached one of the files that is giving me problems. It is a small one.
I have also attached the log for that file.

Regards Ivan
Title: Re: Can't upload big files
Post by: Fabricio Ferrero on June 18, 2008, 02:21:42 AM
QuoteIt is a small one
No, it's not. I keep thinking it is a problem based on php ini. Remember that a picture if it is big or not deppend on the resolution, wide*high in pixels.
Title: Re: Can't upload big files
Post by: etienne_sf on June 18, 2008, 03:45:05 PM
Quote from: ist on June 17, 2008, 08:34:43 PM
Hi
I think I only uploade picture files.
I have attached one of the files that is giving me problems. It is a small one.
I have also attached the log for that file.

Regards Ivan

Hi,

I've seen nothing strange on your debug output, out of the EOF error. What is your web server ? Any special configuration on it ?

Can I have an admin access ?  (even if I'm not reactive these days, busy, busy ...   :( )

Etienne
Title: Re: Can't upload big files
Post by: ist on June 18, 2008, 10:14:28 PM
Hi

Thanks for looking at it. I don't know if configurations are special ?
I will send you a message with a link for phpinfo and user id for admin

Regards Ivan
Title: Re: Can't upload big files
Post by: etienne_sf on June 18, 2008, 11:47:25 PM
Quote from: ist on June 18, 2008, 10:14:28 PM
Hi

Thanks for looking at it. I don't know if configurations are special ?
I will send you a message with a link for phpinfo and user id for admin

Regards Ivan

Ok,

  I connected to your site, and repeated the problem. So it's not your client side, but server side. I'll do other tests. It first glance, the only difference I see is that you use apache 1.3. Don't know if it can be that.

Can you maintain my access for some times ?

Etienne
Title: Re: Can't upload big files
Post by: etienne_sf on June 19, 2008, 12:10:36 AM
Ok,

  As previously said, I repeated the trouble, it should be corrected in the 3.1.3, available on my site:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

  I can't install the plugin through the admin interface. Can you install it, and confirm that the bug is corrected ?

The
Title: Re: Can't upload big files
Post by: ist on June 19, 2008, 05:32:42 PM
Hi
I have now removed 312 and installed 313.
I have changed maxChunkSize to 2000 and tried to upload the file earlier attached.
Error was somthing like 'no success found' I have attached the log for that upload

Regards IST
Title: Re: Can't upload big files
Post by: etienne_sf on June 20, 2008, 02:41:32 PM
Quote from: ist on June 19, 2008, 05:32:42 PM
Hi
I have now removed 312 and installed 313.
I have changed maxChunkSize to 2000 and tried to upload the file earlier attached.
Error was somthing like 'no success found' I have attached the log for that upload

Regards IST

:-[

You're running into the previous problem : managing all configuration available on the web is a little tricky ...

Can you replace, on your server, the /album/plugins/jupload/wjhk.jupload.jar file, by its previous version, available on the link below ?

http://jupload.svn.sourceforge.net/viewvc/*checkout*/jupload/tags/3.4.0/wwwroot/wjhk.jupload.jar?revision=466 (http://jupload.svn.sourceforge.net/viewvc/*checkout*/jupload/tags/3.4.0/wwwroot/wjhk.jupload.jar?revision=466)

Etienne
Title: Re: Can't upload big files
Post by: ist on June 21, 2008, 09:20:08 AM
Hi
I don't think I get it right. The link is pointing to a folder with files.I have uploaded all the files to album/plugin/jupload, I don't think it it right because it is not working?

Regards IST