Error: HTTP POST Failed (HTTP 404 Not Found)

BrianM_WY

Joined: 2006-06-19
Posts: 5
Posted: Mon, 2006-06-19 23:39

Okay, I've gone through the 4 threads with this exact error listed in them (none are current) and none helped. I checked the FAQ and added Gallery_Remote2.php to my server and forceGalleryVersion.n=2 to my local config file ~ didn't help.

Situation is that I have 2 seperate standalone G2 installations, both on the same rented server (though different accounts). They were working beaitufully (including Remote) for months. Never an issue. About 3 weeks ago GR on both my computers suddenly getting these error files. So I've downloaded the newest GR installs and installed them (2 different computers, both Windows XP). Always this error. I can log into the site fine, upload photos through Gallery fine and even through XP upload ~ but I like how Remote works FAR better than any other option.

Here's an excerot from the end of my local log file:

08406|INFO |GalComm2  |Error: HTTP POST failed (HTTP 404 Not Found )
 709625|TRACE|GalComm2  |Failed to log in to http://gallery.darladog.com/
 743484|INFO |MainFrame |Command selected NewGallery
 743547|TRACE|PrefsDlog |Showing panel: com.gallery.GalleryRemote.prefs.GeneralPanel
 743578|TRACE|PrefsDlog |Showing panel: com.gallery.GalleryRemote.prefs.URLPanel
 745141|INFO |URLPa     |Command selected Modify Gallery: http://gallery.darladog.com/
 745188|INFO |GEdiDlog  |Command selected comboBoxChanged
 754125|INFO |GEdiDlog  |Command selected OK
 754125|INFO |GalComm   |Logging out and clearing cookies
 754125|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=0,index0=-1,index1=-1]
 754125|TRACE|MainFrame |updateGalleryParams: current gallery: null
 754125|TRACE|MainFrame |updatePicturesList: current album: null
 754125|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=2,index0=0,index1=0]
 754125|TRACE|MainFrame |updateGalleryParams: current gallery: null
 754125|TRACE|MainFrame |updatePicturesList: current album: null
 754125|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=1,index0=0,index1=0]
 754125|TRACE|MainFrame |updateGalleryParams: current gallery: null
 754125|TRACE|MainFrame |updatePicturesList: current album: null
 755000|INFO |PrefsDlog |Command selected OK
 755000|TRACE|PrefsDlog |Writing properties for panel class com.gallery.GalleryRemote.prefs.GeneralPanel
 755000|TRACE|PrefsDlog |Writing properties for panel class com.gallery.GalleryRemote.prefs.URLPanel
 783766|INFO |MainFrame |Command selected NewGallery
 783813|TRACE|PrefsDlog |Showing panel: com.gallery.GalleryRemote.prefs.GeneralPanel
 783844|TRACE|PrefsDlog |Showing panel: com.gallery.GalleryRemote.prefs.URLPanel
 785266|INFO |URLPa     |Command selected Modify Gallery: http://gallery.darladog.com/
 785313|INFO |GEdiDlog  |Command selected comboBoxChanged
 797234|INFO |GEdiDlog  |Command selected OK
 797234|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=2,index0=0,index1=0]
 797234|TRACE|MainFrame |updateGalleryParams: current gallery: null
 797250|TRACE|MainFrame |updatePicturesList: current album: null
 797250|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=1,index0=0,index1=0]
 797250|TRACE|MainFrame |updateGalleryParams: current gallery: null
 797250|TRACE|MainFrame |updatePicturesList: current album: null
 798828|INFO |PrefsDlog |Command selected OK
 798828|TRACE|PrefsDlog |Writing properties for panel class com.gallery.GalleryRemote.prefs.GeneralPanel
 798828|TRACE|PrefsDlog |Writing properties for panel class com.gallery.GalleryRemote.prefs.URLPanel
 800922|TRACE|MainFrame |Contents changed: javax.swing.event.ListDataEvent[type=0,index0=-1,index1=-1]
 800922|TRACE|MainFrame |updateGalleryParams: current gallery: http://gallery.darladog.com/
 800922|TRACE|MainFrame |updatePicturesList: current album: null
 801344|INFO |MainFrame |Command selected Fetch
 801344|TRACE|GalComm   |Trying protocol 2 for http://gallery.darladog.com/
 801500|TRACE|GalComm   |tryComm /gallery_remote2.php: 200
 801500|TRACE|GalComm   |Server has protocol 2
 801500|INFO |MainFrame |fetchAlbums starting
 801500|INFO |GalComm2  |Logging in to http://gallery.darladog.com/
 801500|TRACE|GalComm2  |login parameters: [HTTPClient.NVPair[name=cmd,value=login], HTTPClient.NVPair[name=protocol_version,value=2.3], HTTPClient.NVPair[name=uname,value=xxxxxx], null]
 801500|TRACE|GalComm2  |Connecting to: http://gallery.darladog.com/gallery_remote2.php
 801500|TRACE|GalComm2  |Path: /gallery_remote2.php
 801797|ERROR|GalComm2  |com.gallery.GalleryRemote.GR2Exception: HTTP POST failed (HTTP 404 Not Found )
	at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1355)
	at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.login(GalleryComm2.java:384)
	at com.gallery.GalleryRemote.GalleryComm2$GalleryTask.run(GalleryComm2.java:283)
	at java.lang.Thread.run(Unknown Source)

 801797|INFO |GalComm2  |Error: HTTP POST failed (HTTP 404 Not Found )
 803109|TRACE|GalComm2  |Failed to log in to http://gallery.darladog.com/

That's the stuff that I could see change. Anyway, if I could get a hand in what to look for (or post here for those more knowledgable than I), I'd be much apreciated.

Thanks in advance,

Brian

 
megapix

Joined: 2006-06-21
Posts: 4
Posted: Wed, 2006-06-21 17:54

How strange - today I needed to upload a few images to my gallery, and hadn't used Gallery Remote for several months. The last time I used it (Feb 2006?) it worked fine, but today it bombs out with the same 'HTTP POST failed (HTTP 404 Not Found)' error.

I'm at work, so not a lot of time to research this now. Perhaps someone has an explanation?

 
DSNet

Joined: 2006-06-26
Posts: 2
Posted: Mon, 2006-06-26 22:33

I too am unable to login using Gallery Remote and get the 'HTTP POST failed (HTTP 404 Not Found)' error.
I installed Gallery 2 for the first time yesterday. I can upload pictures through the gallery interface but it's quite laborious. Finding Gallery Remote seemed to be a great improvement but I can't get past this error.

<Later> I removed the file gallery_remote2.php and re-installed Gallery Remote and now it seems to work

 
megapix

Joined: 2006-06-21
Posts: 4
Posted: Tue, 2006-06-27 15:05

Where was the file you removed? Local on the PC, or at the server?

 
BrianM_WY

Joined: 2006-06-19
Posts: 5
Posted: Tue, 2006-06-27 15:49

Gallery_remote2.php is supposidly on the server, not that I've been able to find the sucker where it's supposed to be (root of the Gallery2 install). Didn't help me to move the file around, delete it, recreate it, use the example found in the FAQ, etc...

I think I'm going to try and update G2 on one of my servers and see if that helps the situation at all.... just don't have a whole lot of time to mess with stuff. :(

 
megapix

Joined: 2006-06-21
Posts: 4
Posted: Tue, 2006-06-27 19:32

Please let us know what you find - I have searched for this file with the same results - NOTHING!

 
DSNet

Joined: 2006-06-26
Posts: 2
Posted: Tue, 2006-06-27 20:36

It was on the server. I had installed Gallery 2 in fantastico in CPanel. Apparently this didn't include the Gallery Remote modules required on the server so was advised on this site to create the file. I also tried upgrading Gallery Remote to the latest version but when that didn't seem to have any effect and then the access problems , I decided to delete the file I had created from the server and reinstall Gallery Remote.
While I can now connect and upload images, all my thumbnails appear as broken icons so I'm not home and dry quite yet. If you have any suggstions, I'd be glad to hear them.
http://www.dsnet.info/gallery/main.php

 
Jayzoo

Joined: 2006-07-01
Posts: 1
Posted: Sat, 2006-07-01 02:02

I'm having the same error - Remote can't login - and for a while now when I was able to login/upload I've had broken thumbnails.
Any help is much appreciated.

Thanks.

 
Zwitsch

Joined: 2006-07-02
Posts: 2
Posted: Sun, 2006-07-02 15:30

Same problem. Applied no changes, wether on server- nor on the client-side. Tried to login from 2 different computers and even different internet accesses.
I hope somebody has an idea.

 
BrianM_WY

Joined: 2006-06-19
Posts: 5
Posted: Sun, 2006-07-02 23:05

So, I just spent the last couple hours upgrading everything Gallery and GR related to the newest Official release... and, zero change. Still the same error. So, this screams to me that something is Clearly broken and needs a little more attention. Hope someone who knows something will drop in sometime and give some input....

 
SDedalus

Joined: 2006-07-03
Posts: 3
Posted: Mon, 2006-07-03 01:02

I found a fix for this problem, or at least for my manifestation of it.

Edit your preferences file (Windows users will find it buried in %homepath%\.GalleryRemote\GalleryRemote.properties):

Changes are outlined here.

Please note that you can not fix this just by pasting the change into your prefs file. You have to modify this entry to match the other content in the file.
For instance, if your profile name you're having trouble with in Gallery Remote is "MyGallery"

alias.0=MyGallery

becomes

alias.0=MyGallery
forceGalleryVersion.0=2

Note also that your entry might not read "alias.0", hence the usage of forceGalleryVersion.n=2 in the instructions (see link above). It would be really nice if the force option were added to the URL GUI in GR.

Hope this helps.

 
Zwitsch

Joined: 2006-07-02
Posts: 2
Posted: Mon, 2006-07-03 09:29

Works! Thank you! :-)

 
megapix

Joined: 2006-06-21
Posts: 4
Posted: Thu, 2006-07-06 19:57

Sweet - got it working. Thanks a million SDedalus.

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2007-02-15 22:24
 
ironchefmoto

Joined: 2006-04-10
Posts: 16
Posted: Fri, 2006-07-14 03:10
Quote:
How strange - today I needed to upload a few images to my gallery, and hadn't used Gallery Remote for several months. The last time I used it (Feb 2006?) it worked fine, but today it bombs out with the same 'HTTP POST failed (HTTP 404 Not Found)' error.

I'm at work, so not a lot of time to research this now. Perhaps someone has an explanation?

I, too, had the same situation as you. I recently installed Gallery Remote 1.5 b16 to upload photos, and, since my last successful upload in April 2006, I'm getting what you describe with Gallery Remote.

Additionally, the upload applet is throwing a "damaged jpegtran" error with a support link that (SURPRISE!) doesn't work. I can upload photos, but I get thumbnail and item build errors as described earlier in this thread.

Uploading via the single file form also fails now.

Anyone have any ideas about this?

IronChefMorimoto

 
aluffman

Joined: 2006-08-14
Posts: 4
Posted: Mon, 2006-08-14 18:59

Thank you! I've been fighting this error for weeks. Finaly a solution. 1000 thank yous! SDedalus, thank you.

 
urflix

Joined: 2007-01-23
Posts: 18
Posted: Wed, 2007-06-27 15:30
SDedalus wrote:
I found a fix for this problem, or at least for my manifestation of it.

Edit your preferences file (Windows users will find it buried in %homepath%\.GalleryRemote\GalleryRemote.properties):

Changes are outlined here.

Please note that you can not fix this just by pasting the change into your prefs file. You have to modify this entry to match the other content in the file.
For instance, if your profile name you're having trouble with in Gallery Remote is "MyGallery"

alias.0=MyGallery

becomes

alias.0=MyGallery
forceGalleryVersion.0=2

Note also that your entry might not read "alias.0", hence the usage of forceGalleryVersion.n=2 in the instructions (see link above). It would be really nice if the force option were added to the URL GUI in GR.

Hope this helps.

Hello,

I've located the file on my computer and made the changes. Could you please clarify what it is exactly that I need to do now? Do I replace that file on the server as well?

When I looked at my code, it has a bunch of, '\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000' toward the top then finally at the bottom it has the code. One thing I did notice was that on some lines it said, 'glGalleryUrl.0=http\://example.com/path/to/gallery/$GALLERYFILE$'...I'm no coder, but does that look funny? example.com? Shouldn't it me my url?

Any help would be greatly appreciated. Thanks.

 
urflix

Joined: 2007-01-23
Posts: 18
Posted: Fri, 2007-07-13 01:53

>>>>>>HERE IS THE SOLUTION<<<<<<<<

After countless hours, days and yes months of trying to fix this issue, I came across something so obvious that I can't believe I overlooked. I owe it to myself and to everyone out there that is facing this problem. No need to keep trying to research this issue. Hope this can save a lot of you valuable time! Enjoy...

1. Download these zip files and unzipped them:

>>> "remote" (version 1.0.9) - http://prdownloads.sourceforge.net/gallery/g2-module-remote-1.0.9.zip

>>> "upload applet" (1.0.7) - http://prdownloads.sourceforge.net/gallery/g2-module-uploadapplet-1.0.7.zip

2. Open your FTP and go into your gallery folder.

3. Parent directory -> "Your gallery folder" -> modules -> scroll down and you'll see the "remote" and "uploadapplet" folders.

4. Replace these files with the updates you downloaded.

5. Log back into your Gallery -> Site Admin -> Plugins -> and the icons won't be locked anymore and you'll have the option to upgrade them!

6. Remote Gallery will now work!

ENJOY!

URFLiX

 
conan

Joined: 2006-07-06
Posts: 9
Posted: Fri, 2008-09-19 14:26
SDedalus wrote:
I found a fix for this problem, or at least for my manifestation of it.

Edit your preferences file (Windows users will find it buried in %homepath%\.GalleryRemote\GalleryRemote.properties):

Changes are outlined here.

Please note that you can not fix this just by pasting the change into your prefs file. You have to modify this entry to match the other content in the file.
For instance, if your profile name you're having trouble with in Gallery Remote is "MyGallery"

alias.0=MyGallery

becomes

alias.0=MyGallery
forceGalleryVersion.0=2

Note also that your entry might not read "alias.0", hence the usage of forceGalleryVersion.n=2 in the instructions (see link above). It would be really nice if the force option were added to the URL GUI in GR.

Hope this helps.

WORKS FOR ME. THANKS

Action Movie Actor Blog