[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] A Logging Proposal - Implemented
From: |
Chris Weiss |
Subject: |
Re: [Phpgroupware-developers] A Logging Proposal - Implemented |
Date: |
Tue, 21 Oct 2003 14:28:48 +0000 |
btw, i fixed this by adding a check in the function where array_key_exists() is
used
to make sure there is a setting.
I also changed the upgrade scripts so we're at 511 now, you do need a database
update.
Doug Dicks (address@hidden) wrote:
>
>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:Dokumentephpgwapi0916phpgwapiincclass.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
>
>
>
>_______________________________________________
>Phpgroupware-developers mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>