wedi / limit-login-countries

This WordPress plugin gives you the ability to limit WordPress admin logins based on the country the visitor's IP address is located in.
http://wordpress.org/plugins/limit-login-countries/
GNU General Public License v2.0
1 stars 1 forks source link

directory structure formatting issue #6

Open kbdaemon opened 9 years ago

kbdaemon commented 9 years ago

I am having difficulty with the folder selection structure due to my installation of WordPress 4.1 running on IIS8/Windows Server 2012 (c'mon, we have reasons for being on Windows - we have some AIX machines but I'm not going there with WP!). Is there a way for me to manipulate the expected folder? I have tried every combination of forward/back slashes without success.

The specific error I received on my latest attempt:

For your convenience we tried to find a database file. We searched this plugin’s directory as well as your WordPress upload directory. •C:\inetpub\wwwroot\wordpress/wp-content/uploads\GeoLiteCity.dat ()

note the reversal of direction on the slashes. That wasn't my doing, it is being changed programmatically.

Kind Regards and Merry Christmas,

Kirk

kbdaemon commented 9 years ago

I forgot to apologize for posting on your personal blog page for Limit Login Countries - I was in a hurry and should have read your site posting instructions more carefully.

wedi commented 9 years ago

Hi Kirk! No worries, mate! The search mechanism is just a feature for the users convenience, so there is no need to rely on it: just manually enter the correct path to the database file into the text field. I have no experience with PHP on an IIS but on unixoid machines decently modern PHP versions don’t care about the direction of slahes. Moreover you could try the current master from Github it should be quite stable, I’m running it on my site, too. Among many other changes I improved the search for existing database files and - more important for you - added a confirmation status to the database file setting. I’d appreciate any feedback on that version. Dirk