Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen on wamp5 behind firewall

    Quote Originally Posted by LibertyFlag View Post
    This server is behind a firewall with NAT forwarding port 80 to the servers internal ip address 192.168.0.???

    Everything seems to be working so far, except the ip address resolution. The footer reports 0.0.0.0 and Who's Online reports 2 entries for each connection.
    Try editing your tpl_footer.php file:
    Find this:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
    replace like this:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . zen_get_ip_address(); ?></div>
    Does that help the footer display at all?
    If so, your problem is in the firewall retranslations of data. That's a common issue if using proxy configurations.
    .

    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.

  2. #2
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    Have a Drink Re: Zen on wamp5 behind firewall

    Quote Originally Posted by DrByte View Post
    Try editing your tpl_footer.php file:
    Find this:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . $_SERVER['REMOTE_ADDR']; ?></div>
    replace like this:
    Code:
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . '  ' . zen_get_ip_address(); ?></div>
    Does that help the footer display at all?
    If so, your problem is in the firewall retranslations of data. That's a common issue if using proxy configurations.
    Back on this problem again. Tried the code change to no avail. May have to wait until I can afford a real host.
    JOhn ><>
    Newest Site: ChargerPros - Stuff4Toys

 

 

Similar Threads

  1. Firewall blocking my site.
    By iwantvarun in forum General Questions
    Replies: 1
    Last Post: 15 Apr 2011, 07:17 AM
  2. Installing with WAMP5
    By j123 in forum Installing on a Windows Server
    Replies: 87
    Last Post: 19 Jan 2009, 01:48 AM
  3. firewall
    By khesin in forum General Questions
    Replies: 1
    Last Post: 23 Dec 2008, 11:17 PM
  4. Switching php version in WAMP5 causes install to run
    By GreggShort in forum Installing on a Windows Server
    Replies: 2
    Last Post: 27 Jul 2007, 06:06 AM
  5. WAMP5 as development server question
    By Sueter in forum Installing on a Windows Server
    Replies: 3
    Last Post: 4 Nov 2006, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg