Using the WordPress GeoIP Detection Plugin with a Custom Made Checkout
-
I have recently moved my website to a new host.
My website has a custom made checkout page. When I was with my old host, some of my checkout fields relied on the Apache GeoIP extension for it to work. I remember an extension called GeoIP (Geo IP mod by Maxmind) was installed on the previous server (host) for my custom made checkout to work.
Unfortunately, I cannot install this geoip module on my new hosts server, they do not allow the GeoIP extension to be installed. Therefore, I think I need to use a plugin called GeoIP detection plugin instead (https://pluginarchive.com/wordpress/geoip-detect).
Does anyone know how I go about using the GeoIP detection plugin instead?
Below are the errors I am getting on my custom made checkout page. I believe these errors are due to files missing in the include(/usr/share/GeoIP/geoip.inc location, where the GeoIP extension used to be installed on the previous server. I am not sure if the WordPress GeoIP detection plugin could be used instead. I really would appreciate any help!
Warning: include(/usr/share/GeoIP/geoip.inc): failed to open stream: No such file or directory in /home/customer/www/jksastrology.com/public_html/wp-content/plugins/pdf-after-checkout-generator/pdf_after_checkout_generator.php on line 18
Warning: include(): Failed opening ‘/usr/share/GeoIP/geoip.inc’ for inclusion (include_path=’.:/usr/local/php56/pear’) in /home/customer/www/jksastrology.com/public_html/wp-content/plugins/pdf-after-checkout-generator/pdf_after_checkout_generator.php on line 18
Fatal error: Call to undefined function geoip_open() in /home/customer/www/jksastrology.com/public_html/wp-content/plugins/pdf-after-checkout-generator/pdf_after_checkout_generator.php on line 19
Thank you
Jamie
The page I need help with: [log in to see the link]
- The topic ‘Using the WordPress GeoIP Detection Plugin with a Custom Made Checkout’ is closed to new replies.