Hello,
I have read the FAQ, I have searched the forums for every recent post that discusses my problem and have tried every suggestion that I have found. (apart from installing the latest build of Gallery 2)
I am using Gallery Remote 1.5.1-b1 and my system information is
Gallery version = 2.0 core 1.0.0
PHP version = 4.3.4 cgi-fcgi
Webserver = Microsoft-IIS/6.0
Database = mysql 3.23.58-max-nt
Toolkits = Exif, ImageMagick, Thumbnail
Operating system = Windows NT DEADBOLT 5.2 build 3790
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
I am getting the error "Server contacted, but Gallery not found at this URL". Are there any new suggestions for this problem? Or have I missed the solution to my problem in these forums?
Any help is appreciated.
Thanks
Posts: 1479
Can you post the GR log of trying to log on?
Gallery Remote developer
Posts: 5
Hi, I have searched for the log explained in the FAQ, but it is just not turning up. I set GR to spew its log information to the console. This is what is generated when I attempt to login.
19156|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL ( http://pix.sboux.com/gallery_remote2.php )
21531|TRACE|GalComm2 |Failed to log in to pix.sboux.com
37094|INFO |MainFrame |Command selected Fetch
37094|INFO |MainFrame |fetchAlbums starting
37125|INFO |GalComm2 |Logging in to pix.sboux.com
37125|TRACE|GalComm2 |login parameters: [HTTPClient.NVPair[name=cmd,value=login], HTTPClient.NVPair[name=protocol_version,value=2.3],
HTTPClient.NVPair[name=uname,value=sboux], null]
37125|TRACE|GalComm2 |Connecting to: http://pix.sboux.com/gallery_remote2.php
37125|TRACE|GalComm2 |Path: /gallery_remote2.php
37125|TRACE|GalComm |Sending cookie: PHPSESSID=71cdb623615ff3633851509d53d7e0f8; path=/; domain=.pix.sboux.com
37203|TRACE|GalComm |Accepting cookie: PHPSESSID=71cdb623615ff3633851509d53d7e0f8; path=/; domain=.pix.sboux.com
37203|TRACE|GalComm2 |No input file specified.
37203|ERROR|GalComm2 |com.gallery.GalleryRemote.GR2Exception: Server contacted, but Gallery not found at this URL (
http://pix.sboux.com/gallery_remote2.php )
at com.gallery.GalleryRemote.GalleryComm2.requestResponse(GalleryComm2.java:1393)
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)
37203|INFO |GalComm2 |Error: Server contacted, but Gallery not found at this URL ( http://pix.sboux.com/gallery_remote2.php )
38469|TRACE|GalComm2 |Failed to log in to pix.sboux.com
I hope this is what you where looking for.
Thanks again.
Posts: 1479
Do you have a gallery_remote2.php file in your gallery2 directory? When I went to the URL (http://pix.sboux.com/gallery_remote2.php), I got a page with the text No input file specified, which is not what's supposed to happen: I'm supposed to get a 404 error.
Gallery Remote developer
Posts: 3
I have the same problem - for me it's because of a bug with IIS and PHP. For *any* .php file that doesn't exist I get a "No input file specified" because this is the message back from the installation of PHP on my system!
PHP should really return a 404 error.
Even creating a gallery_remote2.php file that tries to write a 404 page doesn't work for me
So I've had to ask my users to force the gallery version in the galleryRemote.properties file.
Posts: 5
No I do not have a gallery_remote2.php file in my gallery2 directory. I can assume that I never have because I haven't tampered with any of the files in that directory.
Interestingly, I was just able to connect to my gallery with gallery remote. I created a virtual directory pointing to gallery off my domain name. I can now connect with gallery remote using http://www.sboux.com/gallery/.
I am still not able to connect using http://pix.sboux.com, but I can browse the site using either URL.
I'm sure there is some sort of explaination for this. But I don't have it
Posts: 3
Sboux,
The reason (I should have explained a bit better in my previous post) is because Gallery Remote is doing a version check on the Gallery you have. It does this by looking for the file gallery_remote2.php.
If it exists, then this is a Gallery v1.x installation.
If it doesn't exist, then this is a Gallery v2.x installation
In your case, you have Gallery 2.0 installation, but if you do a http://pix.sboux.com/gallery_remote2.php you don't get a 404 File not found error (try it and see what you get!). So now it looks to Gallery Remote that you have a v1.x installation... but you don't
Hope this explains it a bit better.
Posts: 2
Hello,
For me I've same error message, but logs are differents.
When I send COOKIE, i've not 'accepting' state and have in return, an error page saying i've Security Violation.
I'm sure on my login and password.
I've got this problem since i've installed G2.
I use last Gallery Remote version. (1.51-b10)
Gallery Remote is included into drupal with a module (0.91)
have you an idea about my problem ?
Thx
PS: I forgot, but 'http://127.0.0.1/Blog/modules/gallery/li
b/main.php' is accessible and no rights problem.
Posts: 1479
With G2, you don't have to declare that your Gallery is embedded in GR like you did with G1: just use the normal G2 URL.
--
Gallery Remote developer
Posts: 2
Hi Paour,
Thanks for your answer, but I don't really understand what i've to do.
Can you explain the fact I don't have to declare that Gallery is not embedded in GR.
This is my GR account configuration :
Login informations
Gallery Type : Stand Alone
Gallery URL : http://127.0.0.1/Blog/modules/gallery/lib/
The import Remote module is activated in G2 modules.
What have I to change in those parameters ?
Thx
Posts: 1479
You have to change the Gallery URL to wherever your Gallery 2 is installed (where you extracted the G2 zip file to).
--
Gallery Remote developer
Posts: 6
I have the same exact problem. My gallery remote was working until I updated it using the Fantastico scripts provided by my web host. Now I cannot use gallery remote. The files were not present in my gallery directory. I copied both gallery_remote.php and gallery_remote2.php from the backup of my old gallery 2.0 into the current gallery directory, but I still get the same msg as documented in this post.
Here's what I get if I try to access gallery_remote2.php in a browser:
Warning: main(/home/jamm/public_html/amarante/gallery/init.php): failed to open stream: No such file or directory in /home/jamm/public_html/amarante/gallery/gallery_remote2.php on line 25
Fatal error: main(): Failed opening required '/home/jamm/public_html/amarante/gallery/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jamm/public_html/amarante/gallery/gallery_remote2.php on line 25
Before I start copying more files, can someone offer another solution?
Posts: 1479
First, neither gallery_remote.php nor gallery_remote2.php should be anywhere in G2, except to overcome the bad 404 error.
The best way to do that is to force GR to use the G2 (rather than G1) protocol: http://codex.gallery2.org/index.php/GalleryRemote:FAQ#Connecting_to_a_G2_installation:_Server_contacted.2C_but_Gallery_not_found_at_this_URL
--
Gallery Remote developer
Posts: 6
Ok, I'm not getting a 404 error, just the msg that's in the title of this forum post:
Server contacted, but Gallery not found at this URL
My GR was working prior to the 2.02 patch. How do I fix this problem?
Posts: 1479
jamarante: this error is what GR says whenever it can't log it, for whatever reason. You'll need to attach the log for me to find out what's really happening...
--
Gallery Remote developer
Posts: 6
Sorry, I'm new to this.
I've attached the log...
Posts: 1479
jamarante: the problem is that despite the fact that you have a G2, it responds positively when GR tries to find out if it's a G1. Please apply the solution I pointed out in my previous post.
--
Gallery Remote developer
Posts: 6
Great, that worked! I was getting the 404 already, so I had to use the second option. I had tried to edit the file while GR was running. It appeared to save, but GR still didn't work. I checked it one more time without GR running, and the .property file changes hadn't saved. Second try worked.
Thanks again for all the help.
Posts: 23
I found this problem in these two days.
I have setup a new computer and new G2,
after all the method I found in this forum, all cannot work but until I delete the log file in %temp%.
It ok now.
Just for your ref.
Posts: 1
Here is my log file. Can you tell me what is wrong with my url.
http://photos.mruiz.com = http//mruiz.com/gallery2
Posts: 1479
mruiz-gal, did you enable the remote module on your Gallery?
--
Gallery Remote developer
Posts: 2
I had this problem when I've used "Upload applet" to upload *.avi movie files. However I was only getting it when files were over 2MB.
So I have changed my php settings to 100 MB, but now files that are like 40M are rejected. I realize there are browser side restrictions, but is that the end of the road? or is there still a way to upload those big files?
Posts: 1479
tabu: for really large movie files, I think the best solution is to place them on a web server and use G2's import from URL.
--
Gallery Remote developer
Posts: 2
I have no problem with that, but my older parents do...
Posts: 1479
Gallery is ill-equipped to handle movies that size, since it relies on PHP, which is flawed in that respect.
--
Gallery Remote developer
Posts: 57
i am having same prob... i have tried all suggested fixes but no joy...
i get "error: server contacted, but gallery not found at this url (http://www.scottnemiro.com/gallery/main.php"
Posts: 10
Server contacted etc error... I've attached my log file can someone look at it please and tell me my course of action... Also where can i find the remote module? Activate/install ????
thx Rav
email or post here
[img]http://rav.horca.org/images/Capture1.BMP[/img]
[img]http://rav.horca.org/images/Capture2.BMP[/img]
Posts: 13
Yeah same problem here... still trying out some suggested fixes.. but still hoping it would be good rightaway! Thnx though for all the information.
Posts: 15
I wanted to give some input on this error that I also had. I use Drupal and recently deployed Global Redirect for SEO Purposes (http://drupal.org/project/globalredirect). Upon doing so my gallery remote broke. This has to do with Drupal taking over the 404 pages and rewriting. Creating the gallery_remote2.php file and putting it in the root directory where gallery was installed worked. However, I had to open the file in my web browser once before remote started working.