Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
When i config GEO, i can't save config, so then i debug and found $_SERVER['SERVER_ADDR'] always return empty so i change it to gethostbyname($_SERVER['SERVER_NAME'])
Refer: http://stackoverflow.com/questions/5705082/is-serverserver-addr-safe-to-rely-on
Offline
Hi,
Implemented. https://github.com/remdex/livehelperchat/commit/f7c34278a271df21048bc66739529773c7b872ac
2013/12/7 Hien Trung Nguyen <mr.hie...***.com>
When i config GEO, i can't save config, so then i debug and found $_SERVER['SERVER_ADDR'] always return empty so i change it to gethostbyname($_SERVER['SERVER_NAME'])
Refer: http://stackoverflow.com/questions/5705082/is-serverserver-addr-safe-to-rely-on
Offline
Thanks!
Và o 01:59:17 UTC+7 Chủ nháºt, ngà y 08 tháng mÆ°á»i hai năm 2013, Remigijus Kiminas đã viết:
Offline
Hi Remigijus
Have a problem, this code $_SERVER['LOCAL_ADDR'] when run in local, it return ::1, so raise error when check service GEO, but when deloy to server , it ok (return static ip of server)
I use gethostbyname($_SERVER['SERVER_NAME']) for test and deloy, in test case it receive 127.0.0.1, so GEO service accept it.
Và o 01:59:17 UTC+7 Chủ nháºt, ngà y 08 tháng mÆ°á»i hai năm 2013, Remigijus Kiminas đã viết:Hi,
Implemented. https://github.com/remdex/livehelperchat/commit/f7c34278a271df21048bc66739529773c7b872ac
Offline
Ok try this updatehttps://github.com/remdex/livehelperchat/commit/2f8b2c83581303fe5795fe21c3344ef4ae0f2448
2013/12/8 Hien Trung Nguyen <mr.hie...***.com>
Offline
It's ok, thanks for update!
Và o 13:46:29 UTC+7 Chủ nháºt, ngà y 08 tháng mÆ°á»i hai năm 2013, Remigijus Kiminas đã viết:
Offline