Java Upload in Frontend

Phoca Gallery - image gallery extension
MarcK
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 May 2009, 12:16

Java Upload in Frontend

Post by MarcK »

Hi,
I have a problem with the java Upload in Phoca Galery. The Java Symbol shows loading, but there is no progress and the loading never ends. Might that be a problem of the webhoster or is it a problem of the client? I tested it on several computers, always with the same result! Im using the latest Phoca galery releas.

Maybe somebody had the same problem and might help me to safe a lot of time...! :(
MarcK
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 May 2009, 12:16

Re: Java Upload in Frontend

Post by MarcK »

That would be graet because it's realy crazy, the Java Upload at the backend works fine.

Only the Frontend shows the Java Symbol loading for houres, with no result.
Im using Java 1.6.013, Phocagalery 2.2.4 and Joomla 1.5.10
Re1981
Phoca Member
Phoca Member
Posts: 14
Joined: 04 Jun 2009, 10:11
Location: The Netherlands

Re: Java Upload in Frontend

Post by Re1981 »

Same problem overhere, is there a solution already?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Java Upload in Frontend

Post by Jan »

Hi, if the java works in backend for you, it should work in frontend too, there is the same html/java code used :idea:

Jan
If you find Phoca extensions useful, please support the project
MarcK
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 May 2009, 12:16

Re: Java Upload in Frontend

Post by MarcK »

Very strange...
I already thought something like this, but I couln't get it work in the frontend while the backend works fine.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Java Upload in Frontend

Post by Jan »

Hi, it seems like there is a bug in front

I will fix it for 2.5.0 beta version, for now you can add into your code the following:

components\com_phocagallery\views\category\tmpl\default_upload.php

before:

Code: Select all

<object classid="java:wjhk.jupload2.JUploadApplet"
add:

Code: Select all

<!--[if !IE]> -->
components\com_phocagallery\views\user\tmpl\default_upload.php

before:

Code: Select all

<object classid="java:wjhk.jupload2.JUploadApplet"
add:

Code: Select all

<!--[if !IE]> -->
Maybe this will help.

Jan
If you find Phoca extensions useful, please support the project
MarcK
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 19 May 2009, 12:16

Re: Java Upload in Frontend

Post by MarcK »

Works perfect in front and backend now! Thank you very much!!!! :twisted: :twisted: :twisted:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Java Upload in Frontend

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Golioth
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 13 Oct 2008, 21:17

Re: Java Upload in Frontend

Post by Golioth »

I had a similar problem when uploading in frontend.

Multiple adds in de java uploader and trying to upload resulted in a start with preparing the first file... but than it hangs.
When I go to another page and get back to the java uploader it says something about one of the files I tried uploading before was to big (the first file it tried to upload).

When I changed the parameter in the backend for the maximum filesize for javauploads from 0 (which supposed to be unlimited) to a actual size, but high so it's practicly unlimited, the problem was solved.

Hope this helps Jan :P
Post Reply