Results 1 to 4 of 4

Thread: Hostname missing in notification email URLs

  1. #1
    PXITServ is offline Junior Member
    Join Date
    Feb 2007
    Location
    Hamilton, ON, Canada
    Posts
    3

    Thumbs down Hostname missing in notification email URLs

    I recently installed the SugarCRM Appliance on our VMware ESX server. Everything seems to be running fine with the exception of one problem we're having. The appliance has Red Hat Linux, Sugar 4.5.0b, Apache, PHP, MySQL

    When attempting to fill in a field that has a "select" button (such as the "Assign to:" field), I receive a pop-up error message that states the following:

    ERROR CONNECTING to: http:///sugarcrm//json_server.php, ERROR:RequestOpenFailed [module 'urllib' version: 1.1.3]

    Opening of HTTP request failed.
    We have a similar problem that I believe is directly related when a notification email is sent to a user. The URL linking to the SugarCRM application does not work. It provides a link such as the ones below (where <hostaddress> is the actual host address of the machine):

    You may review this Task at: <://<hostaddress>/index.php?module=Tasks&action=DetailView&record=5c c703ee-630b-6c37-b06a-45d1505da280>
    Accept this meeting: <http:///sugarcrm//acceptDecline.php?module=Meetings&user_id=6df692bf-edfe-30f7-7cd7-45cc6a90547d&record=90c506c3-5c95-9247-6a58-45cc6cc4f39a&accept_status=accept>
    It one type of email, it removes the "http" from the front of the URL, and also does not include the sugarcrm directory in the URL. In the second link, it seems to be missing our hostname (as in the first described problem) and adds an extra forward-slash after the sugarcrm subdirectory.

    I'm guessing that I'm just missing an entry in some sort of configuration file somewhere. I would really appreciate any assistance with this as I am a first-time user of SugarCRM and Linux.

  2. #2
    PXITServ is offline Junior Member
    Join Date
    Feb 2007
    Location
    Hamilton, ON, Canada
    Posts
    3

    Default Re: Hostname missing in notification email URLs

    I should also note that though I am a first-time Linux user, I am able to access and edit files. So if the fix is as simple as editing a value in a file, I'd just need to know what file and values need to be changed.

  3. #3
    PXITServ is offline Junior Member
    Join Date
    Feb 2007
    Location
    Hamilton, ON, Canada
    Posts
    3

    Lightbulb Re: Hostname missing in notification email URLs

    I found the problem. This thread can be locked/closed.

    For anybody else that might have this problem with the SugarCRM Appliance, here's how to resolve the problem:


    1. Go to your sugarcrm directory (mine was located at /usr/share/sugarcrm)

    2. Open the config.php file for editing.

    3. Towards the bottom you should find a variable called "site_url". Mine was located on line 201. You can just as easily search for it in your file - the variables are in alphabetical order. By default, the variable is set to "http:///sugarcrm/". Change the value to suit your setup and leave the ending forward-slash off.

    i.e.
    Code:
    'site_url' => 'http://192.168.0.125/sugarcrm',

  4. #4
    nathanbthomas is offline Sugar Community Member
    Join Date
    Mar 2006
    Posts
    46

    Default Re: Hostname missing in notification email URLs

    Hnmmm...this should be set to http://localhost/sugarcrm/ by default, which should work. I don't know why it was reset to drop the localhost. Let me know if this crops up again.

    Nathan
    Nathan Thomas
    Sugar Appliance Maintainer

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Poll: Dump Sugar Mail and integrate something better?
    By bjs3 in forum General Discussion
    Replies: 246
    Last Post: 2011-11-23, 04:05 PM
  3. email marketing feature requests
    By maxsutter in forum Feature Requests
    Replies: 1
    Last Post: 2008-10-11, 10:19 AM
  4. Replies: 1
    Last Post: 2007-02-21, 11:42 AM
  5. Email notification not working
    By lapa in forum General Discussion
    Replies: 2
    Last Post: 2005-08-26, 08:22 PM

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
  •