[Tickets #8730] Re: DB Error: unknown error

bugs at horde.org bugs at horde.org
Thu Dec 17 08:58:22 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8730
------------------------------------------------------------------------------
  Ticket             | 8730
  Updated By         | sean at fernridge.com
  Summary            | DB Error: unknown error
  Queue              | Forwards
  Version            | 3.2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


sean at fernridge.com (2009-12-17 03:58) wrote:

Sorry, took a while to reply.

Have applied the patch. Note that your patch did not apply cleanly.  
One hunk failed. I went through customsql.php and manually added the  
bit that was not successfully applied.

I noticed that your patch assumes that the pre-existing version of  
customsql.php file should be version 1.21 :

> * $Horde: forwards/lib/Driver/customsql.php,v 1.20 2009/04/27  
> 08:10:02 jan Exp $

However, the version distributed with forwards h3-3.2 is actually  
somewhat older :

> * $Horde: forwards/lib/Driver/customsql.php,v 1.13.2.7 2009-08-18  
> 12:54:50 jan Exp $

I am not sure if this in any way relates to the problem in question.

Anyway, I finally do get somewhat more meaningful info in horde's log files :

Dec 17 01:42:25 HORDE [error] [forwards] DB Error: unknown error:   
[nativecode=1065 ** Query was empty] [pid 7820 on line 261 of  
"/www/horde/forwards/lib/Driver/customsql.php"]

I am not sure if this means that the query string was empty or the  
result of the query returned as empty.

Regards,
Sean






More information about the bugs mailing list