GR 1.1 can find no protocol implementation....

JoeA

Joined: 2003-08-18
Posts: 6
Posted: Mon, 2003-09-08 16:30

Hi,

I have just installed GR v.1.1, created a URL to my gallery but get an error when i try to connect: Gallery Remote can find no protocol implementation at your URL, please verify that this is a valid link.... The link gets me to the file which of course cannot be run in a browser.

My server returns the following error:

PHP Notice: Undefined variable: GALLERY_BASEDIR in /home/webroot/mydomain.com/gallery/gallery_remote.php on line 32

Line 32 is:
require($GALLERY_BASEDIR . "init.php");

init.php is there and has webgroup privs. I am currently running Gallery 1.4-rc2 on this site and it is a standalone.

I'd like to run it on my other site which is embedded into Geeklog...anyone been successful at integrating the two?

OK, so it was 2 questions, not one. Thanks for your help!
Joe :)

 
joel558
joel558's picture

Joined: 2003-04-10
Posts: 93
Posted: Mon, 2003-09-08 17:41

here are instructions for using GR with a gallery embedded in geeklog: http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=31785#31785

I'd guess the instructions would still work with the latest gallery, but I could be wrong...

joel

 
JoeA

Joined: 2003-08-18
Posts: 6
Posted: Tue, 2003-09-09 14:51

thanks, Joel. I'll give that solution a try for the embedded site.

Anyone have suggestions for fixing the standalone? I'm not sure why it's barfing on the init.php as an "undefined variable".

Joe

 
jmullan
jmullan's picture

Joined: 2002-07-28
Posts: 974
Posted: Tue, 2003-09-09 20:06

That's a common php notice - most people turn notices off on production sites. ;)

Are you sure that you updated al of your files? gallery_remote2.php should have this around line 29, which would stop that error message:

if (!isset($GALLERY_BASEDIR)) { 
	$GALLERY_BASEDIR = './'; 
}