Results 1 to 3 of 3

Thread: Help with LogicHook class

  1. #1
    moschap is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    46

    Default Help with LogicHook class

    Hi Everyone,

    I have a working deployment of Sugarcrm 4.5.1i that worked up to today, it suddenly started throwing the following error

    Fatal error: Class 'LogicHook' not found in C:\<SUGAR_CRM_ROOT>\modules\Users\authentication\A uthenticationController.php on line 130

    if i go to AutheticationController.php i have the following code snippet

    //kbrill bug #13225
    LogicHook::initialize();
    $GLOBALS['logic_hook']->call_custom_logic('Users', 'login_failed');
    $GLOBALS['log']->fatal('FAILED LOGIN:attempts[' .$_SESSION['loginAttempts'] .'] - '. $username);


    please my question is does anyone know where LogicHook class is defined, because it is not seeing it suddenly, so i can check if the class or file is present and work around it appropriately.

    Thanks

    Nnamdi.

  2. #2
    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: Help with LogicHook class

    Hi, moschap

    Did you perform any modification or upgrade into your system?

    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.

  3. #3
    eNick is offline Sugar Community Member
    Join Date
    Apr 2008
    Location
    UK
    Posts
    282

    Default Re: Help with LogicHook class

    Quote Originally Posted by moschap
    Hi Everyone,

    please my question is does anyone know where LogicHook class is defined, because it is not seeing it suddenly, so i can check if the class or file is present and work around it appropriately.
    Hi, I don't have version 4.5 installed, but on 5.0 it's located here...

    include/utils/LogicHook.php
    T H E S U G A R R E F I N E R Y
    : : : SugarCrm Customisation and Integration Services : : :

    SugarCRM Systems Integration Partner
    Trusted with SugarCRM
    http://www.theSugarRefinery.com ::: sales@{removethis}theSugarRefinery.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fatal error PEAR Class with executeQuery
    By krakoss2 in forum Developer Help
    Replies: 0
    Last Post: 2008-02-19, 09:11 AM
  2. SugarBean class property
    By SoftDev in forum Developer Help
    Replies: 2
    Last Post: 2007-12-07, 03:45 PM
  3. DateTime class
    By denis.witt in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2006-12-06, 08:46 PM
  4. Page not found bug - Currency class issue?
    By paviles in forum General Discussion
    Replies: 0
    Last Post: 2006-03-22, 05:47 AM
  5. class loger error?
    By janislanka in forum General Discussion
    Replies: 0
    Last Post: 2005-11-30, 09:16 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
  •