gallery_remote2.php error
fredriley
Joined: 2005-12-16
Posts: 19 |
Posted: Mon, 2006-01-09 20:00 | |||
Hi all I'm sorry, both for forum users and myself, to have to post to these fora again, but what I'd hoped would be a wash 'n' go test of Gallery Remote has taken me 2 hours already without any positive result. I'm testing Gallery 2 on a standalone offline Windows XP portable (see attached phpinfo for details), and have installed the latest Gallery Remote on the same machine with the Java VM. In Gallery Remote I connect to the G2 installation at the URL http://127.0.0.1/gallery2/main.php and get the familiar (from what I can see on the fora) error about Gallery not being found at the URL: http://127.0.0.1/gallery2/main.php/gallery_remote2.php So far so normal, so it seems. So I've searched the fora and FAQs (see below) for possible solutions, and the suggested fixes are: 1. Create a fake gallery_remote2.php file in the G2 root. Done. The same error continues to appear. Does anyone have any other (polite) suggestions as to what I could do? Many TIA. Documents read Forum threads: http://gallery.menalto.com/node/31865 <sigh>I do like the G2, its interface, and its stack of features, but it's been really, really hard work to install, configure and test, much harder than just about any other piece of software I've tested in the last decade. I'm sure we'll be using it and coughing up a donation, but I'm having to write a 10-page technical document describing how to get it installed, configured and running for our server administrator (and for myself, in the future). I do think the documentation needs pulling together and, even better, made available as offline docs. </sigh>
|
||||
Posts: 1479
Sorry you're having difficulties getting G2/GR to run correctly. You're certainly right about the shortcomings of the documentation. I'm sure we'd be more grateful for the manual you wrote, if it's general enough than any monetary donation
Could you attach the GR log of trying to connect to the G2 server?
http://codex.gallery2.org/index.php/GalleryRemote:FAQ#Log.2C_what_log.3F
--
Gallery Remote developer
Posts: 19
I'll happily do both. We'll be using Gallery with Joomla for a national project, and as both are free I think it's only right that we donate something to both to help further development and express gratitude. I don't hold the purse strings, mind, but I can make a strong recommendation...
When I write the installation document I'll try to tidy it up for public consumption and post it here as a draft.
Ok, I've attached a log which should register one attempt to login to G2 at 127.0.0.1/gallery2/main.php at 14:53.
Cheers
Fred
Posts: 1479
Easy answer: you shouldn't specify main.php at the end of your URL, just http://127.0.0.1/gallery2/ .
Also please note that there is currently an unresolved issue between a Joomla-embedded G1 and GR. I don't think this would affect a Joomla-embedded G2.
--
Gallery Remote developer
Posts: 19
I did try that before posting to this forum but got a protocol error:
"no protocol implementation at the URL http://127.0.0.1/gallery2/index.php" etc.
I didn't mention it because I didn't want to muddy the waters. Anyway, I've tried again and got the same error. I've searched the fora for the phrase "no protocol implementation" and I see this error occurs with both GR and the upload applet but that there's no clearcut solution. The error also occurs with the URL http://127.0.0.1/gallery2/index.php unsurprisingly.
I suspect that this might be down to the Apache configuration, as if I go to http://127.0.0.1/gallery2/ in Firefox or IE I get a directory listing, rather than Apache picking up index.php by default. I did think that the error might be related to my testing offline, but the forum threads indicate that users are having the protocol problem with online installations. I did try to test if the Upload Applet gave the same error, but that just won't work offline.
I think the best thing to do is to install Gallery online in our Joomla installation and test it there and see if these problems recur. There's no further point in solving problems offline which might not arise online, or spending more time solving problems on a test platform when we've decided to go with Joomla and Gallery. I'll come back to this forum if/when I run into these or other problems online.
Thanks for the warning.
Cheers
Fred
Posts: 1479
Yes, if index.php is not recognized as the index file, lots of things are not going to work, GR among them. Good luck.
--
Gallery Remote developer
Posts: 19
Just for info, I've just now changed the Apache config, adding index.php to the default DirectoryIndex directive:
DirectoryIndex index.html index.html.var index.php
and restarted Apache, and when I tried 127.0.0.1/gallery2/ in IE and Firefox they both displayed the Gallery home page, not a directory listing as before. And finally Gallery Remote connects to the server - woo hoo!
So, for anyone coming to this thread experiencing the same problem, try editing the Apache config as above, restarting the server, then restarting Gallery Remote.
I'll add this fix to the documentation I'm writing.
Cheers
Fred
Posts: 57
i am experiencing same prob... i dont understand where the DirectoryIndex line is located... which file?
Posts: 19
The Apache config file is httpd.conf
Posts: 1
I had the same error and the only thing that I had changed was a .htaccess file and when I removed it this error went away.
Posts: 5
Hello again
I'm sorry for my insistence, but I have this error and I don't find the solution
I try the Gallery 2.1.2 and 2.2 RC-2, in the remote server powweb.com and the gallery installation work ok, but I can't connect with Gallery Remote, I add this line "DirectoryIndex index.php" in my "general" htaccess and the .htaccess into /pictures/ gallery... but don't work
can you help me?
Sorry for my bad english, thanks in advance and regards from spain!