Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Plugin Contributions
    0

    Default Site missing pics and formatting outside network

    I was able to successfully install a working demo cart on local server. When viewing this cart from inside my network (on my subnet any machine) the cart works correctly.

    My problem is that if I try to view cart outside my WAN connection (from home) site takes forever, images wont load and formatting is lost. I do get a html version of site with placeholders for images.

    I am running a non-database (static) php site successfully from same apache server in a htdocs/www subdiretory this works inside and outside of my local netowrk (images and everything) your can view this @ www.amsdemexico.com.mx.

    I am hosting behing firewall using NAT translation to get to server. dont forget I can serve a php site. It just wont do the cart.

    Please advise version info below>>>>>

    What version of Zen Cart?
    1.3.9
    Is it a new install or an upgrade?
    New Install
    What the addons/contributions you have installed?
    none
    What customizations have you made?
    none
    What type of server are you using?
    apache
    Are you installing locally?
    yes
    What operating system?
    Windows 2003 standard
    What version of PHP is installed on the server?
    5.3.5
    What version of MYSQL is installed on the server?
    5.5.8
    Any other details that might be important, i.e. the port number
    80 for testing

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Site missing pics and formatting outside network

    The HTTP_SERVER value you set in your configure.php files (as supplied during installation), is apparently pointing to a servername that's not understood from outside your home network.

    You can see proof of this by looking at the raw HTML source and seeing the <base href=xxxxxx> value.

    Simply update your configure.php files to use a HTTP_SERVER name that works from both inside and outside.
    .

    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.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Site missing pics and formatting outside network

    When you view from outside look at the view source and see what the "base ref" is

    Your ststic site is very much like a html site

    The speed for ZenCart will probably not improve due to whatever your up link speed is on the lan/wan
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jun 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Site missing pics and formatting outside network

    Thanks for your replies. It seemed to work.

 

 

Similar Threads

  1. Index page not working right in xampp on outside network
    By Joni in forum Basic Configuration
    Replies: 5
    Last Post: 13 Jun 2013, 07:16 AM
  2. pics missing from buttons
    By irishshopper in forum Basic Configuration
    Replies: 2
    Last Post: 29 Aug 2011, 11:40 PM
  3. Replies: 1
    Last Post: 26 Jan 2009, 01:15 PM
  4. Formatting in missing... completely...
    By Endrick in forum Basic Configuration
    Replies: 2
    Last Post: 9 May 2008, 04:20 PM
  5. Attribute pics showing, but no pics assigned?
    By Goshawk in forum General Questions
    Replies: 3
    Last Post: 19 Dec 2006, 01:47 AM

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