Posted on: 12/23/02 11:23pm
By: Anonymous (sancho)
I'd like to plea for help regarding my attempted gallery integration per the instructions and files distributed from squatty.com.
When I login as the Geeklog site admin and attempt to go into my albums.php for gallery, I see that gallery is wrapped correctly inside of geeklog, and my user info is passed correctly ( It recognizes me by name), however there is no method to administer the gallery (add photos, etc.).
I have followed the directions in Integration_Instructions to a "T", copying init.php, wrapper.footer, wrapper.header, User.php and UserDB.php into place and editing config.php as required. The versions: geeklog 1.3.7-1, gallery 1.3.2, geeklogGalleryIntegration_Ver1.3.tar
Please help me find a way to have some means of administration restored to gallery from within geeklog.
TIA
gallery integration not giving admin
Posted on: 12/24/02 10:56am
By: Creator
Hmm... Are you sure that the username you're using has >root< access?---L. Whitworth
www.finiserv.com
fix for gallery 1.3.2-geeklog 1.3.7
Posted on: 12/24/02 11:00am
By: jlhughes
In the gallery/classes/geeklog/user.php find the two lines with
$this->isAdmin = SEC_inGroup('Root', '$uid');
and change them to
$this->isAdmin = SEC_inGroup('Root');
This will enable Gallery to test for Root user under Geeklog 1.3.7 changes to lib-security.php.
gallery integration not giving admin
Posted on: 12/24/02 11:38am
By: Anonymous (Anonymous)
I too have problems with Gallery v1.3.2 and GL 1.3.7 running on IIS 5.0 I am able to manage my gallery through the geeked version only (I am recognized as SUPER USER). I can't however connect with GALLERY REMOTE, or run any of the other GALLERY scripts, I get a bad password messsage. If I remove the integration it works fine. Is anybody else using the gallery integration with Windows and IIS and if so are you having the same problems?
Thanks!!
fix for gallery 1.3.2-geeklog 1.3.7
Posted on: 12/24/02 01:42pm
By: Anonymous (Anonymous)
This fix *should* do the trick...worked for me on my site running GL 1.3.7 and Gallery 1.3.2.
gallery integration not giving admin
Posted on: 12/24/02 04:51pm
By: jlhughes
I don't think the problem with Gallery-Geeklog and Gallery Remote is limited to one particular sytem. I am having the same problem where Gallery Remote won't recognize any usernames with Gallery wrapped inside Geeklog. My setup is entirely *nix and Apache.
I have not had a chance to explore this, but I believe that Gallery Remote calls a Gallery page that loads the Gallery init.php info. I think the confusion is caused by Gallery seeing itself wrapped but Gallery Remote isn't getting the Geeklog user-DB info.
My workaround has been to upload using FTP to a temporary directory and then use the Gallery upload feature to pull the contents of that directory. (Of course, for one or two images, the standard Gallery upload works fine.)
gallery integration not giving admin
Posted on: 12/24/02 08:32pm
By: Anonymous (Anonymous)
Ah, well if you figure it out please post here! The Gallery Remote is a great tool, I too am doing the ftp upload then importing the whole folder.
thanks..
fix for gallery 1.3.2-geeklog 1.3.7
Posted on: 12/25/02 02:11am
By: Anonymous (Anonymous)
Worked for me as well.
Too bad there's no group to administer Gallery from within Geeklog Admin though...
fix for gallery 1.3.2-geeklog 1.3.7
Posted on: 12/25/02 09:49am
By: etegration
Thanks a lot for the help, was just trying to find a fix to this!
fix for gallery 1.3.2-geeklog 1.3.7
Posted on: 12/28/02 02:03pm
By: jlhughes
I have found that I was in error in suggesting removing the $uid from the function call. If you simply the quote around $uid it works under lib-security.php in Geeklog v.1.3.7
In the gallery/classes/geeklog/user.php find the two lines with
$this->isAdmin = SEC_inGroup('Root', '$uid');
and change them to
$this->isAdmin = SEC_inGroup('Root', $uid);
Gallery Remote Now Working
Posted on: 09/12/03 02:20pm
By: emagin
Ok, I don\'t know if this is the right solution for everyone.
This
Forum Post will make Gallery Remote WORK with GL, but only on the Gallery admin and password user (or users).
It does not work with GL security.
But for now it\'s all I need because I just want the ease of GRemote to upload photos. I can give my GL users a common name/pw to do the same