Results 1 to 9 of 9

Thread: Bad data passed in; Return to Home

  1. #1
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Bad data passed in; Return to Home

    Hi.

    Having problems with module Activities. When trying to sort on list view i get Bad data passed in; Return to Home.

    But this only happens with my other language. With default English it works ok.

    I get this error:
    PHP Code:
    PHP Fatal error:  Call to a member function debug() on a non-object in /srv/www/vhosts/mysugar/include/utils/LogicHook.php on line 85refererhttp://mysugar.com/index.php?module=Activities&action=index 
    Could anyone help me? It seems that something is wrong with my lang. files, but can't find where the problem is.

    Thank you

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Bad data passed in; Return to Home

    What language file are you using?

  3. #3
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    Slovenian Language Pack - i've created my-self with Translate tool.

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Bad data passed in; Return to Home

    Quote Originally Posted by sebek View Post
    Hi.

    Having problems with module Activities. When trying to sort on list view i get Bad data passed in; Return to Home.

    But this only happens with my other language. With default English it works ok.

    I get this error:
    PHP Code:
    PHP Fatal error:  Call to a member function debug() on a non-object in /srv/www/vhosts/mysugar/include/utils/LogicHook.php on line 85refererhttp://mysugar.com/index.php?module=Activities&action=index 
    Could anyone help me? It seems that something is wrong with my lang. files, but can't find where the problem is.

    Thank you
    Some valuable informations you could provide to help us help you:
    Sugar version;
    Existing logic hooks;
    full url been accessed

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    SugarCE 5.2.0k
    Don't know which logichooks are there.

    URL: javascript:sListView.order_checks("DESC",%20"date_ start"%20,%20"Calls2_CALL_ORDER_BY")
    Sort by date link in Activities module.

    Thank you.

  6. #6
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    I have an Asterisk moudule installed, and my include/utils/LogicHook.php
    calls custom/modules/logic_hooks.php

    content of custom/modules/logic_hooks.php
    PHP Code:
    <?php
    // Do not store anything in this file that is not part of the array or the hook version.  This file will
    // be automatically rebuilt in the future.
    $hook_version 1;
    $hook_array = Array();
    // position, file, function
    $hook_array['after_ui_frame'] = Array();
    $hook_array['after_ui_frame'][] = Array(1'Asterisk''modules/Asterisk/include/AsteriskJS.php','AsteriskJS''echoJavaScript');



    ?>
    But this only happens if i have Slovenian Language, with English I don't get this error

  7. #7
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    I found out the problem must be somewhere in the language pack. I've installed it on a fresh 5.2.0f and the same error: Bad data passed in; Return to Home (wheh clicking sort by date_start, name, etc.) in Calls listview in module Activities.

    With a different php error:

    PHP Fatal error: Cannot redeclare class Tracker in /srv/www/vhosts/mysugar/modules/Trackers/Tracker.php on line 45, referer: http://mysugar/index.php?module=Activities&action=index

    Don't know how to debug and find where the problem is.

    Problem only exists in module Activities and only if I have my language selected. (On other modules it works ok.) I can sort all other listviews in my language (Contacts, Accounts, etc.)

    Any help would be appreciated.

    Thank you.

  8. #8
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    Now i tried with French lang pack and it works ok, so it has to be something wrong in my lang pack...

  9. #9
    sebek is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    96

    Default Re: Bad data passed in; Return to Home

    Anyone please?

    Clean 5.5CE install with my lang pack

    PHP Fatal error: Class 'LogicHook' not found in /srv/www/vhosts/sugarlab55.mydomain.com/include/utils.php on line 2913, referer: http://sugarlab55.mydomain.com/index...s&action=index

    If I use English or French language i don't get this error.


    Thank you
    Last edited by sebek; 2010-02-16 at 12:58 PM. Reason: mistake

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-09-28, 09:50 AM
  2. Bad data passed in; Return to Home
    By pmidas in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2009-01-26, 10:35 AM
  3. Bad data passed in; Return to Home
    By thorir in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-07-12, 10:53 AM
  4. Bad data passed in; Return to Home
    By Proware in forum Help
    Replies: 1
    Last Post: 2006-11-17, 02:15 AM
  5. Replies: 0
    Last Post: 2006-04-24, 01:10 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
  •