Installing JUpload problems.... Installing JUpload problems....
 

News:

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

Main Menu

Installing JUpload problems....

Started by jakewc2, April 23, 2009, 02:21:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jakewc2

I'm trying to install JUpload, and following the instructions found in this thread

http://forum.coppermine-gallery.net/index.php/topic,53168.0.html

problem is, when I extract the files from the zip, instead of creating a folder, it just extracts the files onto my desktop. I tried creating a folder and adding the files to it, but when I try to use the plugin manager in Coppermine, when I click on Browse, I find the file, highlight it, instead of it saying upload, it says open, and it opens the file to show the files. I cannot upload the foler to the plun manager.

I have been trying for ages, I have a pc and laptop, and the same thign happens on both machines. I dont know what to look for, in the Forum, I have tried looking for problems uploading to plugin manager but nothing comes back, with this type of problem. Please can somebody help?

Thank you.

John.

Joe Carver

#1
Read the Docs Make sure your plugin folder has write permissions (at least for the time you want to install it). If you really feel that you need to unzip it before installation...this newbie uses Peazip.
(note, please: I have no experience with this particular plugin, but have had pleasant success using the plugin manager)

jakewc2

Hi, thanks you for your message. I have read that, and done what it says. I'm getting into some confusion  here. On the thread mentioned above, in the first download link from the wiki you have version 3. something, in the second link from source fourge you have version 4. something. The wiki link, I cannot get to open the zip file, I've tried about 20 times and every time it says it is corrupted when downloading. So I tried the source forge link. Got that to download and unzip, still, the Plugins tool, wont upload it, it will only want to open it. It still wont download and put the files into a folder it will only extract the files directly  onto the desktop. I added a folder and called it jupload.

So, I decided to upload via ftp. Did that, but according to this thread

http://forum.coppermine-gallery.net/index.php/topic,53168.0.html

the reasultant 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

but there is only \jupload, the rest are not there.

so, I am totally confused.

John.

etienne_sf

hi,

  if i understand correctly your first message, you unzip the jupload.zip file on your desktop. this iis wrong. you shouldjust downlozd it as is, and upload it through the coppermine plugin manager.

etienne

jakewc2

Ok, I finally got that to work, its now installed, and I've been following the config setting, to try get it to work, but I keep getting an error. It wont start the java upload.

Here is there error I get from the java console, I've looked at it, but it makes no sense to me.

Java Plug-in 1.6.0_13
Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Owner.OWNER-I9HDCP4RI
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


load: class wjhk.jupload2.EmptyApplet not found.
java.lang.ClassNotFoundException: wjhk.jupload2.EmptyApplet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://mysite/coppermine/wjhk/jupload2/EmptyApplet.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: wjhk.jupload2.EmptyApplet
load: class wjhk.jupload2.JUploadApplet not found.
java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://my site/coppermine/wjhk/jupload2/JUploadApplet.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: wjhk.jupload2.JUploadApplet


I just dont understand wht its trying to ask me. I am not a computer espert, so I am just lost. :(

John

Joe Carver

Read this: Post a Link to Your Gallery

You must first help the people you are asking help from  :)

etienne_sf


This looks pretty much to this thread (wrong and useless parameter change):
http://forum.coppermine-gallery.net/index.php/topic,59028.0.html

What do you mean by:
Quote from: jakewc2 on April 23, 2009, 01:58:29 PM
I've been following the config setting

It should work without changing anything to the jupload config.


Etienne

jakewc2

Hi, well it didnt, the java upload tool, just didnt load, and wouldnt load. So I looked at the thread that I showed you, and followed that.

I will try to delete it and try again, without changing any parameters. Its funny, one thing says you have to change parameters now you are saying not to. It is very confusing.

jakewc2

Hi, well, I uninstlled using the instructions on this page, making sure there was no doler for this in the ftp. It uninstalled perfectly using the tool.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin_manager_uninstall

The I reinstalled using the upload tool in the Gallery. I havent changed any of the setting, and have this time given you the debug information, found at the bottom of the page, also from Coppermine.

USER:
------------------
Array
(
    [ID] => fab2a6661c3f15a99e51e6ac7e1e644c
    [am] => 1
    [lang] => english_gb
    [liv] => Array
        (
            [0] => 2
            [1] => 1
        )

    [theme] => classic
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => jakewc2
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 30000
    [disk_min] => 30000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 30000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `furrycri_copper`.cpg14x_sessions where time<1240506876 and remember=0; (0s)
    [3] => delete from `furrycri_copper`.cpg14x_sessions where time<1239300876; (0s)
    [4] => select user_id from `furrycri_copper`.cpg14x_sessions where session_id = 'd9d45f19b393fb75c17ca3e940d66c97' (0s)
    [5] => select user_id as id, user_password as password from `furrycri_copper`.cpg14x_users where user_id=1 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `furrycri_copper`.cpg14x_users AS u INNER JOIN `furrycri_copper`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `furrycri_copper`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `furrycri_copper`.cpg14x_sessions set time='1240510476' where session_id = 'd9d45f19b393fb75c17ca3e940d66c97' (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-04-23 18:14:36' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='90.202.91.114' OR ip_addr='90.202.91.114' OR user_id=1) AND brute_force=0 (0s)
    [14] =>  SELECT category, count(1) nb  FROM cpg14x_albums  WHERE category < 10000 OR category = 10001 GROUP BY category  (0s)
    [15] =>  SELECT aid, title, description   FROM cpg14x_albums  WHERE category < 10000 ORDER BY UPPER(title) (0s)
    [16] =>  SELECT aid, title, description  FROM cpg14x_albums  WHERE category='10001'  ORDER BY UPPER(title) (0s)
    [17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [18] =>  SELECT cid, name, description, pos  FROM cpg14x_categories  WHERE parent = '0'  ORDER BY pos (0s)
    [19] =>  SELECT cid, name, description, pos  FROM cpg14x_categories  WHERE parent = '1'  ORDER BY pos (0s)
    [20] =>
SELECT aid, title, description
FROM cpg14x_albums
WHERE category = 10001
ORDER BY UPPER(title)
(0s)
    [21] => SELECT sum(total_filesize) FROM cpg14x_pictures WHERE owner_id = 1 (0s)
)

==========================
GET :
------------------
Array
(
    [file] => jupload/jupload
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.67-community
------------------
Coppermine version: 1.4.21(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,highlight_file,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput | system,passthru,exec,popen,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,highlight_file,escapeshellcmd,define_syslog_variables,posix_uname,posix_getpwuid,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,escapeshellarg,posix_uname,ftp_exec,ftp_connect,ftp_login,ftp_get,ftp_put,ftp_nb_fput,ftp_raw,ftp_rawlist,ini_alter,ini_restore,inject_code,syslog,openlog,define_syslog_variables,apache_setenv,mysql_pconnect,eval,phpAds_XmlRpc,phpAds_remoteInfo,phpAds_xmlrpcEncode,phpAds_xmlrpcDecode,xmlrpc_entity_decode,fp,fput
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 16M | 16M
post_max_size | 8M | 8M
==========================
Page generated in 0.229 seconds - 22 queries in 0 seconds - Album set : ; Meta set: ;


This is a fresh install, with no changes at all. It still wont install the upload tool.

My website address is

http://hamstercareforum.co.uk/coppermine/index.php

There is a test user which is called test uer and password is 12345

Thank you for your help.

John.

jakewc2

Is there anybody that can help with this please? I have tried everything that you have suggested. I did think that it might have been just my pc, so I tried to get it to work on my Windows xp laptop and my Ubuntu Netbook, and it still wont load the javaupload tool. If I cant get this to work, is there another multi upload tool that I can use? That might be easier to install?

etienne_sf

Quote from: jakewc2 on April 23, 2009, 08:21:46 PM
http://hamstercareforum.co.uk/coppermine/index.php

There is a test user which is called test uer and password is 12345

Hi,

1) I can't connect to you site with these data.

2) Please answer the questions. I'm facing a black wall, trying to guess what you've done. Not easy. My question was:
What do you mean by 'I've been following the config setting' ? what config change did you do ?

Etienne

jakewc2

So Sorry I have dyslexia, and I miss things in spelling. I just noticed I missed out a letter in the username, it is test user and 12345 that will work, I just logged in with it. .

As far as the config settings, I posted a url in my first post, here it is again, and if you scroll down you will see them,

http://forum.coppermine-gallery.net/index.php/topic,53168.0.html

and the jupload has settings to fill in as well (Login>config>General settings>Manage plugins>Jupload Config. I didnt change any settings when I re-installed it, as you said it should not need any changes made, so the question you asked is kind of mute now. I havent done anything to any settings, apart from upload the Plugin as you suggested. I gave you the error log as well.

jakewc2

Hi is there any help for this please? I am still not able to use it, and its getting really frustrating now.  :'(

etienne_sf

Quote from: jakewc2 on April 24, 2009, 06:00:39 PM
So Sorry I have dyslexia, and I miss things in spelling. I just noticed I missed out a letter in the username, it is test user and 12345 that will work, I just logged in with it. .

As far as the config settings, I posted a url in my first post, here it is again, and if you scroll down you will see them,

http://forum.coppermine-gallery.net/index.php/topic,53168.0.html

and the jupload has settings to fill in as well (Login>config>General settings>Manage plugins>Jupload Config. I didnt change any settings when I re-installed it, as you said it should not need any changes made, so the question you asked is kind of mute now. I havent done anything to any settings, apart from upload the Plugin as you suggested. I gave you the error log as well.

If you want help, you need to give info. And the good ones:
1) the user name was wrong,
2) here the URL pasted is wrong,

  and you still shout for help....


Now, from the try I just gave, I guess your install is wrong. The wjhk.jupload.jar file is corrupted. You should re-install the plugin.

By the way, you talked about the folder organization, on your desktop. Did you tranfert files by FTP ?
If yes, you should do a binary transfert, not Ascii.

Etienne

Please note that people help for free.

jakewc2

Well, I did say the first post in this thread was where the url was, you could have looked there. I do understand that you this for nothing. Its your time, but so far, instead of actually concentrating on the questions, you have wasted time taking me apart. No mention of the actual question I'm asking, just ripping me apart. I have mentioned the question at least 3 times. I've posted the error report, yet you have ignored that, and spent all your time ripping me apart for not posting a question exactly the way you want it to be posted. Instead of wasting time, you could have asked me questions. This seems to be a forum wide thing here. Wouldnt your time be better spent, answering questions, instead taking people apart, you wouldnt be wasting your time then.

Ok, as far as installing, you answered that for me in the third message down in this thread, you told me to install using the install tool in Coppermine without unpacking it. Which is what I did. If I remember correctly, there is actually a problem downloading it, it has a problem with corrupt download anyway. Something I have seen posted on this forum. I tried downloading the wiki site version and the source forge site version, neither worked.

I will give it another go, and redownload and reinstall, see how that goes.

phill104

So, your URL is http://hamstercareforum.co.uk/coppermine/index.php

Your username is - test user

Your password is - 12345

To get all that I had to look through almost all of the thread. This makes it hard for us to help you. Please try and post all the required things together in one place and make sure they are correct. Being dyslexic is no excuse, I am too. All it means is that you have to take more time to be 100% sure you are getting things right.

It is frustrating for us to support you when we have to look through a thread many times just to put together the information we need. Posting the url of where you got the plugin from is rarely any help.

After finally logging in I see you still do not have jupload installed. You may have uploaded it as per the docs but you still need to press the little "i" button in the plugin manager. Once you have done that you should see the jupload config page.
It is a mistake to think you can solve any major problems just with potatoes.

jakewc2

Hi Sorry for the delay, I've only just been able to get back to the pc.

I reinstalled it, by using the install function on Plugins page.

I took a print screen for you to look at it.

This is what I keep getting.


jakewc2

I just took a print screen for what the installation page looks like, it shows everythign is ok. I have tried using this on my PB and Laptop running xp, and my Ubuntu netbook, none will show the jupload tool will start.


etienne_sf

hi,

  there must still be a problem with this file:
./plugins/jupload/wjhk.jupload.jar

try dowloadin it, and open it with winzip or 7zip. it should be a valid zip file, despite its name.

jakewc2

Hi I just tried opening it with winzip and peazip, and both say its a corrupted file.