+ Reply to Thread
Results 1 to 7 of 7

Thread: CRON job error

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    25

    CRON job error

    I just noticed our CRON jobs have been erroring. The message in the error_log file is below.

    [07-Dec-2016 09:30:01 America/Los_Angeles] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent in /home/usused0/public_html/includes/control.inc.php on line 23
    [07-Dec-2016 09:30:01 America/Los_Angeles] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /home/usused0/public_html/includes/control.inc.php:23) in /home/usused0/public_html/includes/control.inc.php on line 23
    [07-Dec-2016 09:30:01 America/Los_Angeles] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/usused0/public_html/includes/classes/rlDb.class.php on line 53

  2. #2
    Hello Paul,

    Open file: ftp://includes>>control.inc.php

    find lines:
    PHP Code:
    Only registered members can view the code
    and add condition:
    PHP Code:
    Only registered members can view the code
    save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Junior Member
    Join Date
    Aug 2010
    Posts
    25
    The code in control.inc.php only has one line regarding sessions:
    Code:
    Only registered members can view the code.
    I added the condition around it and will retry. Final code:
    Code:
    Only registered members can view the code.

  4. #4
    Junior Member
    Join Date
    Aug 2010
    Posts
    25
    Received same error message.

    Code:
    Only registered members can view the code.

  5. #5
    Junior Member
    Join Date
    Aug 2010
    Posts
    25
    The CRON error email had an additional error message if it helps.
    Code:
    Only registered members can view the code.

  6. #6
    Junior Member
    Join Date
    Aug 2010
    Posts
    25
    Any more thoughts?

  7. #7
    Hello Paul,

    I suggest you create a ticket with your problem. Our tech department will try to solve it.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread