Open akasham67 opened 7 years ago
same issue error: Code: $b1->execute_command_via_zklib('get_device_name') Error: Warning: unpack(): Type H: not enough input, need 1, have 0 TADZKLib.php on line 425, on line 437, 549, 351, 549
Any solution on this problem? Same issue here.
exception: "ErrorException" file: ".../tad-php/lib/Providers/TADZKLib.php" line: 425 message: "unpack(): Type H: not enough input, need 1, have 0"
Any Solution?
Solved I have faced same problem steps I did before starting fetching data
$zk = new ZKTeco('device ip', 'device port');
$zk->connect();
$zk->enableDevice()
$zk->getUser()
NB: if not working just refresh the page
This issue occurred for the PHP version. on 5.6 it works fine but in PHP 7 each and unpack is not working correctly.
This issue occurred for the PHP version. on 5.6 it works fine but in PHP 7 each and unpack is not working correctly.
what can we do now.
I am using PHP 7.4 and resolved this by restarting my ZKTeco hardware.
anyone can fix this
i use zklib library but when i try to entry data for second entry, data was wrong, please help me master. thankyou.
i using device of faceid solution x901 @ShuvroHosain @bryanjamesdelaluya @bushmusi or anyone can help me
I have been trying to use ZKLIB. But it wasn't consistent and efficient when I was trying(it may be my fault) then I switched to
Python
and start using pyzk and you can find docs here @akatech100I have been trying to use ZKLIB. But it wasn't consistent and efficient when I was trying(it may be my fault) then I switched to
Python
and start using pyzk and you can find docs here @akatech100
thankyou bro @bushmusi for your response but btw i have already success use zklibrary for php using first data entry, i send frist data entry to database and then i clear log on device with script and so on.,,,,,, the problem is in second entry but first entry is correctyl. thnks bro
can anyone send me a file about viewing zkteco biometic fi;e using php thank you
anyone can fix this
i use zklib library but when i try to entry data for second entry, data was wrong, please help me master. thankyou.
i using device of faceid solution x901 @ShuvroHosain @bryanjamesdelaluya @bushmusi or anyone can help me
can you send me your php file thank you bro
Can you send me too, please?
anyone can fix this
i use zklib library but when i try to entry data for second entry, data was wrong, please help me master. thankyou.
i using device of faceid solution x901 @ShuvroHosain @bryanjamesdelaluya @bushmusi or anyone can help me
Hi, I am developing a similar system using php, could you share your project with me, to start with something functional?
Hi,
Thank you for this repo.
I face a problem when I am trying to implement your repo. When I run this command it show me following error: Code: $b1->execute_command_via_zklib('get_device_name') Error: Warning: unpack(): Type H: not enough input, need 1, have 0
lib/Providers/TADZKLib.php on line 425, on line 437, 549, 351, 549
Thank you.
In my case was a blocked port UDP/4370 ... had access to TCP/80 (HTTP) but some firewall denied the UDP connection, once enabled the issue gone
Best regards
Tried all of the available solutions in this discussion but still same issue.
Hi,
Thank you for this repo.
I face a problem when I am trying to implement your repo. When I run this command it show me following error: Code: $b1->execute_command_via_zklib('get_device_name') Error: Warning: unpack(): Type H: not enough input, need 1, have 0
lib/Providers/TADZKLib.php on line 425, on line 437, 549, 351, 549
Thank you.