lars82 Posted August 10, 2018 Share Posted August 10, 2018 Hello, I'm trying to setup geoip and I did download, unpacked and copied file under tools/geopip... but when i wan't to enable geoip it's saying that the file is not there... Any ideas? Link to comment Share on other sites More sharing options...
razaro Posted August 10, 2018 Share Posted August 10, 2018 There was issue in some 1.6 versions, so try this. In folder config open defines.inc.php and check if these lines are there: define('_PS_TOOL_DIR_', _PS_CORE_DIR_.'/tools/'); if (!defined('_PS_GEOIP_DIR_')) { define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/'); } Also maybe try to enable debug mode on that page and see if some error is ppoing out. https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ Link to comment Share on other sites More sharing options...
lars82 Posted August 11, 2018 Author Share Posted August 11, 2018 Hi, I appreciate your reply. I did check this and it's there. However, I did found that the file GeoLiteCity.dat is actually geolitecity.dat in my folder so i simply Changed G,L,C to capital letters and now is working!! Thank you for your help! Regards, 1 Link to comment Share on other sites More sharing options...
razaro Posted August 11, 2018 Share Posted August 11, 2018 Nice catch, thank you for sharing solution. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now