phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] A Logging Proposal - Implemented


From: Doug Dicks
Subject: Re: [Phpgroupware-developers] A Logging Proposal - Implemented
Date: Tue, 21 Oct 2003 08:10:18 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Hello Kai,

Kai Hofmann wrote:
During testing my SAPDB stuff I got the following error message:

Warning: array_key_exists(): The second argument should be either an array
or an object in E:\Dokumente\phpgwapi0916\phpgwapi\inc\class.log.inc.php on
line 86

Perhaps the log configuration is missing from the database. Can youverify that this entry exists in phpgw_config? config_app = phpgwapi,config_name=log_levels. It should have a serialized array inconfig_value.

If not, the code to insert it is in phpgwapi/setup/tables_update.inc.php:

$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_config(config_app, config_name, config_value) VALUES ('phpgwapi','log_levels','" . serialize(array( 'global_level' => 'E', 'module' => array(), 'user'=> array())) ."')");


              Doug
--
Doug Dicks
Revelant Technologies





reply via email to

[Prev in Thread] Current Thread [Next in Thread]