Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2005
    Posts
    1
    Plugin Contributions
    0

    red flag Text only display

    I have new zencart install on windows 2003 and apache.

    Everything seemed to run fine from the localhost. Now when I access the site from another system I get a page of text only. No errors but no graphics, and of course the links don't work??

    Any suggestions

  2. #2
    Join Date
    Jan 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: Text only display

    Localhost means "this mashine" thats why it works on the webserverPC itself.

    Edit to your configure.php file

    and insert tis little guest check-in
    /////////////////////////////////////////////////////////////guest check-in
    $domain = "***********";
    $host_ip = gethostbynamel($domain);
    $user_ip = getenv("REMOTE_ADDR");
    if ($user_ip = '192.168.1.5') // a PC in my LAN
    {
    define('HTTP_SERVER', 'http://192.168.1.2'); // the Webserver PC in my LAN
    define('HTTPS_SERVER', ''); //
    }
    else
    {
    define('HTTP_SERVER', 'http://' . $host_ip); //
    define('HTTPS_SERVER', ''); //
    }
    /////////////////////////////////////////////////////////////
    Use Your own local IP addresses
    remember to out comment the old line
    define('HTTP_SERVER', 'http://localhost'); which points at itself and do not work

    I have fighted this problem myself for almost 1 month

    I have not yet tried this out from outside the Internet because I have to drive 5 kilometers to our public library and check on their PC

    My domain is http://kapacitetsregnskabet.dk so maybe You could help me too :)

 

 

Similar Threads

  1. v153 Display text on products in certain category only
    By abcisme in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 Mar 2015, 06:55 PM
  2. v150 Display certain text in header only for homepage
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 15 Jan 2013, 10:51 PM
  3. show additonal graphic only when text attributes display?
    By bonnit in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 May 2011, 09:42 AM
  4. How to display category text with only 1 product
    By rdch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Sep 2007, 02:17 PM
  5. Changing Text color for 'display only' value
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jan 2007, 07:03 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