Forum Index > FlashYourWeb OS Support > Gallery 2 Bridge New Topic Post Reply
 Blank Admin Page
 |  Printable Version
Anonymous: lay3r3
 September 05 2010 14:25 PM (Read 2660 times)  



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:

Sun 05 Sep 2010 17:16:35 EDT - Gallery2 failed to init
Sun 05 Sep 2010 17:16:35 EDT - Here is the error message from G2:
Sun 05 Sep 2010 17:16:35 EDT - Error (ERROR_MISSING_OBJECT) : 3 GalleryUser <b>in</b> modules/core/classes/helpers/GalleryEntityHelper_simple.class <b>at line</b> 155 (gallerycoreapi::error)
<b>in</b> modules/core/classes/GalleryCoreApi.class <b>at line</b> 2404 (galleryentityhelper_simple::loadentitybyexternalid)
<b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 294 (gallerycoreapi::loadentitybyexternalid)
<b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 270 (galleryembed::login)
<b>in</b> modules/core/classes/GalleryEmbed.class <b>at line</b> 120 (galleryembed::checkactiveuser)
<b>in</b> /homepages/19/d205540701/htdocs/protected/dgulick_geek/plugins/G2Bridge/functions.inc <b>at line</b> 2149 (galleryembed::init)
<b>in</b> /homepages/19/d205540701/htdocs/protected/dgulick_geek/plugins/G2Bridge/functions.inc <b>at line</b> 1330
<b>in</b> /homepages/19/d205540701/htdocs/protected/dgulick_geek/system/lib-plugins.php <b>at line</b> 1481
<b>in</b> /homepages/19/d205540701/htdocs/dgulick/lib-common.php <b>at line</b> 1222
<b>in</b> /homepages/19/d205540701/htdocs/dgulick/admin/plugins/G2Bridge/index.php <b>at line</b> 46



 
Quote
suprsidr
 September 05 2010 14:37 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

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?

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: lay3r3
 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.


 
Quote
Anonymous: lay3r3
 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


 
Quote
Anonymous: lay3r3
 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
Location http://www.dgulick.com/admin/plugins.php?mode=autoinstall&plugin=G2Bridge&confirmed=true&_glsectoken=0f19005d2205268044b9f79deb29f23a
User Id 0
Client 24.107.11.147
Summary [Notice] Undefined index: in file /homepages/19/d205540701/htdocs/protected/dgulick_geek/plugins/G2Bridge/functions.inc on line 2018
Referer http://www.dgulick.com/admin/plugins.php?mode=autoinstall&plugin=G2Bridge&_glsectoken=d5d0b2c411b4dd080a1a6739f7a3b93a
Details Undefined index:


 
Quote
suprsidr
 September 05 2010 15:18 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

there is something way fishyer going on here, the errors don't make sense nor do they seem to correspond to the line numbers.

Are you sure you're using the latest build?


There will always be...
 
Profile Email Website
Quote
Anonymous: lay3r3
 September 05 2010 19:35 PM  


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?


 
Quote
suprsidr
 September 05 2010 19:59 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

PHP 4 or 5?


There will always be...
 
Profile Email Website
Quote
suprsidr
 September 05 2010 20:32 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

I just updated the archive with all my latest fixes.
The only modified file is functions.inc

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: lay3r3
 September 06 2010 07:54 AM  


Looks like its 4.4.9

downloading the updated version now.


 
Quote
Anonymous: lay3r3
 September 06 2010 09:09 AM  


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
/<root>
/dgulick <public_html>
/gallery
/geek
/protected <restricted access>
/dgulick_g2data
/dgulick_geek
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 1.3.0.1
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


 
Quote
suprsidr
 September 06 2010 09:23 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

try activating the imageblock module in your gallery(standalone)

I keep forgetting to add a check for that. Imageblock is usually installed by default.

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: lay3r3
 September 06 2010 09:32 AM  


I validated that before installing the G2Bridge. I just reinstalled the site again but this time I downgraded Geek further to 1.6.1 rather than 1.6.1sr1.

I've just finished setting up Geek and now copying the folders over to do G2Bridge installation.


 
Quote
suprsidr
 September 06 2010 09:43 AM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

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.

-s


There will always be...
 
Profile Email Website
Quote
Anonymous: lay3r3
 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.


 
Quote
Anonymous: lay3r3
 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.... Smile


 
Quote
suprsidr
 September 06 2010 12:33 PM  
Forum Admin
Admin

Status: offline

Registered: 12/20/06
Posts: 1221

Nope, no G3 developement yet, I like G2 way way way better.


There will always be...
 
Profile Email Website
Quote
Content generated in: 0.74 seconds
New Topic Post Reply



 All times are PST. The time is now 05:05 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
HTML Allowed 
Censored Content