[kronolith] reminders.php fails first time

Simon Perreault nomis80 at lqt.ca
Thu Jul 14 05:40:55 PDT 2005


Hi,

I'm having a strange problem with reminders.php. It fails the first time I run
it. Here's the error:

HORDE: [kronolith] Unable to load SQL data. [on line 109 of "/var/www/horde/lib/Horde/Scheduler.php"]

It seems that reminders.php is looking for cached stuff in the horde_vfs
table. The first time it is run, that table is empty. After the first run, it
contains this:

mysql> select * from horde_vfs;
+--------+----------+------------------+---------------------------+--------------+-----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| vfs_id | vfs_type | vfs_path         | vfs_name                  | vfs_modified | vfs_owner | vfs_data                                                                                                                                                                                                     |
+--------+----------+------------------+---------------------------+--------------+-----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|      1 |        2 |                  | .horde                    |   1121243356 |           | NULL                                                                                                                                                                                                         |
|      2 |        2 | .horde           | scheduler                 |   1121243356 |           | NULL                                                                                                                                                                                                         |
|      3 |        1 | .horde/scheduler | horde_scheduler_kronolith |   1121243356 |           | O:25:"horde_scheduler_kronolith":7:{s:6:"_sleep";s:6:"usleep";s:10:"_sleep_adj";i:1;s:5:"_seen";a:0:{}s:10:"_calendars";a:0:{}s:7:"_emails";a:0:{}s:8:"_runtime";i:1121243356;s:9:"_listtime";i:1121243356;} |
+--------+----------+------------------+---------------------------+--------------+-----------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3 rows in set (0.00 sec)

When that data is present in the table, reminders.php works correctly. If I
delete it, reminders.php fails and re-inserts it.

Shouldn't reminders.php work even if its scheduler data is unavailable?

Thanks!


More information about the kronolith mailing list