Gallery 3 ldap module problem

dougbar

Joined: 2010-10-07
Posts: 15
Posted: Sun, 2011-02-13 20:00

I am having trouble getting the Gallery 3 ldap module working.
I installed it into my Gallery 3.0.1) modules directory, then activated it from the admin modules page.
Since then I have not been able to access the gallery at all (Dang... Something went wrong!...).

I check the gallery3/var/logs directory and each time I attempt to view the gallery I get the error message listed below.
I also checked MySQL database and the g3_modules has no ldap entry.
I installed a clean copy of gallery 3.0.1 and copied my /var folder from the old to the new directory and I still see the same problem.

I would like to first undo the changes introduced by activating the ldap module so that I can restore the local authentication

I would then like to be referred to an explanation of how to implement the ldap module (if it is available).

Thanks, Doug

2011-02-13 14:24:14 -05:00 --- error: load_user Exception: @todo MISSING_MODEL user:1
#0 /files/web/gallery3/modules/user/helpers/user.php(35): model_cache_Core::get('user', 1)
#1 /files/web/gallery3/modules/user/libraries/drivers/IdentityProvider/Gallery.php(28): user_Core::guest()
#2 /files/web/gallery3/modules/gallery/libraries/IdentityProvider.php(173): IdentityProvider_Gallery_Driver->guest()
#3 /files/web/gallery3/modules/gallery/helpers/identity.php(147): IdentityProvider_Core->guest()
#4 /files/web/gallery3/modules/gallery/helpers/identity.php(64): identity_Core::guest()
#5 /files/web/gallery3/modules/gallery/helpers/gallery_event.php(26): identity_Core::load_user()
#6 /files/web/gallery3/modules/gallery/helpers/module.php(375): gallery_event_Core::gallery_ready()
#7 /files/web/gallery3/modules/gallery/helpers/gallery.php(96): module_Core::event('gallery_ready')
#8 [internal function]: gallery_Core::ready(Array)
#9 /files/web/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#10 /files/web/gallery3/application/Bootstrap.php(58): Event_Core::run('system.ready')
#11 /files/web/gallery3/index.php(102): require('...')
#12 {main}
2011-02-13 14:24:14 -05:00 --- error: Exception [ 0 ]: @todo MISSING_MODEL user:1
/files/web/gallery3/modules/gallery/helpers/model_cache.php [ 27 ]
#0 /files/web/gallery3/modules/user/helpers/user.php(35): model_cache_Core::get('user', 1)
#1 /files/web/gallery3/modules/user/libraries/drivers/IdentityProvider/Gallery.php(28): user_Core::guest()
#2 /files/web/gallery3/modules/gallery/libraries/IdentityProvider.php(173): IdentityProvider_Gallery_Driver->guest()
#3 /files/web/gallery3/modules/gallery/helpers/identity.php(147): IdentityProvider_Core->guest()
#4 /files/web/gallery3/modules/gallery/helpers/identity.php(118): identity_Core::guest()
#5 /files/web/gallery3/modules/gallery/models/item.php(36): identity_Core::active_user()
#6 /files/web/gallery3/system/libraries/ORM.php(88): Item_Model_Core->__construct(NULL)
#7 /files/web/gallery3/modules/gallery/helpers/model_cache.php(25): ORM_Core::factory('item')
#8 /files/web/gallery3/modules/gallery/helpers/item.php(286): model_cache_Core::get('item', 1)
#9 /files/web/gallery3/modules/gallery/helpers/identity.php(94): item_Core::root()
#10 /files/web/gallery3/modules/gallery/helpers/gallery_event.php(26): identity_Core::load_user()
#11 /files/web/gallery3/modules/gallery/helpers/module.php(375): gallery_event_Core::gallery_ready()
#12 /files/web/gallery3/modules/gallery/helpers/gallery.php(96): module_Core::event('gallery_ready')
#13 [internal function]: gallery_Core::ready(Array)
#14 /files/web/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#15 /files/web/gallery3/application/Bootstrap.php(58): Event_Core::run('system.ready')
#16 /files/web/gallery3/index.php(102): require('/files/web...')
#17 {main}