[kronolith] I'm having a problem with the kronolith_driver_sql class.

Cliff Green green@UMDNJ.EDU
Sat, 14 Sep 2002 15:15:44 -0400


Quoting Edwin Culp <eculp@encontacto.net>:

> Is there something I need to do for the  kronolith_driver_sql class ?  With
> yesterday afternoon's head my shared calendar's were working but with a
> cvs update a few minutes ago, I now get:
> 
> Parse error: parse error, unexpected T_VARIABLE in
> /usr/local/www/data/horde/kronolith/lib/Driver/sql.php on line 134
> A fatal error has occurred:
> 
> Unable to load the definition of Kronolith_Driver_sql.

There's a typo on that line (134).  There should be a dot ('.') connecting the
AND to the rest of the clause:

-      ' AND calendar_id = ' $this->_db->quote($this->_calendar),
+      ' AND calendar_id = ' .  $this->_db->quote($this->_calendar),

c
-- 
Cliff Green
Academic Computing Services - UMDNJ
Signature under NDA