phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] [code cleaning] Empty default dataset in t


From: Maât
Subject: Re: [phpGroupWare-developers] [code cleaning] Empty default dataset in trunk
Date: Sun, 26 Oct 2008 20:53:24 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080929)

Maât a écrit :
> Sigurd Nes a écrit :
>   
>> Maât wrote:
>>   
>>     
>>> Hi,
>>>
>>> It seems that the fact that freshly installed trunk showning only home,
>>> about and logout is normal as the tables phpgw_locations is not filled
>>> and phpgw_acl only filled with 3 lines with acl_rights = 1 and
>>> location_id = 0
>>>
>>> If my investigations were correct it seems that these default values are
>>> inserted at install time by phpgwapi/setup/test_data.inc.php
>>>
>>> In can put inserts there but the question is : what are the datas
>>> required to start ( iow login as an administrator and see at least admin
>>> and preferences)
>>>
>>>     
>>>       
>> I think location_id=0 is an error (no such location).
>> It should look something like this:
>>
>> phpgw_acl:
>> acl_account;acl_rights;acl_grantor;acl_type;location_id
>> 1000;1;-1;0;3
>> 1001;1;-1;0;2
>> 1002;1;-1;0;2
>> 1002;1;-1;0;3
>>
>> phpgw_locations:
>> location_id;app_id;name
>> 1;1;"run"
>> 2;2;"run"
>> 3;3;"run"
>>   
>>     
> Ha very nice !
>
> I filled the tables manually and now i can see Preferences and Admin now :))
>
> (though i have a big "access denied" for everything inside them)
>
> regards
>   
the access_denied is due to $this->_data[$this->_account_id] line 482 in
class.acl.inc.php not being an array but something else looking like an
encoded string.

i'll investigate deeper but for now i'm going to bed

regards









reply via email to

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