Results 1 to 5 of 5

Thread: Page could not be displayed

  1. #1
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Page could not be displayed

    Any one of know why Sugar complains about page could not be displayed. My other webserver application is working great. But sugar comes up, but after 2-3minutes, it is not displaying the pages. Strange behavior is: it is quiet happy with http://localhost/index.php but not http://IP_address/index.php

    I changed the config file to reflect the IP address, but still the same symptoms. I don't have to change the config at all. Isn't it?

    Anyone network folks out there who can help?

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Page could not be displayed

    In the same directory as the sugarcrm index.php place a phpinfo.php with this in it:

    Code:
    <?php
        phpinfo();
    ?>
    and then browse to it like this:

    http://localhost/phpinfo.php

    if it doesn't come up then you have an apache configuration problem, if it does then you probably have a SugarCRM configuration problem or a firewall/.htaccess problem.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Re: Page could not be displayed

    My apache configuration : servername localhost:80

    sugar config file:
    'db_host_name' => 'localhost',

    'site_url' => 'localhost',

    The localhost URL works great. No issues.

    But not when I give the IP address.
    I can login sometimes when it displays the login page. I can add contacts. But within 2-3 minutes, it is not serving the pages at all , reporting page could not be displayed.


    All this worked under my previous versions 4.0.1e

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Page could not be displayed

    Quote Originally Posted by sugarcare
    My apache configuration : servername localhost:80

    sugar config file:
    'db_host_name' => 'localhost',

    'site_url' => 'localhost',

    The localhost URL works great. No issues.

    But not when I give the IP address.
    I can login sometimes when it displays the login page. I can add contacts. But within 2-3 minutes, it is not serving the pages at all , reporting page could not be displayed.


    All this worked under my previous versions 4.0.1e
    I don't think you can have 'site_url' set to localhost and have a reliable connection from the outside. Put your outside ip address there instead. the 'db_host_name' is almost always localhost so that one is OK.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    sugarcare is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    405

    Default Re: Page could not be displayed

    Thanks. I tried both versions. It is same. It shows up couple of screens and boom "Page not display" content with "cannot find server" title. My Index.php is in IP_address/demo dir. I tried site_url = iP_address/demo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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