Upload applet can't find gallery2 (Drupal embed mode)

yelvington

Joined: 2003-08-07
Posts: 14
Posted: Sat, 2005-03-12 19:41

I have successfully embedded Gallery2 -- now upgraded to the lastest CVS version as of this morning -- into Drupal 2.6 RC using walkah's integration module (also from CVS).

However, the Java upload applet can't find gallery, so it hangs (and hangs the browser as well).

It seems to be looking in the server docroot, instead of in the /gallery2/ subdirectory where G2 is installed. A peek at the HTML of the upload page indicates that applet is being passed this parameter:

<param name="gr_url" value=""/>

Is there a way to override this -- perhaps in config.php? -- or can you point me in to the file that creates this output so I can hardcode the correct path?

----

Gallery version: CVS HEAD as of today
Webserver (with version): Apache/2.0.53 (Unix) PHP/4.3.10
PHP version (eg 4.2.1): 4.3.10

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-03-12 19:52

it's a known issue. even when you fix this first bug (as i did in my install), there are others preventing the upload applet work in embedded G2.

i've never worked on the upload applet, so i can't fix it myself.

 
yelvington

Joined: 2003-08-07
Posts: 14
Posted: Sat, 2005-03-12 20:04

Hmm... I am counting on the upload applet. :-(

What did you do to fix this particular problem?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-03-12 20:30

as i said, i couldn't fix it. i just fixed this first bug, but when you do this, it still doesn't work.
see: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=27133