Results 1 to 9 of 9

Thread: Add Invitees Not Functioning

  1. #1
    Chaney is offline Junior Member
    Join Date
    Jun 2007
    Posts
    1

    Default Add Invitees Not Functioning

    Hi All,

    The Add Invitees functionality for both Meetings and Calls does not seem to be working for me. When I search for either First Name, Last Name, or Email and press the Search button nothing happens. I've read through the forums and tried all the solutions I've found (site url, debug mode, JSON caps error, updating the get_meeting_users function, etc). Nothing seems to work.I've tested it on IE 7, Safari, and FireFox on both Macs and PCs, still no dice. Debug mode didn't reveal anything obvious and the JS error panel didn't reveal anything either. I did test the demo site and that worked (which makes me think it's a potential PHP config issue?).

    My install is as follows:

    SugarCRM OS: 4.5.1d
    PHP: 4.4.4
    Linux: 2.6.9
    Apache: 1.3.37
    MySQL: 4.1.21

    If anybody has any additional suggestions or routes to investigate it would be greatly appreciated.

    Thanks in advance,
    CJ

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

    Default Re: Add Invitees Not Functioning

    All of your server software is getting a bit dated but I doubt thats causing the error. What happens if you just click on the search button without typing in anything?
    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
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Add Invitees Not Functioning

    Also check the site_url in your config.php. If it's not right then the invitees thing wont work
    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

  4. #4
    mhoppes is offline Sugar Community Member
    Join Date
    May 2007
    Posts
    45

    Default Re: Add Invitees Not Functioning

    I am having the exact same problem, except we are running MSSQL on Windows 2003 server with Apache 2.x.
    Go to invitees.. click SEARCH and nothing happens.

    My sitel_url is:
    'site_url' => 'http://sugar.mydomain.net:81',


    On a totally un-related note.. is there a reason the forum text in the input box is so small?!?!

    Quote Originally Posted by kbrill
    Also check the site_url in your config.php. If it's not right then the invitees thing wont work

  5. #5
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Add Invitees Not Functioning

    I've filed a similar bug before (#13084) but it happened only with PHP 5.2. Is this a fresh install of 4.5.1d or upgrade? Did it work before? What version of php-json module do you have?
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  6. #6
    Proware's Avatar
    Proware is offline A Prolific Poster
    Join Date
    Mar 2006
    Location
    Sydney Australia
    Posts
    310

    Default Re: Add Invitees Not Functioning

    Mine stopped working with the 4.5.1d upgrade.

    I restored an older version of json.php and json.js and it is now working. So something is changed between these versions.

    I will see if the 4.5.1e upgrade fixes it.
    Cheers

    David Younger
    TSM - The Service Manager
    http://www.theservicemanager.com


    Operating system type and version: Windows 2003 Server
    » Sugar Suite version 4.5.1e Professional
    » Webserver type and version Microsoft-IIS/6.0
    » PHP version 5.2.6
    » MySQL server version 5.0.51a

  7. #7
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: Add Invitees Not Functioning

    We did find a security vulnerability in one of the JSON encoding modules. I believe that we disabled the use of the pre-compiled JSON encoder/decoder to protect against this vulnerability.

    From the comment in the code: SECURITY: bug 12274 - CSRF attack potential via JSON

    I wonder if you take the current file and uncomment that one section (look for the comment above) if it will work again. If so, it is something that we might not be consistently encoding/decoding.

    Jacob

  8. #8
    andydreisch's Avatar
    andydreisch is offline Sugar Team Member
    Join Date
    Apr 2005
    Location
    San Jose
    Posts
    2,080

    Default Re: Add Invitees Not Functioning

    Proware, any update?

    Thanks,

    Andy
    Andy Dreisch
    Vice President, Online Team


    Check out our Podcasts!
    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

  9. #9
    matthew's Avatar
    matthew is offline Sugar Team Member
    Join Date
    Jul 2005
    Posts
    533

    Default Re: Add Invitees Not Functioning

    The problem is that on the client side JSON.js, we added a condition looking for "while(1);/*" except that for some reason the web server is adding whitespace \nwhile(1);/* in front of that and the condition doesn't evaluate as true. So in JSON.parse(), I trimmed out the whitespace before the condition:

    /*
    Parse a JSON text, producing a JavaScript value.
    It returns false if there is a syntax error.
    */
    parse: function (text) {
    // mfh: bug 14599
    text = text.replace(/^\s*|\s*$/,'');
    // cn: bug 12274 - the below defend against CSRF (see desc for whitepaper)
    if(text.substr) {
    if(text.substr(0,11) == "while(1);/*") {
    text = text.substr(11);
    text = text.substr(0, (text.length - 2));
    }
    if(text.substr(0,13) == "\nwhile(1);/*") {
    text = text.substr(13);
    text = text.substr(0, (text.length - 5));
    }
    }

    try {
    return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(
    text.replace(/"(\\.|[^"\\])*"/g, ''))) &&
    eval('(' + text + ')');
    } catch (e) {
    return false;
    }
    },

    Sugar University for training
    Sugar Wiki for developer and user help
    SugarForge for modules, themes, lang packs
    SugarExchange for production-ready extensions
    Enter/view bugs via the Sugar bug tracker

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-04-15, 10:26 AM
  2. Add Invitees - search not work
    By ryaninit in forum Help
    Replies: 11
    Last Post: 2007-06-26, 07:23 PM
  3. Add Invitees ko 4.50h
    By paco in forum Français
    Replies: 0
    Last Post: 2006-12-22, 02:55 PM
  4. Replies: 0
    Last Post: 2006-10-16, 11:54 AM
  5. Add Invitees for Notes EditView
    By surfish in forum Help
    Replies: 0
    Last Post: 2005-06-29, 06:30 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
  •