kamshory / ZKLibrary

ZKLibrary is PHP library for reading and writing data to attendance device using UDP protocol. This library useful to comunicate between web server and attendance device directly without addition program. This library is implemented in the form of class. So that you can create an object and use it functions.
GNU General Public License v2.0
194 stars 176 forks source link

X100-C blank data #54

Open afiefsky opened 5 years ago

afiefsky commented 5 years ago

Dear Sir, I have X100-C, and I've been successfully ping to the device, however when I tested it using test.php, it has no record, and when I tried to test the array with print_r($zk->getUser()) it return an empty array, please help, any answer would be appreciated, thank you

kamshory commented 5 years ago

Does the device has user data? Make sure your PHP able to access remote host.

kamshory commented 5 years ago

Does the device has user data? Make sure your PHP able to access remote host.

afiefsky commented 5 years ago

yes sir, the x100-c device has user data inside it when i print_r the ($zk) the result was like this please help and thank you screenshot from 2018-11-15 14-58-39

kamshory commented 5 years ago

can you telnet to the port?

afiefsky commented 5 years ago

can you telnet to the port?

I've been able to get the data now, it's simply by removing the password on the Biometric Device X100-C, I got all the data, and then done, when I set the password again on the device, it return blank data. However, my client requested me to make it able to get the data by requiring a password, which I believe it has something to do with the library itself. Please help, any answer would be appreciated.

kamshory commented 5 years ago

What is the password mean? User password or administrator password? You can try

$zk->clearAdmin();

to clear the admin for the development phase

afiefsky commented 5 years ago

The device (X100-C) password.

img20181116134041

If I remove that password, I able to retrieve the data, like this one: (I can't display all the record regarding my jobdesk privacy)

screenshot from 2018-11-16 13-50-24

but if I setup it, the test.php resulted on blank data, like this one: screenshot from 2018-11-16 13-51-42

Please help and thank you

kamshory commented 5 years ago

You can try to change the timeout.

kamshory commented 5 years ago

In my experience, the library can read 1500 user.

dwijonarko commented 4 years ago

The device (X100-C) password.

img20181116134041

If I remove that password, I able to retrieve the data, like this one: (I can't display all the record regarding my jobdesk privacy)

screenshot from 2018-11-16 13-50-24

but if I setup it, the test.php resulted on blank data, like this one: screenshot from 2018-11-16 13-51-42

Please help and thank you

how to remove the password? I can't leave it blank

afiefsky commented 4 years ago

To remove the password, type the password all 0 (zero)

On Tue, Sep 3, 2019, 09:09 Dwi Wijonarko notifications@github.com wrote:

The device (X100-C) password.

[image: img20181116134041] https://user-images.githubusercontent.com/23568070/48602590-36eaca80-e9a6-11e8-9861-6d6fb107061b.jpg

If I remove that password, I able to retrieve the data, like this one: (I can't display all the record regarding my jobdesk privacy)

[image: screenshot from 2018-11-16 13-50-24] https://user-images.githubusercontent.com/23568070/48602702-9d6fe880-e9a6-11e8-9b3f-71c8cb5d63c5.png

but if I setup it, the test.php resulted on blank data, like this one: [image: screenshot from 2018-11-16 13-51-42] https://user-images.githubusercontent.com/23568070/48602753-c7290f80-e9a6-11e8-98e2-ad89de023112.png

Please help and thank you

how to remove the password? I can't leave it blank

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamshory/ZKLibrary/issues/54?email_source=notifications&email_token=AFTZ5RQYHW7ISJ2V2VA6WT3QHXBMVA5CNFSM4GD4V4Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5WZWHI#issuecomment-527276829, or mute the thread https://github.com/notifications/unsubscribe-auth/AFTZ5RRPQ5XOSM6ENW2VDHTQHXBMVANCNFSM4GD4V4QQ .