Results 1 to 10 of 10

Thread: Create batch file for scheduler not working

  1. #1
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Create batch file for scheduler not working

    I am trying to create batch file from command line and I get this error

    C:\Program Files\Zend\Core\bin>php.exe -f C:\progra~1\Zend\Apache2\htdocs\crm\cr
    on.php
    Bad data passed in; <a href="http://crm.mysite.com">Return to Home</a>PHP Notic
    e: Undefined index: log in C:\Program Files\Zend\Apache2\htdocs\crm\include\ut
    ils\LogicHook.php on line 85
    PHP Fatal error: Call to a member function debug() on a non-object in C:\Progra
    m Files\Zend\Apache2\htdocs\crm\include\utils\LogicH ook.php on line 85

    I am not sure how to resolve this. Any help would be appreciated

    Thanks

  2. #2
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    bump

    Anyone?

  3. #3
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    C:\Program Files\Zend\Core\bin>php.exe -f C:\progra~1\Zend\Apache2\htdocs\crm\cr
    on.php

    am i missing something in this command

    can somebody please help

  4. #4
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    bump
    bump
    bump

  5. #5
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    I am trying to create batch file from command line and I get this error

    C:\Program Files\Zend\Core\bin>php.exe -f C:\progra~1\Zend\Apache2\htdocs\crm\cr
    on.php
    Bad data passed in; <a href="http://crm.mysite.com">Return to Home</a>PHP Notic
    e: Undefined index: log in C:\Program Files\Zend\Apache2\htdocs\crm\include\ut
    ils\LogicHook.php on line 85
    PHP Fatal error: Call to a member function debug() on a non-object in C:\Progra
    m Files\Zend\Apache2\htdocs\crm\include\utils\LogicH ook.php on line 85

    I am not sure how to resolve this. Any help would be appreciated

    Thanks

  6. #6
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    sniffle sniffle

  7. #7
    andrew09 is offline Senior Member
    Join Date
    May 2009
    Posts
    33

    Default Re: Create batch file for scheduler not working

    Has anyone set this up successfully in windows machine?

    please help

  8. #8
    drss is offline Junior Member
    Join Date
    Jul 2009
    Posts
    2

    Default Re: Create batch file for scheduler not working

    I've been having the same problem. It occurs any time I try to see others meetings, calls or tasks when I click the next button.
    Last edited by drss; 2009-07-07 at 07:36 PM.

  9. #9
    drss is offline Junior Member
    Join Date
    Jul 2009
    Posts
    2

    Default Re: Create batch file for scheduler not working

    bump. bump.

  10. #10
    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: Create batch file for scheduler not working

    Quote Originally Posted by andrew09 View Post
    I am trying to create batch file from command line and I get this error

    C:\Program Files\Zend\Core\bin>php.exe -f C:\progra~1\Zend\Apache2\htdocs\crm\cr
    on.php
    Bad data passed in; <a href="http://crm.mysite.com">Return to Home</a>PHP Notic
    e: Undefined index: log in C:\Program Files\Zend\Apache2\htdocs\crm\include\ut
    ils\LogicHook.php on line 85
    PHP Fatal error: Call to a member function debug() on a non-object in C:\Progra
    m Files\Zend\Apache2\htdocs\crm\include\utils\LogicH ook.php on line 85

    I am not sure how to resolve this. Any help would be appreciated

    Thanks
    You should cd C:\progra~1\Zend\Apache2\htdocs\crm\ before running php.exe -f cron.php;

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Batch file in scheduler
    By atik in forum Developer Help
    Replies: 1
    Last Post: 2009-04-14, 06:14 AM
  2. Replies: 1
    Last Post: 2009-01-12, 04:36 AM
  3. Replies: 2
    Last Post: 2008-04-07, 05:28 PM
  4. Email Batch Limit Not Working
    By suredoc in forum Help
    Replies: 3
    Last Post: 2007-12-12, 04:01 PM
  5. Fail to setup the batch file (for Scheduler)
    By mrjewelchu in forum General Discussion
    Replies: 1
    Last Post: 2006-03-23, 07:07 AM

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
  •