Jupload do not work Jupload do not work
 

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

Jupload do not work

Started by gragossen, January 16, 2009, 12:27:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gragossen

After bridging to my bullintine board (phpBB) Juopload do not work anymore. This is what´s coming up on every action I make: "JUpload: Unknown action value"

Goran

http://www.vulcanriders-sweden.org/cpgbilder/index.php






etienne_sf

Oups oups oups,

  Are you now using PHP 5.2.8 ?
(you can check it from within Coppermine,by using the phpinfo utility).

Etienne

gragossen

Quote from: etienne_sf on January 16, 2009, 03:24:46 PM
Oups oups oups,

  Are you now using PHP 5.2.8 ?
(you can check it from within Coppermine,by using the phpinfo utility).

Etienne

I dont know about PHP 5.2.8

This is what the java let me know:

Qoute: "Taggen APPLET is missing the parameter CODE.
reading: klass wjhk.jupload2.JUploadApplet not accessible.
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://www.vulcanriders-sweden.org/cpgbilder/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
exeption: java.lang.ClassNotFoundException: wjhk". End Qoute

Goran

phill104

Go into coppermines admin tools and click on phpinfo. It will tell you what php version you are running as etiennne suggested earlier.
It is a mistake to think you can solve any major problems just with potatoes.

gragossen

I dont know anything about 5.2.8.  I´m using PHP 4.4.8

Goran

gragossen

http://www.vulcanriders-sweden.org/cpgbilder/index.php

User : patrik
Password: patrik

Why does´nt it work? My server is working under PHP 4.4.8 I have reloaded both Gallery and Jupload. Unactivated jupload and activated again. Same result. Won`twork >:(

Help..... Please!
Goran

etienne_sf

OK,

1) I repeated your problem, or was it ? : unknown value, when creating an album
2) In my case, it was because of the 'NoScript' extension of firefox. With your site authorized, it worked ok.

But, during upload, I faced this server response:

This is the "emergency webspace" of the coppermine photo gallery that is being used only if there are issues with the regular webspace on <a href="http://coppermine-gallery.net/">coppermine-gallery.net</a><br />\r\n
13:02:58.173 [DEBUG] Well... there currently are no issues with that webspace as far as we know, so what are you doing here?


What session management are you using for JUpload (take a look at JUpload doc) ?

Etienne

Nibbler

You need to set your site URL correctly in config. It's set to http://coppermine.sourceforge.net/

gragossen

Quote from: etienne_sf on January 17, 2009, 01:05:46 PM
OK,

1) I repeated your problem, or was it ? : unknown value, when creating an album
2) In my case, it was because of the 'NoScript' extension of firefox. With your site authorized, it worked ok.

But, during upload, I faced this server response:

This is the "emergency webspace" of the coppermine photo gallery that is being used only if there are issues with the regular webspace on <a href="http://coppermine-gallery.net/">coppermine-gallery.net</a><br />\r\n
13:02:58.173 [DEBUG] Well... there currently are no issues with that webspace as far as we know, so what are you doing here?


Thankyou


"JUpload: unknown value" comes up on every action




What session management are you using for JUpload (take a look at JUpload doc) ?

I use: " JUpload Simplified "          Debug: "True"

Goran

Etienne

gragossen

Quote from: Nibbler on January 17, 2009, 03:58:14 PM
You need to set your site URL correctly in config. It's set to http://coppermine.sourceforge.net/

Thankyou Nibbler

but what do you mean?

Goran

gragossen

JUpload: Unknown action value This is the only thing happen on any action i make. Below debuginformation when I try to "update album"

Remark note: /include/plugin_api.inc.php
Notice line 666: Only variable references should be returned by reference

Debuginformation


USER:
------------------
Array
(
    [ID] => ccabb9be51986d1559d809240d6ca3a6
    [am] => 1
    [lang] => swedish
    [liv] => Array
        (
           
  • => 368
                [1] => 380
                [2] => 366
                [3] => 420
                [4] => 421
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => vulcanriders
        [groups] => Array
            (
               
  • => 1
            )

        [disk_max] => 11024
        [disk_min] => 11024
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 3
        [ufc_min] => 3
        [custom_user_upload] => 0
        [num_file_upload] => 5
        [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] => 11024
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_19filetypes; (0.001s)
        [1] => select * from cpg14x_19plugins order by priority asc; (0s)
        [2] => delete from `vulcanri_7`.cpg14x_19sessions where time<1232272674 and remember=0; (0.001s)
        [3] => delete from `vulcanri_7`.cpg14x_19sessions where time<1231066674; (0s)
        [4] => select user_id from `vulcanri_7`.cpg14x_19sessions where session_id = 'a59749293feef42f364c9f3eb366cb39' (0s)
        [5] => select user_id as id, user_password as password from `vulcanri_7`.cpg14x_19users 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 `vulcanri_7`.cpg14x_19users AS u INNER JOIN `vulcanri_7`.cpg14x_19usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `vulcanri_7`.cpg14x_19users 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_19usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg14x_19usergroups WHERE group_id= 1 (0s)
        [10] => update `vulcanri_7`.cpg14x_19sessions set time='1232276274' where session_id = 'a59749293feef42f364c9f3eb366cb39' (0.001s)
        [11] => SELECT user_favpics FROM cpg14x_19favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg14x_19banned WHERE expiry < '2009-01-18 10:57:54' (0s)
        [13] => SELECT * FROM cpg14x_19banned WHERE (ip_addr='81.236.162.39' OR ip_addr='81.236.162.39' OR user_id=1) AND brute_force=0 (0s)
        [14] =>  SELECT aid  FROM cpg14x_19albums a WHERE a.category = 10001  AND   a.aid = 18  (0s)
        [15] => SELECT COUNT(*) FROM cpg14x_19pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [category] => 10001
        [album] => 18
        [action] => no action
        [album_name] =>
        [album_description] =>
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.8 - OK
    ------------------
    mySQL version: 4.0.27-standard
    ------------------
    Coppermine version: 1.4.19(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support: 1
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP 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.41
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/include/mysql
    MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    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 | no value | no value
    file_uploads | On | On
    include_path | ./:/usr/local/lib/php | ./:/usr/local/lib/php
    open_basedir | /home:/tmp:/usr/local/lib/fcgi-php4:/usr/local/lib/php:/usr/local/apache/htdocs:/usr/local/fonts:/usr/local/ming/fonts | /home:/tmp:/usr/local/lib/fcgi-php4:/usr/local/lib/php:/usr/local/apache/htdocs:/usr/local/fonts:/usr/local/ming/fonts
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/local/bin/php-mail-wrapper2.pl -t | /usr/local/bin/php-mail-wrapper2.pl -t
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 20 | 20
    max_input_time | -1 | -1
    upload_max_filesize | 10485760 | 10485760
    post_max_size | 52428800 | 52428800
    ==========================
    Page generated in 0.051 seconds - 16 queries in 0.004 seconds - Album set : ; Meta set: ;

etienne_sf

Quote from: gragossen on January 18, 2009, 12:07:45 PM
JUpload: Unknown action value This is the only thing happen on any action i make. Below debuginformation when I try to "update album"

  This is because javascript doesn't work.

Several possible reasons:
1) NoScript plugin for firefox
2) magic_quote_sybase in the server PHP configuration, will cause a bug in JUpload. Will be solved in next version.
3) etc...

Etienne

gragossen

So what do you suggest?

Goran

gragossen

Quote from: gragossen on January 19, 2009, 06:20:31 AM
So what do you suggest?

Goran

Working again after total delate of all files in database, upload and re-installation of gallery and plugin from scratch. I hope it wont crash this time because JUpload is a handy little tool, as long as it works.

Goran   

etienne_sf

Hum,

  Nice it works again.

FYI, I re-read this thread.

If you get the java.lang.ClassNotFoundException error again, take a look at the jarPath JUpload config parameter.

Etienne