(solved) joomla - Java uploader

jrjr

Joined: 2006-09-28
Posts: 26
Posted: Sat, 2006-09-30 20:27

Gallery version (not just "2"):2.1
PHP version (e.g. 4.3.11): 5.1.6
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): IIS 5
Database (e.g. MySql 4.0.11):MySql
Activated toolkits (e.g. NetPbm, GD):ImageMagik
Operating system (e.g. Linux):Windows 2000 server
Browser (e.g. Firefox 1.0): FF 1.5.0.7

I have G2 bridged into Joomla. First trouble I see is that the java uploader does not work. It works great in the G2 program if I call it up separate from Joomla.

Anything I can do to fix this?

I found some old posts stating to change Session Authentication Method: in Global/server tab. When I change to either 1 or 2 and check the album again, the applet is already up only it's blank. Can't get rid of it. The only way to upload photos is with level 3 security enabled but the applet doesnt work here either.. as stated before.

From what I see this bug is YEARS old and has been in bug tracker for quite some time. Is there a fix? If not please tell me so I quit wasting time........

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Sun, 2006-10-01 12:54

Surely someone must have an opinion on this........

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-02 11:02

please post the URL to the bug that you think applies here.

also, to get joomla related help, you should post the issue in the integration & embedding forum.

moving the topic for you.

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Mon, 2006-10-02 13:45
Quote:
Here is a link to the site.
User name and password are both test.
There are no photos in the album now.
Click photo gallery/your album/add a photo
I left it with 'upload applet' selected.
Feel free to upload if you need.

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Mon, 2006-10-02 13:46

Here is a link to the site.
User name and password are both test.
There are no photos in the album now.
Click photo gallery/your album/add a photo
I left it with 'upload applet' selected.
Feel free to upload if you need.

http://www.jrjr.com:9999/joomla

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-02 14:04

there are several issues, maybe all related to the same problem.

- you're not logged in in g2 standalone when logging in in joomla.
- the URL for direct gallery requests generated by joomla are like
http://www.jrjr.com:9999/gallery2?g2_view=core.DownloadItem&g2_itemId=140 instead of
http://www.jrjr.com:9999/gallery2/?g2_view=core.DownloadItem&g2_itemId=140

there's a missing / after gallery2/.

you should change your joomla / g2 bridge config, the trailing / after gallery2/ could fix everything.
but you should delete your browser cookies for that domain after any change.

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Mon, 2006-10-02 14:15

Thanks, what file should I look at and what would the syntax look like?

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Mon, 2006-10-02 17:28

I have looked through all the files and cannot see where I need to make changes. I'm not a coder though and have only been using PHP for a week now. If you could give me a clue it would be appreciated. TIA

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-02 17:41

i was implying a configuration change, not a code change.

in joomla's administration menu, there's sure a gallery2 bridge / module / component config and there you need to ensure that there's a traling slash for the URL path or something like that.

i don't use joomla, another joomla user or developer is in a better position to help.

 
jrjr

Joined: 2006-09-28
Posts: 26
Posted: Mon, 2006-10-02 18:38

Oh, lol
I was able to do that and the applet works ok now. Thank you very much!

On to other issues :)