11-20-2012, 12:42 AM
(11-20-2012, 12:15 AM)Daniel Wrote:(11-20-2012, 12:11 AM)steinm Wrote:(11-19-2012, 11:15 PM)Daniel Wrote: Thanks Uwe
My fault that just i copied the configuration file over from 3.3.10. I created a new one with LetoDMS 3.4.0 now.
It seems to do something, in the Apache log i get now the following error:
PHP Code:[Mon Nov 19 18:25:13 2012] [error] [client 10.1.7.53] PHP Warning: Invalid argument supplied for foreach() in /volume1/web/docutest/out/out.MyDocuments.php on line 78, referer: http://10.1.3.13/docutest/out/out.Indexer.php?create=1&confirm=1
This is this code line:
PHP Code:foreach ($approvalStatus["grpstatus"] as $st) {
if (!in_array($st["documentID"], $dList)) {
$dList[] = $st["documentID"];
}
Can you help me on this? It is LetoDMS 3.4.0 RC4
Hard to tell from the distance. Can you vardump the $user object and the output of $user->getApprovalStatus(); in line 58?
Uwe
Sure, if you can tell a PHP Beginner from where to do that or which file i need to edit.
Go into line 59 right after the line
Code:
$approvalStatus = $user->getApprovalStatus();
and put in
Code:
var_dump($user);
var_dump($approvalStatus);
Uwe