I believe I have found a bug in the latest build (1/3 - 64e5efd) with showing tags when logged in.
Steps to reproduce:
(Create Album/Photos in your Gallery and tag at least one photo)
1. Login as any user (including admin)
2. Click on a tag in the sidebar
3. Page will not render
It appears to be in the code that is trying to generate the "logout" link in modules/gallery/helpers/gallery_event.php:
$item = $theme->item();
$menu->append(Menu::factory("dialog")
->id("user_menu_edit_profile")
->css_id("g-user-profile-link")
->view("login_current_user.html")
->url(url::site("form/edit/users/{$user->id}"))
->label($user->display_name()));
$menu->append(Menu::factory("link")
->id("user_menu_logout")
->css_id("g-logout-link")
->url(url::site("logout?csrf=$csrf&continue=" .
urlencode($item->url())))
->label(t("Logout")));
It appears that $item is NULL when you are dealing with this particular type of view (tags).
So, my fix was to check if $item is not NULL before generating a logout link. So, no logout link appears on tag view (but I can live with that).
Posts: 22892
Thanks for that. Can you file a bug report so it does not get lost.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 65
I'd be happy to file a bug report.
I assume I just need to register an account at sourceforge and submit a ticket? I did try a search for a HOWTO on ticket submission but found nothing.
Posts: 22892
Yes a SF account is free.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16503
http://sourceforge.net/apps/trac/gallery/ticket/958
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here