Results 1 to 2 of 2

Thread: Fatal error: Class 'LogicHook' not

  1. #1
    Neolobo is offline Sugar Community Member
    Join Date
    Oct 2010
    Posts
    11

    Default Fatal error: Class 'LogicHook' not

    Good afternnon

    I have a problem with Corn.php when i tray to use a .bat for planner, give me this error Fatal error:
    F:\xampp\php>php.exe -f f:\xampp\htdocs\crm\cron.php
    Bad data passed in; <a href="http://crm.lat.com.mx/crm">Return to Home</a>
    Fatal error: Class 'LogicHook' not found in F:\xampp\htdocs\crm\include\utils.ph
    p on line 2565

    windwos 2003 server r2
    Server Apache xampp

    i check the code an that line exist but i don't know why give me that error

    and install languaje moduel

  2. #2
    BigMach is offline Junior Member
    Join Date
    Aug 2010
    Posts
    1

    Default Re: Fatal error: Class 'LogicHook' not

    Hi!

    I had the same problem, and it's because och paths in Windows Server. The example you see for a batch-file on the scheduler page in SugarCRM doesn't work. In your case I guess it says:
    cd F:\xampp\htdocs\crm
    php.exe -f cron.php

    The problem is that the cd-command in Windows doesn't support drive letters, so it won't change folder, but return no error either. Change your batch-file to look like this:
    F:
    cd \xamp\htdocs\crm
    php.exe -f cron.php

    Also make sure that the path to php.exe is setup in the %PATH% environment variable, easy tested by trying to excute php.exe from different folders, and also important to remove the full path to cron.php as you have in your example, it should be relative, otherwise include files are not found.

    Hope that helps!
    Last edited by BigMach; 2010-10-29 at 09:32 AM. Reason: Path in example edited

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fresh Install Fatal Error: Class 'LogicHook' not found.
    By sevensuns in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2011-10-10, 03:00 AM
  2. Class 'LogicHook' not found
    By kevinrees in forum Help
    Replies: 0
    Last Post: 2010-09-24, 03:12 PM
  3. Fatal error: Class 'LogicHook' not found
    By mahe23 in forum Deutsche
    Replies: 2
    Last Post: 2010-06-16, 10:27 AM
  4. Help with LogicHook class
    By moschap in forum Help
    Replies: 2
    Last Post: 2008-07-23, 04:03 PM
  5. Help with LogicHook class
    By moschap in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2008-07-23, 04:01 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
  •