forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 JUpload by etienne_sf => Topic started by: gragossen on January 16, 2009, 12:27:15 pm

Title: Jupload do not work
Post by: gragossen on January 16, 2009, 12:27:15 pm
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 (http://www.vulcanriders-sweden.org/cpgbilder/index.php)



 

Title: Re: Jupload do not work
Post by: 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
Title: Re: Jupload do not work
Post by: gragossen on January 16, 2009, 05:00:00 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
Title: Re: Jupload do not work
Post by: phill104 on January 16, 2009, 07:29:26 pm
Go into coppermines admin tools and click on phpinfo. It will tell you what php version you are running as etiennne suggested earlier.
Title: Re: Jupload do not work
Post by: gragossen on January 17, 2009, 05:50:07 am
I dont know anything about 5.2.8.  I´m using PHP 4.4.8

Goran
Title: Re: Jupload do not work
Post by: gragossen on January 17, 2009, 10:32:53 am
http://www.vulcanriders-sweden.org/cpgbilder/index.php (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
 
Title: Re: Jupload do not work
Post by: 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:
Code: [Select]
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
Title: Re: Jupload do not work
Post by: 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/
Title: Re: Jupload do not work
Post by: gragossen on January 18, 2009, 07:28:36 am
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:
Code: [Select]
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
Title: Re: Jupload do not work
Post by: gragossen on January 18, 2009, 07:33:29 am
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
Title: Re: Jupload do not work
Post by: 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"

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
        (
            [user_id] => 1
    [user_name] => vulcanriders
    [groups] => Array
        (
           
        )

    [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
(
    [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: ;
Title: Re: Jupload do not work
Post by: etienne_sf on January 18, 2009, 12:15:37 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
Title: Re: Jupload do not work
Post by: gragossen on January 19, 2009, 06:20:31 am
So what do you suggest?

Goran
Title: Re: Jupload do not work
Post by: gragossen on January 20, 2009, 01:57:10 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   
Title: Re: Jupload do not work
Post by: etienne_sf on January 22, 2009, 02:55:07 pm
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