ytorbyk / magento2-geo-ip2

Magento 2 extension: Integrates MaxMind GeoIP2 DB into Magento 2.
MIT License
17 stars 7 forks source link

Got the error after installing th extension #8

Closed malikabid closed 5 years ago

malikabid commented 5 years ago

Fatal error: Uncaught Error: Class 'GeoIp2\Database\Reader' not found in /var/www/html/rmlive/app/code/Tobai/GeoIp2/Model/Database/ReaderFactory.php on line 43

malikabid commented 5 years ago

Installing it properly using composer - fixed the issue.

balusai commented 5 years ago

Hi @malikabid Could you please explain how it works, installed via composer both [ composer require tobai/magento2-geo-ip2 and composer require tobai/magento2-geo-store-switcher] . And created 3 store views for main webstore. configured japan store view for Country India, but when i click on url from indian ip addresses, it is in default store view only , it is not redirected to japan store view. Could you please help me what i missed.