[Tickets #7948] Re: sql query error

bugs at horde.org bugs at horde.org
Wed Feb 4 22:55:03 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/7948
------------------------------------------------------------------------------
  Ticket             | 7948
  Updated By         | horde at smartsector.hu
  Summary            | sql query error
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


horde at smartsector.hu (2009-02-04 17:55) wrote:

The config is:
$conf['sql']['username'] = '********';
$conf['sql']['password'] = '*******';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'horde';
$conf['sql']['charset'] = 'UTF-8';
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysqli';

If I change mysqli to mysql the error message is different:

Fatal error: Uncaught exception 'Horde_Db_Exception' with message  
'SQLSTATE[42S02]: Base table or view not found: 1146 Table  
'horde.rampage_types' doesn't exist' in  
/usr/share/php/Horde/Db/Adapter/Abstract.php:423 Stack trace: #0  
/usr/share/php/Horde/Db/Adapter/Pdo/Abstract.php(139):  
Horde_Db_Adapter_Abstract->execute('SELECT type_id,...', NULL, NULL)  
#1 /usr/share/horde/content/lib/Types/Manager.php(75):  
Horde_Db_Adapter_Pdo_Abstract->selectAssoc('SELECT type_id,...') #2  
/usr/share/horde/kronolith/lib/Tagger.php(57):  
Content_Types_Manager->ensureTypes(Array) #3  
/usr/share/horde/kronolith/templates/panel.inc(28):  
Kronolith_Tagger->__construct() #4  
/usr/share/horde/kronolith/month.php(39):  
require('/usr/share/hord...') #5  
/usr/share/horde/kronolith/index.php(23):  
include('/usr/share/hord...') #6 {main} thrown in  
/usr/share/php/Horde/Db/Adapter/Abstract.php on line 423






More information about the bugs mailing list