Three basic places should cover most of your issues, in addition to the functions_general change you made and any required changes to your epay module:
In /includes/application_top.php, near the end of the file, change this line:$customers_ip_address = $_SERVER['REMOTE_ADDR']; to this:```
$customers_ip_address = zen_get_ip_address();
For whos_online, change includes/functions/whos_online.php:```
$wo_ip_address = (isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : 'Unknown');
```to:```
$wo_ip_address = zen_get_ip_address();
For the footer, change your template file tpl_footer.php:```
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
```to:```
<div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . zen_get_ip_address(); ?></div>
```
And strongly evaluate why you moved to this particular host :D
Fortunately, the upcoming 1.4.0 version of Zen Cart has more central control over this.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.