Error: Server contacted, but Gallery not found at this URL

paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-10-12 18:05

Gruenwald, this looks like a bug that was fixed a couple weeks ago. Which version of G1 are you using?

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 19:42

paour...

I'm using [ebuild R ] www-apps/gallery-1.5_p1, which is the stable version I emerged through gentoo's portage...

My other choice would be gallery-1.5.1 which, in portage, is masked by ~86 keyword.

What do you recommend?

Thanks...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-10-12 19:52

Yeah, I forgot you were using Gentoo. I recommend you move to 1.5.1 (it's only masked because G 1.5.1 is beta, I think.

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 20:00

Any notion as to whether that will likely wipe out my Gallery album setup, as I now have it using my current version?

Thanks...

 
paour
paour's picture

Joined: 2002-08-14
Posts: 1479
Posted: Wed, 2005-10-12 20:05

There shouldn't be any problems, a lot of people use the beta version.

--
Gallery Remote developer

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 20:10

I'll give it a try...

Thanks...

 
Gruenwald

Joined: 2005-01-26
Posts: 19
Posted: Wed, 2005-10-12 23:21

paour...

I'm happy to report that upgrading Gallery as you suggested:

Quote:
I recommend you move to 1.5.1

... has solved the problem!
-
-
Thank you, very much, for your help!

 
smalps
smalps's picture

Joined: 2005-10-15
Posts: 4
Posted: Sat, 2005-10-15 18:06

I'm using GR 1.5.1-b1 with a recent build of Gallery 2 and have been having the same "Server contacted, but Gallery not found at this URL" problem. I have tried both the mod to the .properties file (forceGalleryVersion.0=2) and the fake 404 file, to no avail.

It does work flawlessly with the Gallery 1 installation I left set up (but for which I could not get login working for people using Mac OS's prior to 10.4).

For what it's worth, I'm doing everything from a Mac running OS 10.4.2 to a server running:
PHP version = 4.4.0 cgi
Webserver = Apache/1.3.33 (Unix)
mod_auth_passthrough/1.8
mod_bwlimited/1.4
mod_ssl/2.8.22
OpenSSL/0.9.7a
PHP-CGI/0.1b
Database = mysql 4.0.25-standard
Operating system = Linux 2.6.9-11.ELsmp #1 SMP Wed Jun 8 17:54:20 CDT 2005 i686

(as cheerfully reported by Gallery 2).

I've attached a GR log file, if it'll be helpful. (I hope I stripped out anything too revealing.)

Many, many thanks,

Steve Alper
www.knappalper.com

 
ackcsaba

Joined: 2005-10-27
Posts: 1
Posted: Thu, 2005-10-27 12:13

Hi!

Im using Gallery2 2.0.1 and Gallery remote 1.5.1-b1, if I trying to connect to my gallery with GR i take an error message like this : "Error: Server contacted, but Gallery not found at this URL (http://<url to gallery>/gallery/gallery_remote2.php)"

Pelase write me, what is the solution of this error.

Thanx, and best regards:

Ackermann Csaba

 
Borino

Joined: 2005-11-10
Posts: 1
Posted: Thu, 2005-11-10 04:20

I had the same problem and here is my fix. I had to install a separate module for G2 to make Remote work - it's not part of the install package, but it's available on the Gallery site under Modules. Upload it to the gallery/modules folder, then log in as admin, go to modules section, click install, then activate. Remote works like a charm. Hope this helps.

 
fkelly

Joined: 2005-12-05
Posts: 37
Posted: Wed, 2005-12-07 21:57

Suffering from the same problem after upgrading to PHP nuke 7.6 patched 3.1 with Sentinel. Had Gallery 1.4.4 before upgrade of Nuke and tried upgrading Gallery to 1.5.1 with latest remote once I ran into the problem. Spent days surfing the web and posting unanswered questions with full logs in the remote forum. The "dead" thread is here:

http://gallery.menalto.com/node/18463?from=50#comment-154850

because I came across the posting in this thread about code in mainfile.php of phpnuke 7.6 (actually I think it's Patched 3.1 code, but that doesn't matter). Just for convenience the code is:

Quote:
/* if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (isset($_SERVER['HTTP_REFERER'])) {
if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
die('Posting from another server not allowed!');
}
} else {
die($posttags);
}
} */

Note that I've commented it out. I believe that I've seen postings that this code is problematic in other situations too. I just finished testing pretty thoroughly. If I comment the code out my slideshows using the applet and my applets using the applet work. If I uncomment it then they get the infamous message that kicked off this thread.

I'm not sure that this is the solution for everyone as I have seen postings all over the web that go back several years relating to this situation.

Oh, just for those of you who don't have Nuke around, here are the $posttags that display when an empty referer is passed to mainfile.php:

Quote:
// Die message for empty HTTP_REFERER
$posttags = "<b>Warning:</b> your browser doesn't send the HTTP_REFERER header to the website.<br>";
$posttags .= "This can be caused due to your browser, using a proxy server or your firewall.<br>";
$posttags .= "Please change browser or turn off the use of a proxy<br>";
$posttags .= "or turn off the 'Deny servers to trace web browsing' in your firewall<br>";
$posttags .= "and you shouldn't have problems when sending a POST on this website.";

So, basically the Java applet is talking to a web site that just "dies" in this situation and this message is echoed over into the Java log somehow. Whether Java should be passing a referer back is beyond my level of understanding but removing this check is a work around for certain situations with PHPnuke.

Thanks to the person who found it earlier in this thread!!!

 
Mamba1024

Joined: 2005-12-16
Posts: 1
Posted: Fri, 2005-12-16 07:17

I have XOOPSGallery, which is based on Gallery 1.3.3.

When I upload pictures, it does it for 8-10 pictures, but then it stops and comes for each picture with famous "Server contacted, but Gallery not found at this URL".

What could we do here?

 
gianchi66

Joined: 2007-05-24
Posts: 5
Posted: Thu, 2007-09-06 17:57

I have the same problem trying to connect with Gallery Remote to Gallery v2.

With Gallery v1, Gallery Remote worked great.

 
Opperpanter

Joined: 2007-09-28
Posts: 6
Posted: Fri, 2007-09-28 18:33

I have the same problem with G1.5.7, GalleryRemote fails with the "server contacted, but Gallery not found at this URL"

The Form upload just fails and continues to the processing page with an empty list of items to process.

 
Opperpanter

Joined: 2007-09-28
Posts: 6
Posted: Fri, 2007-09-28 18:37

Hmm just fixed the problem. After all it was still a filesize issue, or better said, a HTTP_POST size issue.

Make sure you set the next 3 values correctly in your php.ini

upload_max_filesize = 100M
post_max_size = 100M
max_input_time = 240 ; Maximum amount of time each script may spend parsing request data

This fixed my problem. I know the values are huge, but hey it works now nicely for uploading big files.

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Fri, 2008-10-10 22:28

Eh, Im getting this error now, I dont have the file its talking about.. I was using this just fine the only thing i can think of that i've done was turned on .htaccess and let gallery write to it AFAIK I have the newest Gallery Remote and Gallery2. I just installed it two days ago and everything else works fine but the watermark feature.

I get this error just when clicking 'Login' I havent even added any files or uploaded yet, and I have php set to use 128mb of ram and upload 16mb files

Gallery version = 2.2.6 core 1.2.0.8
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_bwlimited/1.4 PHP/5.2.6
Database = mysqli 5.0.51a-community-log, lock.system=flock
Toolkits = Gd
Acceleration = none, none
Operating system = Linux server2.nutricoach.net 2.6.18-92.1.10.el5PAE #1 SMP Tue Aug 5 08:14:05 EDT 2008 i686
Default theme = ebony
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3
Rows in GalleryAccessMap table = 45
Rows in GalleryAccessSubscriberMap table = 1295
Rows in GalleryUser table = 2
Rows in GalleryItem table = 1294
Rows in GalleryAlbumItem table = 11
Rows in GalleryCacheMap table = 0

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Fri, 2008-10-10 23:55

It appears the problem fixed itself?

 
OldVolks
OldVolks's picture

Joined: 2003-10-14
Posts: 22
Posted: Sat, 2008-10-11 03:54

And the error is back... I uploaded liek 6 pictures, quit and 3 hours later tried to do one again