6.0.0-beta1
7/8/25

[#8724] "Try to Fetch This Comic" Logs out of Horde
Summary "Try to Fetch This Comic" Logs out of Horde
Queue Klutz
Queue Version 1.0
Type Bug
State Duplicate
Priority 1. Low
Owners marcus (at) riboflavin (dot) net
Requester simon (at) simonandkate (dot) net
Created 11/25/2009 (5704 days ago)
Due
Updated 11/25/2009 (5704 days ago)
Assigned
Resolved 11/25/2009 (5704 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/25/2009 05:44:54 AM simon (at) simonandkate (dot) net Comment #5 Reply to this comment
Thanks for a very speedy response...

I applied the change from CVS noted in that bug and it has fixed the issue.

Only one minor comment - the diff file noted at 
http://cvs.horde.org/diff.php/framework/CLI/Attic/CLI.php?rt=horde&r1=1.42.6.27&r2=1.42.6.28&ty=u has the 
following:

--- CLI.php        2009/08/15 08:23:46        1.42.6.27
+++ CLI.php        2009/11/13 14:28:40        1.42.6.28

indicating that it is a new version 1.42.6.28 replacing 1.42.6.27.

Yet the diff itself has the following line replacements:

- * $Horde: framework/CLI/CLI.php,v 1.42.6.26 2009/08/14 22:00:27 jan Exp $
+ * $Horde: framework/CLI/CLI.php,v 1.42.6.27 2009/08/15 08:23:46 jan Exp $

i.e. 27 replacing 26.

Should that not be 28 replacing 27 as per the header?

Thanks again...
11/25/2009 05:20:10 AM Marcus Ryan Comment #4
Assigned to Marcus Ryan
State ⇒ Duplicate
Reply to this comment
11/25/2009 05:17:28 AM simon (at) simonandkate (dot) net Comment #3 Reply to this comment
I just stepped back to Horde 3.3.4 by reverting saved pre-upgrade 
folder from horde.old to horde, and Klutz "Fetch comic" functionality 
works fine.

My upgrade process was to unpack and setup all the latest versions of 
apps inside Horde 3.3.4, removing the old ones, re-generating configs 
and running any sqls needed as I went, so I ended up with all latest 
except the Horde framework, all apparently working fine. That is what 
I just reverted to.

I then unpacked Horde 3.3.5, and copied all the apps into the new 
horde directory, and regenerated the Horde config. With that setup, 
fetch comic logs out of Horde.


11/25/2009 05:03:43 AM simon (at) simonandkate (dot) net Comment #2 Reply to this comment
Setting Horde to debug logging:

Nov 25 16:00:21 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1556 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:21 HORDE [debug] [horde] Max memory usage: 7077888 bytes 
[pid 1556 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:21 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1431 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:21 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1435 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] 
Klutz_Driver_sql::listDates($date = 1259071200, $oldest = 1256479200, 
$newest = 1259503200): SELECT DISTINCT comicpic_date FROM klutz_comics 
WHERE comicpic_date >= ? AND comicpic_date <= ? [pid 1431 on line 264 
of "/usr/share/horde/klutz/lib/Driver/sql.php"]
Nov 25 16:00:21 HORDE [debug] [horde] SQL query by 
Horde_Alarm_sql::_list(): SELECT alarm_id, alarm_uid, alarm_start, 
alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, 
alarm_snooze, alarm_internal FROM horde_alarms WHERE alarm_dismissed = 
0 AND ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= 
?) AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR 
alarm_uid = ?) ORDER BY alarm_start, alarm_end [pid 1435 on line 148 
of "/usr/share/horde/lib/Horde/Alarm/sql.php"]
Nov 25 16:00:21 HORDE [debug] [horde] Max memory usage: 7077888 bytes 
[pid 1435 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] 
Klutz_Driver_sql::listDates($date = 1258984800, $oldest = 1256997600, 
$newest = 1259503200): PREPARE 
MDB2_STATEMENT_mysql_970b0f10fda84099998d19ae3b8e5750 FROM 'SELECT 
DISTINCT comicpic_date FROM klutz_comics WHERE comicpic_date >= ? AND 
comicpic_date <= ?' [pid 1431 on line 264 of 
"/usr/share/horde/klutz/lib/Driver/sql.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] 
Klutz_Driver_sql::listDates($date = 1259157600, $oldest = 1256997600, 
$newest = 1259503200): PREPARE 
MDB2_STATEMENT_mysql_d6e660446e6fd2b1697d114aa60732ed FROM 'SELECT 
DISTINCT comicpic_date FROM klutz_comics WHERE comicpic_date >= ? AND 
comicpic_date <= ?' [pid 1431 on line 264 of 
"/usr/share/horde/klutz/lib/Driver/sql.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] SQL query by 
Horde_Alarm_sql::_list(): SELECT alarm_id, alarm_uid, alarm_start, 
alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, 
alarm_snooze, alarm_internal FROM horde_alarms WHERE alarm_dismissed = 
0 AND ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= 
?) AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR 
alarm_uid = ?) ORDER BY alarm_start, alarm_end [pid 1431 on line 148 
of "/usr/share/horde/lib/Horde/Alarm/sql.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] Max memory usage: 10747904 bytes 
[pid 1431 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:21 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1432 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:21 HORDE [debug] [klutz] Max memory usage: 8126464 bytes 
[pid 1432 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:22 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1438 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:22 HORDE [debug] [klutz] Max memory usage: 9961472 bytes 
[pid 1438 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:22 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1439 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:22 HORDE [debug] [klutz] Max memory usage: 9961472 bytes 
[pid 1439 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:25 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1440 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:26 HORDE [debug] [klutz] Max memory usage: 10747904 bytes 
[pid 1440 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1457 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:26 HORDE [debug] [] Guest user does not have READ 
permission for klutz [pid 1457 on line 814 of 
"/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [] Max memory usage: 6291456 bytes [pid 
1457 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 2125 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Hook _horde_hook_share_init 
in application horde not called. [pid 2125 on line 1713 of 
"/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] SQL Query by 
DataTree_sql::getByAttributes(): SELECT c.datatree_id, c.datatree_name 
FROM horde_datatree c LEFT JOIN horde_datatree_attributes a1 ON 
a1.datatree_id = c.datatree_id LEFT JOIN horde_datatree_attributes a2 
ON a2.datatree_id = c.datatree_id WHERE c.group_uid = ? AND 
(a1.attribute_name = ? AND a1.attribute_value \& ?)  AND 
a2.attribute_name = ?  GROUP BY c.datatree_id, c.datatree_name, 
c.datatree_order, a2.attribute_value ORDER BY a2.attribute_value ASC, 
array (
   0 => 'horde.shares.kronolith',
   1 => 'perm_guest',
   2 => 2,
   3 => 'name',
) [pid 2125 on line 1249 of "/usr/share/horde/lib/Horde/DataTree/sql.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Hook 
_prefs_change_hook_display_remote_cals in application horde not 
called. [pid 2125 on line 1713 of "/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Guest user does not have 
READ permission for turba [pid 2125 on line 814 of 
"/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Guest user does not have 
READ permission for nag [pid 2125 on line 814 of 
"/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Guest user does not have 
READ permission for whups [pid 2125 on line 814 of 
"/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Hook 
_prefs_change_hook_display_external_cals in application horde not 
called. [pid 2125 on line 1713 of "/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [kronolith] Hook 
_prefs_change_hook_display_cals in application horde not called. [pid 
2125 on line 1713 of "/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [nag] Hook _horde_hook_share_init in 
application horde not called. [pid 2125 on line 1713 of 
"/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [nag] SQL Query by 
DataTree_sql::getByAttributes(): SELECT c.datatree_id, c.datatree_name 
FROM horde_datatree c LEFT JOIN horde_datatree_attributes a1 ON 
a1.datatree_id = c.datatree_id LEFT JOIN horde_datatree_attributes a2 
ON a2.datatree_id = c.datatree_id WHERE c.group_uid = ? AND 
(a1.attribute_name = ? AND a1.attribute_value \& ?)  AND 
a2.attribute_name = ?  GROUP BY c.datatree_id, c.datatree_name, 
c.datatree_order, a2.attribute_value ORDER BY a2.attribute_value ASC, 
array (
   0 => 'horde.shares.nag',
   1 => 'perm_guest',
   2 => 2,
   3 => 'name',
) [pid 2125 on line 1249 of "/usr/share/horde/lib/Horde/DataTree/sql.php"]
Nov 25 16:00:26 HORDE [debug] [nag] SQL Query by 
DataTree_sql::getByAttributes(): SELECT c.datatree_id, c.datatree_name 
FROM horde_datatree c LEFT JOIN horde_datatree_attributes a1 ON 
a1.datatree_id = c.datatree_id LEFT JOIN horde_datatree_attributes a2 
ON a2.datatree_id = c.datatree_id LEFT JOIN horde_datatree_attributes 
a3 ON a3.datatree_id = c.datatree_id WHERE c.group_uid = ? AND 
((a1.attribute_name = ? AND a1.attribute_value \& ?) AND 
a2.attribute_name = ? AND a2.attribute_value = ?)  AND a1.datatree_id 
= a2.datatree_id AND a3.attribute_name = ?  GROUP BY c.datatree_id, 
c.datatree_name, c.datatree_order, a3.attribute_value ORDER BY 
a3.attribute_value ASC, array (
   0 => 'horde.shares.nag',
   1 => 'perm_guest',
   2 => 2,
   3 => 'owner',
   4 => '',
   5 => 'name',
) [pid 2125 on line 1249 of "/usr/share/horde/lib/Horde/DataTree/sql.php"]
Nov 25 16:00:26 HORDE [debug] [nag] Hook 
_prefs_change_hook_display_tasklists in application horde not called. 
[pid 2125 on line 1713 of "/usr/share/horde/lib/Horde.php"]
Nov 25 16:00:26 HORDE [debug] [horde] SQL query by 
Horde_Alarm_sql::_list(): SELECT alarm_id, alarm_uid, alarm_start, 
alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, 
alarm_snooze, alarm_internal FROM horde_alarms WHERE alarm_dismissed = 
0 AND ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= 
?) AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR 
alarm_uid = ?) ORDER BY alarm_start, alarm_end [pid 2125 on line 148 
of "/usr/share/horde/lib/Horde/Alarm/sql.php"]
Nov 25 16:00:26 HORDE [debug] [horde] Max memory usage: 15728640 bytes 
[pid 2125 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
Nov 25 16:00:26 HORDE [debug] [horde] Connected to the following 
memcache servers:localhost:11211 [pid 1433 on line 127 of 
"/usr/share/horde/lib/Horde/Memcache.php"]
Nov 25 16:00:26 HORDE [debug] [horde] SQL query by 
Horde_Alarm_sql::_list(): SELECT alarm_id, alarm_uid, alarm_start, 
alarm_end, alarm_methods, alarm_params, alarm_title, alarm_text, 
alarm_snooze, alarm_internal FROM horde_alarms WHERE alarm_dismissed = 
0 AND ((alarm_snooze IS NULL AND alarm_start <= ?) OR alarm_snooze <= 
?) AND (alarm_end IS NULL OR alarm_end >= ?) AND (alarm_uid = ? OR 
alarm_uid = ?) ORDER BY alarm_start, alarm_end [pid 1433 on line 148 
of "/usr/share/horde/lib/Horde/Alarm/sql.php"]
Nov 25 16:00:26 HORDE [debug] [horde] Max memory usage: 7077888 bytes 
[pid 1433 on line 339 of "/usr/share/horde/lib/Horde/Registry.php"]
11/25/2009 04:56:05 AM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ "Try to Fetch This Comic" Logs out of Horde
Queue ⇒ Klutz
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I have been using Klutz for a month, using Horde 3.3.4. All has been 
working well.

I upgraded to Horde 3.3.5, and moved the Klutz folder into the new 
Horde directory. Klutz still works OK, and a "Update" works OK, saves 
the comics to the appropriate directory and they are viewable. BUT 
clicking on "Try and Fetch this Comic" for any that have not been 
downloaded to manually fetch them just logs me out of Horde completely.

Saved Queries