[Tickets #13463] Re: Horde_Core-2.13.1 breaks SQL database access

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Sep 5 10:52:04 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13463
------------------------------------------------------------------------------
  Ticket           | 13463
  Aktualisiert Von | klaus at tachtler.net <klaus at tachtler.net>
  Zusammenfassung  | Horde_Core-2.13.1 breaks SQL database access
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Feedback
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


jcblanco at fi.upm.es (2014-09-04 09:27) hat geschrieben:

No, sorry. With de new Db.php the error is the same.

I think that the problem is caused by calling setLogger without a  
prior SetCache when you pass $cache as false.

Without knowing if this is not the intended behaviour or if this my  
break some other thing with this change:

         if ($cache && !isset($config['logger'])) {
             $ob->setLogger($this->_injector->getInstance('Horde_Log_Logger'));
         }

the error goes away,

I know that in this situation the logger instance is not atached to  
the individual read and write db objects

I know that the performance is worse with SQL Session Handler but we  
have Horde installed in two diffent systems and if we use Standard PHP  
Session files we have locking problems, and we haven't been able of  
getting the "Distribute Cache Table" option to work





More information about the bugs mailing list