Problem with identity_provider
|
clayhaus
Joined: 2012-03-14
Posts: 5 |
Posted: Wed, 2012-03-14 13:49
|
|
I was fiddling with identity_provider in the advanced settings and of course generated a server error page. I then went to the DB and added back 'user' into the identity_provider field. That changed nothing. Searching on this forum I found this thread: http://gallery.menalto.com/node/103115. So, I changed the indicated line and that yielded a blank page. I'm stuck at this point and need suggestions. Thanks. |
|

Posts: 5
The site is: http://www.wasatchcameraclub.com/gallery3/index.php/
Posts: 25967
Viewing the source:
<a id="g-logo" href="/gallery3/index.php/" title="go back to the Gallery home"> <img alt="Gallery logo: Your photos on your web site" src="/gallery3/lib/images/logo.png" /> </a> <div id="g-site-menu" class="g-default">it looks to me like you made some customization other than just fiddling with an advanced setting.
The page starts to load and gets to the some code after the logo and stops.
The servers error log might have a clue or the galllery3/va/logs/ might as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Well, I'm not what the source is supposed to tell me. Other than 'normal' configuration stuff I did nothing other than muck things up with the advanced setting. The current state is a result of the 'fix' suggested in the thread mentioned above. Specifically, in the gallery3/modules/gallery/libraries/IdentityProvider.php file I changed the below:
public function __construct($config=null) {
if (empty($config)) {
$config = 'user');
}
In the var/logs I see nothing as a result of the change and I have no access to the server logs.
If I revert back to the original IdentityProvider.php -- which I have now done -- I get a Server Error upon load and see this in the log file:
2012-03-14 21:22:40 -07:00 --- error: load_user Exception: @todo NO_USER_LIBRARY_CONFIGURATION_FOR: empty
#0 /home/wasat8/public_html/gallery3/modules/gallery/libraries/IdentityProvider.php(43): IdentityProvider_Core->__construct()
#1 /home/wasat8/public_html/gallery3/modules/gallery/helpers/identity.php(60): IdentityProvider_Core::instance()
#2 /home/wasat8/public_html/gallery3/modules/gallery/helpers/gallery_event.php(26): identity_Core::load_user()
#3 /home/wasat8/public_html/gallery3/modules/gallery/helpers/module.php(375): gallery_event_Core::gallery_ready()
#4 /home/wasat8/public_html/gallery3/modules/gallery/helpers/gallery.php(96): module_Core::event('gallery_ready')
#5 [internal function]: gallery_Core::ready(Array)
#6 /home/wasat8/public_html/gallery3/system/core/Event.php(208): call_user_func_array(Array, Array)
#7 /home/wasat8/public_html/gallery3/application/Bootstrap.php(58): Event_Core::run('system.ready')
#8 /home/wasat8/public_html/gallery3/index.php(102): require('/home/wasat8/pu...')
#9 {main}
At the end of the first line, 'empty' was the value I manually inputted into the advanced settings. (Don't ask why...it was a mistake!)
So, how and where do I remove that 'empty' value?
Posts: 5
I am still stuck here...any help would be greatly appreciated!
Posts: 2
Look there now: http://gallery.menalto.com/node/103115
_________________________________________
Art gallery: http://e-galeria.szczecin.pl