GeoIP not working(Continet,Country,City :Unknown)


I followed the below procedure for enabling GeoIP for my website.
1.Downloaded GeoIP plugin, extracted it and copied in the folder piwik/plugins/ on the server.
2.Downloaded GeoLiteCity.dat file,extracted it and copied in the folder piwik/plugins/GeoIP/libs/
3.And in the Piwik website I activated the GeoIP plugin by going to Settings–>Plugins.

Is that enough for enabling the GeoIP plugin and tracking the country?

For me,its showing that continent,country and city are “Unknown”.

Is there any code to be embedded in the php page which I’m using for tracking?
If so,how to make API calls from my PHP page to the GeoIP API ( API.php in GeoIP plugin )

It is saying "Requested report GeoIP.getGeoIPCountry for Website id=XXX not found in the list of available reports. "


Good news: GeoIP is now integrated in Piwik, enabling Accurate Visitors Geolocation in your Analytics reports. To enable GeoIP go to the Settings > Geolocation admin page, and follow the short instructions.

You can also get an even more accurate Country & City Database from here to enjoy top accuracy in detecting your visitors locations.

See also the documentation about Geolocation - Analytics Reports in Piwik.