[G2] upload applet error

itcheg

Joined: 2003-11-30
Posts: 87
Posted: Wed, 2004-08-11 01:27

when trying the upload applet in g2 I get an error message: Gallery Remote can find no protocol implementation at the URL http://www.mysite.com/g2/ Check with a web browser that http://mysite.com/g2/gallery_remote.php is a valid URL

attached log

[edit] yup my bad (copy/paste habit) updated the log file [/edit]

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-08-11 04:26

The log file is very hard to write because the word-wrapping is wrong, probably because you selected everything and copied-pasted. You can use the Copy button in the log window to better effect. Thanks!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-08-13 01:15

A 403 is returned for the URL where the G2 remote module resides. I assume this means your G2 install is too secure and the applet can't check whether the module is there. I know it's a bad way of checking, but I can't fix that off-hand.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-08-13 16:07

In a web browser, try to go to [your G2 URL]/modules/ . You get a 403 error page. This is what you have to solve to get the applet to work.

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Fri, 2004-08-13 17:14

paour,

I'm not sure if I understand what your saying, but I droped a .htaccess file in the /modules/ directory. Now I can access that directory via a browser however still the same problem, nothing seems to have changed, I get error:

Gallery Remote can find no protocol implementation at the URL http://www.mysite.com/g2/ Check with a web browser that http://www.mysite.com/g2/gallery_remote.php is a valid URL

that is not a valid url - the file is not there.

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Sun, 2004-08-15 18:27

paour,

I tried the latest nightly from jpmullan's site (08-15-2004 03:32:27 AM) but get the same error message as my original post, and gallery2/galleryremote.inc doesn't exist either

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-08-17 00:18

Can you attach the log file from that?

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Tue, 2004-08-17 01:39

log file for uppload applet (gallery2 08-15)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-08-17 13:52

The version number is incorrect in the log; the patch may not have succeeded. Can you try again?

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Tue, 2004-08-17 19:33

not sure what happend before, but I wiped my install clean and did a fresh install from the latest nightly (8-17), still the same problem... here's the log file

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-08-17 21:20

Ah, you're using the applet version? My bad...

You need to patch G2 with the latest applet zip file from the nightly site (jmullan's). Extract the applet zip into G2/modules/uploadapplet/applets/ .

Sorry about the confusion...

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Tue, 2004-08-17 22:42

paour,

I unzip gallery_remote_applets_1.4.1-b6.zip (I hope I understood corectly) here the log, same error...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-08-17 23:25

If you don't restart your brower after updating the applet files, you have to flush the cache by hitting the keys 'c' and 'v' in the console window.

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Tue, 2004-08-17 23:38

ok emptied cache and restarted the browser... I hope it does it this time :roll:

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-08-18 00:31

Yep, you upgraded correctly... but... I just realized that the nightly build for GR stopped building nightly, which is why the version you installed was stale.

I've force-built 1.4.1-b9, which is on the nightly page, and which should finally solve your problem. Profuse apologies for the way this has been dragging on and thanks for your patience.

 
itcheg

Joined: 2003-11-30
Posts: 87
Posted: Wed, 2004-08-18 01:18

Paour,

Problem solved! works great. Absolutely no aplogies needed - thanks for your great work.

P.S. Why isn't this build included (or is it?) in the latest g2 download?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2004-08-18 01:29

Before I force everybody who tracks the CVS version of G2 to download about 1MB worth of GR applet jars, I prefer to make sure the bug is fixed for the particular user who spotted it, via the applet patch build. Does that make sense?

I'll update the G2 and G1 CVS with the new applets soon, now that I know the fix is valid.

Thanks again.