I just installed Bridge to a new installation. The initial problem was an issue with the function file in which another forum post cleared up. The install seemed to go okay after that except for the configuration page for Bridge won't open. When I click on the link to go to /G2Bridge/index.php I get an Error 500 - Internal server error and the Geek log output has the following:
Looks like your uid(user id) was not mapped to gallery on install.
Try uninstall/reinstall of the g2bridge plugin.
Can you tell me the initial issue? which forum post resolved it?
There will always be...
September 05 2010 14:44 PM
Initially after I copied the files to the appropriate place, when I clicked "install" on the plugin page, the page went blank. When I tried to go to the home page it popped up with an error on the screen only. I made the adjustment to the PHP per your suggestion to the user in this post: http://www.flashyourweb.com/forum/viewtopic.php?showtopic=2536
that allowed me to get back into the Geek administration and everything looked normal as far as showing the Bridge plugin installed, having the configuration fields, etc. But, when I tried to go to the admin that's where the blank comes in.
I'll reinstall the plugin.
September 05 2010 14:48 PM
I went to the plugin administration page, clicked the edit icon for G2Bridge, selected Delete. Went back to the plugin administration page, clicked install, made the appropriate corrections for the path (I used gallery rather than gallery2 for the G2 locations) and this time the Error 500 popped up with the URL showing as http://www.dgulick.com/admin/plugins.php?msg=44
Now I'm not able to access the core page at all. hmmm
September 05 2010 14:49 PM
Also, just looked at the event log in Gallery administration and see this:
Date Sun 05 Sep 2010 05:51:18 PM EDT
Type PHP Error
User Id 0
Summary [Notice] Undefined index: in file /homepages/19/d205540701/htdocs/protected/dgulick_geek/plugins/G2Bridge/functions.inc on line 2018
Details Undefined index:
It is fishy! I am using that latest build but I did download the older version of Geek (1.6.1) rather than the current 1.7.
I took a backup of the file structure so I can blow away the web instance, drop the tables, and restore it all. Perhaps update the functions error prior to the initial install? I have different usernames between Gallery and Geek. Is that a problem?
Completely at a loss now. None of the geek pages will load after installing the plugin. Gallery still works fine though.
Here's the steps I took:
1) deleted all directories
2) setup new directories
/protected <restricted access>
3) dropped applicable tables from both DB's (one for gallery2 and one for Geek)
4) performed install for multi-user gallery2 site
Gallery URL = http://www.dgulick.com/gallery/main.php
Gallery version = 2.3.1 core 22.214.171.124
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.9 cgi
Webserver = Apache
Database = mysqlt 5.0.81-log, lock.system=flock
Operating system = Linux infong 2.4 #1 SMP Tue Dec 18 22:34:10 UTC 2007 i686 GNU/Linux
5) setup admin and password to match what would be used in Geek
6) added a couple of pictures to an album
7) installed geek 1.6.1sr1
8) changed password on admin account to match password on gallery2
9) validated install working
10) copied most recent G2Bridge over to site, moved files to appropriate locations
11) went to plugin page on admin page of Geek
12) click <install> on G2Bridge plugin
13) adjusted defaults on paths to reflect gallery rather than gallery2
14) adjusted defaults on URL's to reflect www.dgulick.com/gallery rather than www.dgulick.com/geek/gallery2
15) install went through and page returns Error 500, internal server error
16) geek logs show:
Mon 06 Sep 2010 11:57:10 EDT - Attempting to install the 'G2Bridge' plugin
Mon 06 Sep 2010 11:57:10 EDT - Attempting to create 'G2Bridge Admin' group
Mon 06 Sep 2010 11:57:10 EDT - Attempting to add 'G2Bridge' features
Mon 06 Sep 2010 11:57:10 EDT - Adding 'G2Bridge.admin' feature to the 'G2Bridge Admin' group
Mon 06 Sep 2010 11:57:10 EDT - Attempting to give all users in the Root group access to the 'G2Bridge' Admin group
Mon 06 Sep 2010 11:57:10 EDT - Registering 'G2Bridge' plugin
Mon 06 Sep 2010 11:57:10 EDT - G2B install complete autoinstall.php
Mon 06 Sep 2010 11:57:10 EDT - Adding block (G2B_rand_photo, Random Photo, phpblock_G2B_rand_photo, 2) : 
Mon 06 Sep 2010 11:57:10 EDT - Adding block (G2B_block, Gallery2, phpblock_G2B_block, 2) : 
Mon 06 Sep 2010 11:57:10 EDT - Mapping users from GL into G2
Mon 06 Sep 2010 11:57:10 AM EDT - ERROR_COLLISION, added external ID to map for userId 2
Mon 06 Sep 2010 11:57:10 AM EDT - retrieved user from G2 Admin
Mon 06 Sep 2010 11:57:10 AM EDT - added user with a G2 id of 6 to admin group 3
Mon 06 Sep 2010 11:57:10 AM EDT - G2B admin_user_mapped_to_g2 autoinstall.php
Mon 06 Sep 2010 11:57:10 AM EDT - Successfully installed the 'G2Bridge' plugin!
17) gallery event log is blank
You should not need to downgrade.
G2Bridge has been tested w/ Geeklog 1.7.x and works as expected.
There could be something special about your php environment.
Checking your server's error_log (not geeklog's) is the best way to troubleshoot.
Furthermore, I have a handy script for disabling the plugin if your site becomes unstable or unresponsive.
There will always be...
September 06 2010 09:56 AM
Gotcha. Same result as you would have expected.
I'm poking around the logs... my provider doesn't grant a ton of access so trying to see where they keep the error logs.
September 06 2010 12:08 PM
Unfortunately since I'm on a lower end hosting platform the debugging is limited at best. Wasn't able to get it figured out. I've taken that particular site to gallery3 so I'll wait and see if I have better luck with the bridge once it's a G3Bridge version. Assuming it's not already working on g3....