cobisja / tad-php

PHP Library for ZK Time & Attendance Devices
MIT License
217 stars 160 forks source link

Imposible iniciar conexión con dispositivo #23

Closed mahmoudgad94 closed 7 years ago

mahmoudgad94 commented 7 years ago

Hi i try from Attendace Managment program all work fine but try tad-php not working

Fatal error: Uncaught exception 'TADPHP\Exceptions\ConnectionError' with message 'Imposible iniciar conexión con dispositivo 192.168.1.201' in C:\xampp\htdocs\zk\tad\lib\TAD.php:408 Stack trace: #0 C:\xampp\htdocs\zk\tad\lib\TAD.php(271): TADPHP\TAD->check_for_connection() #1 C:\xampp\htdocs\zk\index.php(26): TADPHP\TAD->__call('get_date', Array) #2 C:\xampp\htdocs\zk\index.php(26): TADPHP\TAD->get_date() #3 {main} thrown in C:\xampp\htdocs\zk\tad\lib\TAD.php on line 408

cobisja commented 7 years ago

Greetings!,

TAD-PHP only works on those devices with an integrated web server with SOAP support (due I had a device like that). So, double check your device's features in order to verify this requirement.

Beyond the mentioned above, right now it is almost impossible to provide an affordable support for the library because I do not have any device for development. I've got a few new ideas and also some others to fix some bugs but unfortunately without a device I'm not able to implement any code.

Best regards,

Cobis

2017-03-19 7:23 GMT-04:00 mahmoudgad94 notifications@github.com:

Hi i try from Attendace Managment program all work fine but try tad-php not working

Fatal error: Uncaught exception 'TADPHP\Exceptions\ConnectionError' with message 'Imposible iniciar conexión con dispositivo 192.168.1.201' in C:\xampp\htdocs\zk\tad\lib\TAD.php:408 Stack trace: #0 C:\xampp\htdocs\zk\tad\lib\TAD.php(271): TADPHP\TAD->check_for_connection()

1 https://github.com/cobisja/tad-php/issues/1

C:\xampp\htdocs\zk\index.php(26): TADPHP\TAD->__call('get_date', Array) #2 https://github.com/cobisja/tad-php/issues/2 C:\xampp\htdocs\zk\index.php(26): TADPHP\TAD->get_date() #3 https://github.com/cobisja/tad-php/issues/3 {main} thrown in C:\xampp\htdocs\zk\tad\lib\TAD.php on line 408

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cobisja/tad-php/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/AJzLMr0DHNilPgr02P5AKRHq_9OvTWEaks5rnRAygaJpZM4MhtBz .

mahmoudgad94 commented 7 years ago

Oh thank you , i thank my device not support SOAP

wajishah commented 4 years ago

Hi @cobisja i got the same error with no trace of cause. The device is successfully connecting with its software and using ZKlibrary its returning the attendance records. But using your library its giving the above mentioned error But the SOAP is enables and working fine with ZKLibrary.

Any help will be appreciated.