PHP Classes

run error

Recommend this page to a friend!

      GeoIP Country Whois Locator  >  All threads  >  run error  >  (Un) Subscribe thread alerts  
Subject:run error
Summary:i have gzfile warning..
Messages:4
Author:apis17
Date:2006-12-16 14:51:56
Update:2007-03-26 07:09:19
 

  1. run error   Reply   Report abuse  
Picture of apis17 apis17 - 2006-12-16 14:51:56
where can i find dependency of this classes? the error was

Warning: gzfile(includes/classes/GeoIPCountryWhois.gz) [function.gzfile]: failed to open stream: No such file or directory in /usr/apache/htdocs/eksperimen/geoip/geoip.php on line 96

thank you

  2. Re: run error   Reply   Report abuse  
Picture of Marius Zadara Marius Zadara - 2006-12-17 06:26:19 - In reply to message 1 from apis17
Hi!

You can download the CSV file from http://www.maxmind.com/download/geoip/database/.

Please read the license.txt before and don't forget to update the file path on the class once has been downloaded.

  3. Re: run error   Reply   Report abuse  
Picture of Alexandre Eist Alexandre Eist - 2007-03-22 19:27:15 - In reply to message 2 from Marius Zadara
it is god idea, to include this address into the downloaded pack. ;)

  4. Re: run error   Reply   Report abuse  
Picture of Marius Zadara Marius Zadara - 2007-03-26 07:09:19 - In reply to message 1 from apis17
Hi!
Please look into the script where the path to gzfile is set and modify it according to your needs.