Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 01:59 am EST
Geeklog Forums
GL_Gallery2 Plugin 0.4.0 - Installation Problem
Ok,....here goes..
Problem
======
Installation of GL_Gallery2 Plugin 0.4.0 delivers the following error messages in the geeklog log during the installation, on the top of that..after the installlation is completed instead of getting an installation successfull page..the page remains blank as if something is happening, but with no results.. during this phase,
===================================
Fri Nov 4 23:15:33 2005 - Installing the GL_Gallery2 plugin
Fri Nov 4 23:15:33 2005 - Creating {$name} group
Fri Nov 4 23:15:33 2005 - GL_Gallery2 Admin group ID is 22
Fri Nov 4 23:15:33 2005 - Creating {$name} group
Fri Nov 4 23:15:33 2005 - GL_Gallery2 View group ID is 23
Fri Nov 4 23:15:33 2005 - Adding GL_Gallery2.admin feature
Fri Nov 4 23:15:33 2005 - Feature 'GL_Gallery2.admin' has ID 34
Fri Nov 4 23:15:33 2005 - Adding GL_Gallery2.view feature
Fri Nov 4 23:15:33 2005 - Feature 'GL_Gallery2.view' has ID 35
Fri Nov 4 23:15:33 2005 - Adding feature [34] to group [22]
Fri Nov 4 23:15:33 2005 - Adding feature [35] to group [22]
Fri Nov 4 23:15:33 2005 - Adding feature [35] to group [23]
Fri Nov 4 23:15:33 2005 - Adding block (glg_rand_photo, Random Photo, phpblock_GLG_rand_photo, 23) : []
Fri Nov 4 23:15:33 2005 - Adding block (glg_block, Gallery2, phpblock_GLG_block, 23) : []
Fri Nov 4 23:15:33 2005 - Giving all users in Root group access to GL_Gallery2 admin group
Fri Nov 4 23:15:33 2005 - Giving all users access to GL_Gallery2 View group
Fri Nov 4 23:15:33 2005 - Registering GL_Gallery2 plugin with Geeklog
Fri 04 Nov 2005 23:23:05 CET - Failed to init() G2.
Fri 04 Nov 2005 23:23:05 CET - Here is the error message from G2:
Fri 04 Nov 2005 23:23:06 CET - Error (ERROR_MISSING_OBJECT) : 2 GalleryUserin modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 138 (gallerystatus::error)
in modules/core/classes/GalleryCoreApi.class at line 2225 (galleryentityhelper_simple::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 184 (gallerycoreapi::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 94 (galleryembed::checkactiveuser)
in /usr/local/gl_kamakazi/plugins/GL_Gallery2/functions.inc at line 605 (galleryembed::init)
in /usr/local/gl_kamakazi/plugins/GL_Gallery2/functions.inc at line 208
in /usr/local/gl_kamakazi/system/lib-plugins.php at line 922
in /web/kamakazi/public_html/lib-common.php at line 961
in /web/kamakazi/public_html/admin/plugins/GL_Gallery2/install.php at line 307
==============================================
If i check the logs before i break off the page,
i see untill this part in the logs
....
Fri 04 Nov 2005 23:23:05 CET - Failed to init() G2.
after i break off the browser, after waiting 5 minutes, then the rest after above mentioned line is displayed..
* now i must admit, tyring to understand the CONFIG path in the GL_Gallery2 plugin config.php was very confusing, so i really don't know if i got it right..
this is my current config.php for the GL_Gallery2 plugin
====================================
$_GLG_CONF['G2_path'] = '/web/kamakazi/public_html/g2';
$_GLG_CONF['G2_relative_path'] = 'g2';
$_GLG_CONF['public_dir'] = 'GL_Gallery2';
$_GLG_CONF['random_photo_fields'] = 'title|date|views';
====================================
also, i'm using Gallery2 in multisite mode...
Gallery2 is installed in the "g2" map
This is my directory structure
Geeklog structure outside web pages
Geeklog structure inside web pages
De-installing and re-installing yields the same results...
thanks in advance for any advise..
~~~ The science of doing it right ~~~
Problem
======
Installation of GL_Gallery2 Plugin 0.4.0 delivers the following error messages in the geeklog log during the installation, on the top of that..after the installlation is completed instead of getting an installation successfull page..the page remains blank as if something is happening, but with no results.. during this phase,
===================================
Fri Nov 4 23:15:33 2005 - Installing the GL_Gallery2 plugin
Fri Nov 4 23:15:33 2005 - Creating {$name} group
Fri Nov 4 23:15:33 2005 - GL_Gallery2 Admin group ID is 22
Fri Nov 4 23:15:33 2005 - Creating {$name} group
Fri Nov 4 23:15:33 2005 - GL_Gallery2 View group ID is 23
Fri Nov 4 23:15:33 2005 - Adding GL_Gallery2.admin feature
Fri Nov 4 23:15:33 2005 - Feature 'GL_Gallery2.admin' has ID 34
Fri Nov 4 23:15:33 2005 - Adding GL_Gallery2.view feature
Fri Nov 4 23:15:33 2005 - Feature 'GL_Gallery2.view' has ID 35
Fri Nov 4 23:15:33 2005 - Adding feature [34] to group [22]
Fri Nov 4 23:15:33 2005 - Adding feature [35] to group [22]
Fri Nov 4 23:15:33 2005 - Adding feature [35] to group [23]
Fri Nov 4 23:15:33 2005 - Adding block (glg_rand_photo, Random Photo, phpblock_GLG_rand_photo, 23) : []
Fri Nov 4 23:15:33 2005 - Adding block (glg_block, Gallery2, phpblock_GLG_block, 23) : []
Fri Nov 4 23:15:33 2005 - Giving all users in Root group access to GL_Gallery2 admin group
Fri Nov 4 23:15:33 2005 - Giving all users access to GL_Gallery2 View group
Fri Nov 4 23:15:33 2005 - Registering GL_Gallery2 plugin with Geeklog
Fri 04 Nov 2005 23:23:05 CET - Failed to init() G2.
Fri 04 Nov 2005 23:23:05 CET - Here is the error message from G2:
Fri 04 Nov 2005 23:23:06 CET - Error (ERROR_MISSING_OBJECT) : 2 GalleryUserin modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 138 (gallerystatus::error)
in modules/core/classes/GalleryCoreApi.class at line 2225 (galleryentityhelper_simple::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 184 (gallerycoreapi::loadentitybyexternalid)
in modules/core/classes/GalleryEmbed.class at line 94 (galleryembed::checkactiveuser)
in /usr/local/gl_kamakazi/plugins/GL_Gallery2/functions.inc at line 605 (galleryembed::init)
in /usr/local/gl_kamakazi/plugins/GL_Gallery2/functions.inc at line 208
in /usr/local/gl_kamakazi/system/lib-plugins.php at line 922
in /web/kamakazi/public_html/lib-common.php at line 961
in /web/kamakazi/public_html/admin/plugins/GL_Gallery2/install.php at line 307
==============================================
If i check the logs before i break off the page,
i see untill this part in the logs
....
Fri 04 Nov 2005 23:23:05 CET - Failed to init() G2.
after i break off the browser, after waiting 5 minutes, then the rest after above mentioned line is displayed..
* now i must admit, tyring to understand the CONFIG path in the GL_Gallery2 plugin config.php was very confusing, so i really don't know if i got it right..
this is my current config.php for the GL_Gallery2 plugin
====================================
$_GLG_CONF['G2_path'] = '/web/kamakazi/public_html/g2';
$_GLG_CONF['G2_relative_path'] = 'g2';
$_GLG_CONF['public_dir'] = 'GL_Gallery2';
$_GLG_CONF['random_photo_fields'] = 'title|date|views';
====================================
also, i'm using Gallery2 in multisite mode...
Gallery2 is installed in the "g2" map
This is my directory structure
Geeklog structure outside web pages
Geeklog structure inside web pages
De-installing and re-installing yields the same results...
thanks in advance for any advise..
~~~ The science of doing it right ~~~
7
9
Quote
Status: offline
asmaloney
Forum User
Full Member
Registered: 02/08/04
Posts: 214
SidiMustafa,
From what I can tell from the Gallery2: Embedding Development Roadmap wiki, multisite is not yet supported by the G2 embedded interface... Sorry.
The path confusion is well-known but they haven't come up with a better solution yet. The document Gallery2: Integration Howto describes the paths in the section Writing New Integration Code. I've tried to make it easier by constructing two of the paths, but I completely understand how confusing it is - I find it difficult too...
If anyone has suggestions on rewording my paths example in config.php to make it clearer, please speak up!
- Andy
From what I can tell from the Gallery2: Embedding Development Roadmap wiki, multisite is not yet supported by the G2 embedded interface... Sorry.
The path confusion is well-known but they haven't come up with a better solution yet. The document Gallery2: Integration Howto describes the paths in the section Writing New Integration Code. I've tried to make it easier by constructing two of the paths, but I completely understand how confusing it is - I find it difficult too...
If anyone has suggestions on rewording my paths example in config.php to make it clearer, please speak up!
- Andy
8
8
Quote
Status: offline
SidiMustafa
Forum User
Newbie
Registered: 09/12/05
Posts: 12
Location:[NL]
So, it's a gallary2 thingy, and not the plug-in..
thanks for the advise andy...
~~~ The science of doing it right ~~~
thanks for the advise andy...
~~~ The science of doing it right ~~~
7
8
Quote
Status: offline
samstone
Forum User
Full Member
Registered: 09/29/02
Posts: 820
I don't know where you guys are in this journey, but I just started using G2 with multisites setting and GL_Gallery2 plugin works fine on the multisites. You just need to add a few more files to the Gallery2 folder. The files are:
/gallery2/modules/core/classes/ExternalIdMap.class
/gallery2/modules/core/classes/interfaces/ExternalIdMap.inc
Sam
/gallery2/modules/core/classes/ExternalIdMap.class
/gallery2/modules/core/classes/interfaces/ExternalIdMap.inc
Sam
10
8
Quote
All times are EST. The time is now 01:59 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content