Upload fails with applet, but okay with form

paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-05-28 02:01

tingo, please test G 1.4.4-b153 when it comes out. It should correct the user authentication with Geeklog.

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Fri, 2004-05-28 09:55
paour wrote:
tingo, can you post the Java log of trying to upload with the applet? Thanks for the pointer to the right file within the geeklog install!

Java log - see attached file.
No problem. :-)

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Fri, 2004-05-28 09:57

Hmm, why did it upload the file three times?

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Fri, 2004-05-28 09:59
paour wrote:
tingo, please test G 1.4.4-b153 when it comes out. It should correct the user authentication with Geeklog.

Ok, I will try to do that. Do I have to install the whole ting, or can I just copy some files? (I don't want to mess up a production install)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Fri, 2004-05-28 15:12

It's safer to upgrade all the files. If you only upgrade some you'll probably end up with incompatibilities.

 
TWDesignStudios

Joined: 2004-06-14
Posts: 16
Posted: Tue, 2004-06-15 15:48

Call my dumb but is it possible to download the latest cvs ziped?

I only find the directories and files seperate.

I am having the same problem and wish to apply the latest beta for the postnuke patch.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-06-15 16:34

Zipped beta patches of the executable files can be found on the nightly site.

FAQ Gallery Remote:1.

There is no zipped source distribution.

 
TWDesignStudios

Joined: 2004-06-14
Posts: 16
Posted: Wed, 2004-06-16 01:48

Thank you paour

 
ewerx

Joined: 2004-02-03
Posts: 14
Posted: Wed, 2004-06-16 03:33

FYI this problem is also happening with phpBB integration...

 
TWDesignStudios

Joined: 2004-06-14
Posts: 16
Posted: Wed, 2004-06-16 06:54

This fixed my applet uploading problem but broke my "Print Services" for all but Shutteryfly.

Where would I report this too. Or shoudl I since it was a nightly CVS?

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-06-17 16:12

ewerx, I'm standing by for your help with phpBB-specific cookies ;-)

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-06-17 16:13

TWDesignStudios, you should indeed report the breakage in Print Services in the beta on the Gallery forum. Thanks.

 
ewerx

Joined: 2004-02-03
Posts: 14
Posted: Thu, 2004-06-17 16:20
paour wrote:
ewerx, I'm standing by for your help with phpBB-specific cookies ;-)

What sort of information do you need? It looks like phpBB has a couple cookies:

PHPSESSID, phpBB2mysql-sid, phpBB2mysql-data, phpBB2mysql-t
but I'm not sure what is the right one?

 
ldavies

Joined: 2004-05-02
Posts: 16
Posted: Sat, 2004-06-19 23:56

I just read through all the posts on this and it seems this might fix my same problem.

Can someone confirm what the latest working version that will fix this is? I am using postnuke with gallery 1.4.3pl1 (upgraded to pl2).

Thanks, Lloyd

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Sun, 2004-06-20 22:16
paour wrote:
tingo, please test G 1.4.4-b153 when it comes out. It should correct the user authentication with Geeklog.

Sorry for taking so long before I could try this. Anyway, I have now tested G 1.4.4-b154 (couldn't find b153 - I hope it makes no difference). Here are the results:
(first, uploading with the form works fine, as before)
When I try to upload white the small applet, after I press the upload button, I get the error
"Error: HTTP POST failed (HTTP 404 Not Found)"
and in my webserver log (httpd-error.log) I get the message:
"... File does not exist: /usr/local/www/data/geeklog/public_html///g2/http://hogoslo.dyndns.org/g2/gallery_remote2.php"

Note that the first part before "g2" contains 3 forward slashes, and that it repeats the correct url after the "g2/" part.
The file gallery_remote2.php is in the g2 directory, and ownership and permissions is correct.

Have I configured something wrong?
Any suggestions gratefully accepted.
--
Torfinn Ingolfsen,
Norway

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Mon, 2004-06-21 23:51

tingo, definitely a problem... I've modified the applets to attempt to consider that specific case (not the triple slashes, thouse shouldn't matter).

Can you patch your Gallery installation with http://jpmullan.com/galleryupdates/remote/gallery_remote_applets_1.4-b15.zip (it will be up in a couple minutes and test again?

Thanks

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Tue, 2004-06-22 22:44
paour wrote:
Can you patch your Gallery installation with http://jpmullan.com/galleryupdates/remote/gallery_remote_applets_1.4-b15.zip (it will be up in a couple minutes and test again?

Ok, I patched. Now I get the "Upload error: User cannot add to album." dialog box again (after the file is uploaded)..
My httpd-error.log says:
[Wed Jun 23 00:26:57 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/util/OsShutdown.class
[Wed Jun 23 00:27:08 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/util/OsShutdown.class

If I try the big applet, the apache error log shows:
[Wed Jun 23 00:32:10 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/java/metadata-extractor-2.1.jar
[Wed Jun 23 00:32:11 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/java/JSX1.0.7.4.jar
[Wed Jun 23 00:32:11 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/resources/GRResources.class
[Wed Jun 23 00:32:11 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/resources/GRResources_en.class
[Wed Jun 23 00:32:12 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/resources/GRResources_en_US.class
[Wed Jun 23 00:32:12 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/com/gallery/GalleryRemote/resources/GRResources_en_US.properties
[Wed Jun 23 00:32:12 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/JSX/ObjOut.class
[Wed Jun 23 00:32:12 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/JSX/ObjOut.class
[Wed Jun 23 00:32:13 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/JSX/ObjOut.class
[Wed Jun 23 00:32:13 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/JSX/ObjOut.class
[Wed Jun 23 00:32:16 2004] [error] [client 192.168.2.51] File does not exist: /usr/local/www/data/geeklog/public_html///g2/JSX/ObjOut.class

To be sure, I tried to upload with the form again. It still works - no problem.
Java console log attached.
I hope all this information helps you.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-06-22 23:42

Oops, my fault: there was a typo in the GeekLog-specific code for Gallery. It is fixed in G 1.4.4-b211 and later.

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Wed, 2004-06-23 07:06
paour wrote:
Oops, my fault: there was a typo in the GeekLog-specific code for Gallery. It is fixed in G 1.4.4-b211 and later.

Ok, I will update and retry when that build becomes available.

 
M.D.

Joined: 2004-06-21
Posts: 38
Posted: Thu, 2004-06-24 21:52

is this still an issue in phpbb? If not, which release do I need to fix this?

Thanks!

 
tingo

Joined: 2004-05-27
Posts: 11
Posted: Thu, 2004-06-24 23:09
paour wrote:
Oops, my fault: there was a typo in the GeekLog-specific code for Gallery. It is fixed in G 1.4.4-b211 and later.

Ok, tested now with G 1.4.4-b214.
I can confirm that both the small and the big applet works now.
The only "complaint" I have (it is not a complaint, just a very minor thing I notiiced), is that when you upload with the applets, the album is not automatically refreshed after upload (if you upload with the form, the album is automatically refreshed).

Thanks for the great work you have done, paour.

 
Desmond

Joined: 2004-07-06
Posts: 19
Posted: Tue, 2004-07-06 10:27

I try the 1.4.4-cvs-b238 embedded in phpbb2 + apache on windows XP Pro but same error exist...... only form upload works. applet cannot. I can make test account for people to test it.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Tue, 2004-07-06 13:13

Can you PM me an account so I can test? Thanks.

 
reman

Joined: 2004-05-28
Posts: 22
Posted: Tue, 2004-07-06 13:29
tingo wrote:
paour wrote:
Oops, my fault: there was a typo in the GeekLog-specific code for Gallery. It is fixed in G 1.4.4-b211 and later.

Ok, tested now with G 1.4.4-b214.
I can confirm that both the small and the big applet works now.
The only "complaint" I have (it is not a complaint, just a very minor thing I notiiced), is that when you upload with the applets, the album is not automatically refreshed after upload (if you upload with the form, the album is automatically refreshed).

Thanks for the great work you have done, paour.

That is true for 223 also. I use it inside of Mambo 4.5.09.

 
Desmond

Joined: 2004-07-06
Posts: 19
Posted: Tue, 2004-07-06 14:12

paour, check PM please.

 
Toshiro

Joined: 2004-07-08
Posts: 11
Posted: Thu, 2004-07-08 01:02

The applet works fine, but just for albums where everyone is able to add photos. In gallery embeded in Geeklog, is does not follow geeklog's security model. Example: if i give permission to user X to just let him addphotos to some album, he won't be able to add them via the applet, getting and "User cannot add to album" error message. However, he can addphotos to a album where everyoby can addphotos (with the applet)
The form works fine thoo.

http://kgclan.zapto.org/galeria/
running win2003 server edition with apache. latest gallery, and remote gallery files.

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-07-08 01:05

I can't really blame you for not reading the whole thread... it works in Gallery 1.4.4 beta.

 
Toshiro

Joined: 2004-07-08
Posts: 11
Posted: Thu, 2004-07-08 01:07

uops! i'm sorry for that! i read the first pages then i quited... sry!

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Thu, 2004-07-08 01:19

Okay, this thread is getting out of hand. I'm closing it, please post relevant info to this new sticky thread.