Results 1 to 2 of 2

Thread: Not a valid entrypoint

  1. #1
    mag1974 is offline Junior Member
    Join Date
    Oct 2007
    Posts
    1

    Default Not a valid entrypoint in new soap client

    I have been using sugarcrm and its soap interface on a server for a long time.

    Now I am trying to set up a new server with sugarcrm and a php based web application.
    Both sugarcrm and the php application are on the same physical server but under different domain names.

    Now when I try to include the nusoap.php file using a absolute path, it gives me "Not a valid entry point" error .
    The path is given as require_once('../../crmuser/sugarcrm/include/nusoap/nusoap.php');

    Note that the path points to sugarcrm domains document root folder and read access permission is given correctly.

    I tried copying the entire include/nusoap folder to my working directory and modified the include path as follows
    require_once('nusoap/nusoap.php'); I still get the "Not a valid entry point error"

    I tried searching and searching but nowhere is it mentioned how I can install a soap library correctly on the client side and connect to a remote sugarcrm server.

    Please help any assistance is welcome. My condition is desperate.

    Given below is the first few lines of my code for your perusal.
    $Global['sugarEntry'];
    $sugarEntry = true;
    $crm_user="crmuser";
    $crm_password=md5("<password censored>");
    #require_once('../../crmuser/sugarcrm/include/nusoap/nusoap.php'); //must also have the nusoap code on the ClientSide.
    #require_once('../../crmuser/sugarcrm/include/nusoap/nusoap.php'); //must also have the nusoap code on the ClientSide.
    require_once('./nusoap/nusoap.php'); //must also have the nusoap code on the ClientSide.

    $soapclient = new nusoapclient('http://89.16.172.53/crm/soap.php'); //define the SOAP Clien
    Last edited by julian; 2007-10-22 at 08:22 PM.

  2. #2
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Not a valid entrypoint

    Hello mag1974,

    In an earlier version, Sugar switched from using the $GLOBALS['sugarEntry'] check to using a constant named sugarEntry. Try adding this line near the top of your file:

    PHP Code:
    if(!defined('sugarEntry')) define('sugarEntry'true); 
    I also blanked out the password you posted above, just in case.
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Repair Database Not A Valid Entry Point
    By stasdu in forum Developer Help
    Replies: 2
    Last Post: 2006-11-16, 09:40 AM
  2. Not A Valid Entry Point!
    By chikaysci in forum Help
    Replies: 0
    Last Post: 2006-09-30, 04:24 AM
  3. Replies: 0
    Last Post: 2006-09-16, 10:37 AM
  4. Replies: 5
    Last Post: 2006-07-17, 12:51 AM
  5. Not A Valid Entry Point
    By comsys in forum Polish
    Replies: 2
    Last Post: 2006-06-17, 09:19 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
  •