coppermine-gallery.com/forum

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
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
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:

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
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
Title: Re: Jupload do not work
Post by: gragossen on January 18, 2009, 07:33:29 AM
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
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
        (
           
Title: Re: Jupload do not work
Post by: etienne_sf on January 18, 2009, 12:15:37 PM
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
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
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   
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