| 
| Subject: | I get the following two errors: In... | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 2 | 
|---|
 | Author: | Ian Onvlee | 
|---|
 | Date: | 2015-08-29 18:51:36 | 
|---|
 |  |  |  | 
Ian Onvlee rated this package as follows:
| Utility: | Bad | 
|---|
| Consistency: | Good | 
|---|
| Examples: | Good | 
|---|
|  | 
  Ian Onvlee - 2015-08-29 18:51:37I get the following two errors:In IPDetails.tst.php and ABG_IPDetails.cls.php:
 Warning: The magic method __get() must have public visibility and
 cannot be static in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\cityhyve\test\geography\abg_ipdetails-2009-12-02\IPDetails.tst.php
 on line 71
 In ABG_IPDetails.cls.php:
 Warning: file_get_contents(http://ipinfodb.com/ip_query.php?ip=104.238.195.59&output=xml): failed to open stream: HTTP request failed! in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\data\localweb\projects\cityhyve\test\geography\abg_ipdetails-2009-12-02\ABG_IPDetails.cls.php on line 106
 *** Error : No data from server http://ipinfodb.com
 
 The first one was easy to solve by changing "private" to "public", but I can't solve the second error.
 This renders your program useless.
  Gilbert BENABOU - 2015-08-29 20:38:05 - In reply to message 1 from Ian OnvleeHiSorry for errors you encounter
 My class only make some handling on raw data provided by the server at http://ipinfodb.com (wich is not mine). It seems that it has stopped and, consequently my program has nothing to work on.
 Regards
 G. BENABOU
 |