ZKLibrary icon indicating copy to clipboard operation
ZKLibrary copied to clipboard

getAttendance() not retrieve from machine

Open nbbaataraa opened this issue 6 years ago • 8 comments

Hello. I have iFace402. and i'm using your lib. i success to connect my device and retrieve users. but i can't retrieve Attendance. when i add $attendance = $zk->getAttendande(); foreach($$attendance as $key=>$value) { $uid = $value[0]; $id = $value[1]; $state = $value[2]; $time = $value[3]; echo $uid ; echo $id; echo $state; echo $time; }

it's showing now value and no users. how to fix that. And it's supporting PHP 7 ?. thanks.

nbbaataraa avatar Nov 18 '18 19:11 nbbaataraa

make sure that no double dollar

$attendance = $zk->getAttendande();
foreach($attendance as $key=>$value)
{
$uid = $value[0];
$id = $value[1];
$state = $value[2];
$time = $value[3];
echo $uid ;
echo $id;
echo $state;
echo $time;
}

instead of

$attendance = $zk->getAttendande();
foreach($$attendance as $key=>$value)
{
$uid = $value[0];
$id = $value[1];
$state = $value[2];
$time = $value[3];
echo $uid ;
echo $id;
echo $state;
echo $time;
}

kamshory avatar Nov 19 '18 02:11 kamshory

thanks to replay. i already try this. but no luck.

nbbaataraa avatar Nov 24 '18 08:11 nbbaataraa

getAttendance() cannot get data from machine Ronald Jack x938-C Please help me, I have remote connection information to the machine Ronald Jack x938-C zklibrary

duccomcoltd avatar Dec 01 '18 08:12 duccomcoltd

Hello. Did you solve the problem? I have got same problem now.

techplusintl avatar Sep 18 '19 08:09 techplusintl

@duccomcoltd and @techplusintl I have the same issue with getAttendance(). I'm not getting data. However with getUser(), it's working perfectly. Did you manage to get a solution?

shivaoedit0310 avatar Sep 19 '19 13:09 shivaoedit0310

hello,

does it work on WL30?

ameik297 avatar Apr 30 '21 01:04 ameik297

@duccomcoltd and @techplusintl I have the same issue with getAttendance(). I'm not getting data. However with getUser(), it's working perfectly. Did you manage to get a solution?

I am having the same issue? Did you manage to make it working?

trenzasoft avatar May 13 '22 09:05 trenzasoft

image

I'm getting Data User but not getting attendance can anyone help me

zaid2255 avatar Jan 11 '23 10:01 zaid2255