Results 1 to 8 of 8

Thread: Issue installing portal

  1. #1
    hubcrm is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Surrey - UK
    Posts
    90

    Default Issue installing portal

    I get the following error installing the portal:

    Please fix the following errors before proceeding:

    * There was a problem connecting to the SOAP interface. Please check the Parent SugarCRM Instance URL.

    I've checked the relevant boxes to enable portal access and created a portal user. I can also navigatge to soap.php?wsdl on my sugar install and I see an XML document. I'm trying with version 4.5.0g against Sugar Enterprise 4.5.1a. Also when I download the Sugar Portal 4.5.1Beta it seems to think it's version 4.5.0b when it is uploaded. Has anyone else tried that beta?

  2. #2
    lbarton1024 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: Issue installing portal

    Hi,

    I get the same error.

    What is the definition of "URL of Parent SugarCRM Instance"?



    I've searched the wiki, the forums and the documentation, but I cannot find any reference to the Parent SugarCRM Instance. I'm reviewing the php now, but the installer scripts do not have much documentation.

    Thanks in advance for your help.

    -Luke

    SUGAR VERSION: SugarPortal-5.0.0b Enterprise 60-day trial download

    KEYWORDS
    URL of Parent SugarCRM Instance
    There was a problem connecting to the SOAP interface. Please check the Parent SugarCRM Instance URL.

  3. #3
    johnstevens is offline Sugar Community Member
    Join Date
    Feb 2005
    Location
    Strijen (Near Rotterdam)
    Posts
    175

    Default Re: Issue installing portal

    Quote Originally Posted by lbarton1024
    Hi,

    I get the same error.

    What is the definition of "URL of Parent SugarCRM Instance"?



    I've searched the wiki, the forums and the documentation, but I cannot find any reference to the Parent SugarCRM Instance. I'm reviewing the php now, but the installer scripts do not have much documentation.

    Thanks in advance for your help.

    -Luke

    SUGAR VERSION: SugarPortal-5.0.0b Enterprise 60-day trial download

    KEYWORDS
    URL of Parent SugarCRM Instance
    There was a problem connecting to the SOAP interface. Please check the Parent SugarCRM Instance URL.
    I guess you install your portal in its own directory?
    That url must be filled in the first field.

  4. #4
    lbarton1024 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: Issue installing portal

    John,

    Thanks for the reply.

    My directory structure is this:

    /home/username/path/to/sites/SugarPortal-5.0.0b/

    The vhost configuration points to that directory as the web root. The full path to index.php file is

    /home/username/path/to/sites/SugarPortal-5.0.0b/index.php


    A url would look like this:

    http://www.mysugarsite.com/index.php


    When you say, "I guess you install your portal in its own directory?" do you mean that I have to have another website/vhost running as a portal wrapper of some sort? Would this portal be what external parties are allowed to see without logging into the sugar instance? For instance:

    http://www.mysugarportal.com/index.php

    That sites on another vhost:
    /home/username/path/to/sites/parent_sugar_portal/index.php


    Thanks in advance for your help.

    -Luke

  5. #5
    johnstevens is offline Sugar Community Member
    Join Date
    Feb 2005
    Location
    Strijen (Near Rotterdam)
    Posts
    175

    Default Re: Issue installing portal

    You must install the portal in its own directory, means that in my case, I created a directory in my sugarcrm root directory with the name "service".
    so the url to my crm is http://www.mysugarcrm.com but the url to my portal is http://www.mysugarcrm.com/service

    But ofcource you also can create a special domain or maybe a subdomain, like portal.mysugarcrm.com. As long the portal is operating in its own directory.

  6. #6
    lbarton1024 is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: Issue installing portal

    John,

    Thanks for the example. I've tried that with two approaches, but to no avail.

    1. I created a separate subdomain in a directory at the same level as the CRM install, eg: 2 submains, 2 vhosts, 2 dirs:

    sugarcrm.mysite.com
    sugarportal.mysite.com

    /home/username/path/to/sites/sugarcrm.mysite.comSugarPortal-5.0.0b/
    /home/username/path/to/sites/sugarportal.mysite.com/

    But this did not work.


    2. I created a folder named "portal" within the main sugar directory. I've attached a screen shot of that structure.




    3. My question is this: should all of the files be under the "portal" directory like this:

    /home/username/path/to/sites/www.sugarsite.com/SugarPortal-5.0.0b/portal/index.php
    /home/username/path/to/sites/www.sugarsite.com/SugarPortal-5.0.0b/portal/install.php
    /home/username/path/to/sites/www.sugarsite.com/SugarPortal-5.0.0b/portal/[rest of sugar files]


    Thanks again for your assistance.

    -Luke

  7. #7
    kam11 is offline Junior Member
    Join Date
    Jan 2009
    Posts
    3

    Default Also when I download the Sugar

    I've checked the relevant boxes to enable portal access and created a portal user. I can also navigatge to soap.php?wsdl on my sugar install and I see an XML document. I'm trying with version 4.5.0g against Sugar Enterprise 4.5.1a. Also when I download the Sugar Portal 4.5.1Beta it seems to think it's version 4.5.0b when it is uploaded. Has anyone else tried that beta?

  8. #8
    jscottfras's Avatar
    jscottfras is offline Junior Member
    Join Date
    Mar 2009
    Location
    Atlanta, GA
    Posts
    4

    Default Re: Issue installing portal

    I am having the same issue.

    I found that my issue is related to a firewall issue. When the WSDL from the Parent URL SOAP request is parsed, it is attempting to access http://schemas.xmlsoap.org/soap/encoding, which is blocked by my firewall.

    On line 962 of install/install_utils.php, I temporarily changed the error message handling to print the actual error from the soapClient, like so:
    $err = $soapClient->getError();^M
    if($err) { // check url is correct^M
    if(strpos($err, 'XML error parsing WSDL')) {^M
    $errors[] = str_replace('{0}', "{$_SESSION['parent_setup_site_url']}/soap.php?wsdl", $mod_strings['ERR_PARSING_WSDL']); // Could not obtain WSDL^M
    } else {^M
    $errors[] = $err;
    }

    I then got the following error:
    wsdl error: HTTP ERROR: Couldn't open socket connection to server http://schemas.xmlsoap.org/soap/encoding/, Error (111): Connection refused

    Haven't been able to work around the firewall issue yet, but I'll make another post if I do

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2006-03-22, 04:17 AM
  2. My Portal - Cookie Issue
    By rodell in forum Help
    Replies: 2
    Last Post: 2005-12-23, 09:02 AM
  3. my portal issue
    By Otis in forum General Discussion
    Replies: 1
    Last Post: 2005-12-14, 04:15 PM
  4. 3.0 Portal Home (default page) Configuration
    By gatezone in forum General Discussion
    Replies: 3
    Last Post: 2005-06-16, 11:36 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
  •