Question about Enterprise and geolocation
Aug 11, 2016 6:03 pm by natastna2
Aug 11, 2016 6:03 pm by natastna2
Hello,
I have just installed the enterprise version on mylarshop.com and notice that since changing from Pro to Enterprise the geo-location does not seem to be working. When a customer is in a foreign language they are presented with a message meant for our French customers regardless of what country they are located in.
Will the geo-location module need editing to work with the Enterprise version?
Thank you for your time.
Re: Question about Enterprise and geolocation
Aug 11, 2016 9:11 pm by Edvard
Aug 11, 2016 9:11 pm by Edvard
Hi,
I think that geo-location module just uses our server IP address instead of real visitor IP address which we send in X-Real-IP request header. So you probably need to modify the module to use that header if it is set.
Re: Question about Enterprise and geolocation
Aug 12, 2016 3:15 pm by natastna2
Aug 12, 2016 3:15 pm by natastna2
OK thanks Edvard,
If I wanted to echo the X-Real-IP do you think this would be OK?
<?php
echo $_SERVER['X-Real-IP'];
?>
Thank you for your time.
Re: Question about Enterprise and geolocation
Aug 13, 2016 5:10 am by Edvard
Aug 13, 2016 5:10 am by Edvard
Use $_SERVER['HTTP_X_REAL_IP']
SIMILAR TOPICS
Enterprise URLs not working | May 14, 2018 8:25 pm | Replies: 1 | Post by: dpitfield |
Pre Sales Question ? | Oct 18, 2017 6:37 am | Replies: 1 | Post by: jackB2010 |
Question about SSL | Jul 9, 2017 8:30 am | Replies: 3 | Post by: Travelaroundtheworld |
Upgrade to Enterprise | Jul 25, 2017 4:51 pm | Replies: 1 | Post by: gpullen |
How can I change the subscription from enterprise to custom? | Mar 14, 2017 2:55 am | Replies: 3 | Post by: besybuy |