Results 1 to 7 of 7

Thread: "Bad data passed in" error

  1. #1
    greggo is offline Junior Member
    Join Date
    Dec 2005
    Posts
    3

    Default "Bad data passed in" error

    When I try to edit or delete a customer field, I get a blank screen with only the following: Bad data passed in: Return to Home


    Any ideas what could be the problem?

    This is a new installation of Sugar Open Source 4.0

    thanks for any help you can offer.

    gregg

  2. #2
    frb
    frb is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    79

    Default Re: "Bad data passed in" error

    I had the same problem today, problem was that my browser was caching a previous invalid request... which basically contained an invalid Module name. there were errors in the apache error_log showing currentModuleFile was empty.

    The index.php should be enforced to block such empty variables before a call to return_module_language is done which then looks for modules//language/en_us.lang.php.

  3. #3
    kiang is offline Sugar Community Member
    Join Date
    Mar 2005
    Posts
    29

    Default Re: "Bad data passed in" error

    I got this problem, too. And I made a stupid solution:

    Disable clean_special_arguments() function in index.php ...^^||

  4. #4
    thorir is offline Junior Member
    Join Date
    Jul 2007
    Posts
    3

    Default Re: "Bad data passed in" error

    Hi

    I get "Bad data passed in; Return to Home" on sugarcrm system

    I have not seen any error except those in my apache errorlog

    [client 10.0.0.24] PHP Fatal error: Call to undefined function posix_getpwuid() in /srv/www/htdocs/sugar/modules/UpgradeWizard/systemCheck.php on line 80, referer: http://[mysite]/sugar/index.php?modu...d&action=index
    [client 10.0.0.24] PHP Notice: Undefined index: SugarDepotSessionID in /srv/www/htdocs/sugar/ModuleInstall/PackageManager/PackageManagerComm.php on line 200, referer: http://[mysite]/sugar/index.php

    My setup is.
    4.5.1c (Build 1269)
    php 5.0.3 (zend 2.0.3)
    Apache 2.0.53
    MySQL 5.0.249

  5. #5
    thorir is offline Junior Member
    Join Date
    Jul 2007
    Posts
    3

    Default Re: "Bad data passed in" error

    Hi again

    I decided to upgrade to 4.5.1e, but I still get the Bad data.

    Here are 2 Bad data errors apache error log

    [client 10.0.0.101] PHP Notice: Undefined variable: exContactIds in /srv/www/htdocs/sugar/modules/Emails/Save.php on line 154, referer: http://[mysite]/sugar/index.php
    [client 10.0.0.101] PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /srv/www/htdocs/sugar/modules/Emails/Save.php on line 154, referer: http://[mysite]/sugar/index.php

    Thorir

  6. #6
    dcache is offline Member
    Join Date
    Nov 2010
    Posts
    7

    Default Re: "Bad data passed in" error

    I had the same issue.. and got it fixed just removing space between URL / link as the URL was http://localhost/CRM Solution/ and i just changed it to http://localhost/CRMSolution/ and it start working normal..

  7. #7
    marrylee is offline Junior Member
    Join Date
    May 2011
    Posts
    3

    Default Re: "Bad data passed in" error

    The index.php should be enforced to block such empty variables before a call to return_module_language is done.....

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
  •