Hi,
I updated TWG recently from 1.8.9 to 2.3.3 and since then, all browsers with a "mobile" USER AGENT cannot login anymore. The message "Function is not enabled or direct or not authorized access is not allowed" was shown and no further action was possible.
I think I found the bug in setspecials.inc.php (header [...] TWG version: 2.3.3 | $Date: 2007-02-16 09:17:41 +0100 (Fr, 16 Feb 2007) $ | $Revision: 41 $) in line 59:
Code:
--- setspecials.inc.php Wed Jul 01 14:20:38 2015
+++ setspecials.inc.php Wed Jul 01 14:20:45 2015
@@ -56,7 +56,7 @@
$thumbnails_y = $twg_mobile_thumbnails_y;
$show_breadcrumb = $twg_mobile_show_breadcrumb;
$show_search = $show_enhanced_file_infos = $show_help_link = $show_optionen = $show_tags = $show_new_window = $twg_mobile_show_menu_items;
- $show_login = $twg_mobile_show_menu_items;
+ $show_login = $twg_mobile_show_login;
$album_tree_default_open != $twg_mobile_show_menu_items;
$show_image_rating = $twg_mobile_show_rating;
$show_comments = $twg_mobile_show_comments;
Please consider this in further updates and keep going in devoping this nice peace of software.
Thanks in advance,
Niggy