Results 1 to 11 of 11

Thread: ERROR: Constant Log messages of Cron, Contao Update, Purge

  1. #1
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default ERROR: Constant Log messages of Cron, Contao Update, Purge

    I'm getting constant System Log messages of Cron, Contao Update, Purge.

    Anyone have any idea why? This isn't normal. It's like every minute...

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    check if your localconfig.php file is writable
    Consulenza Contao CMS https://www.intco.it

  3. #3
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    the system runs in SUPHP mode which switches file permissions to the FTP uses, so that all the filed including the local config file is owned by the ftp and it will have write permission.

  4. #4
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    post the value of $GLOBALS['TL_CONFIG']['cron_daily']
    Consulenza Contao CMS https://www.intco.it

  5. #5
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    $GLOBALS['TL_CONFIG']['cron_daily'] = 20111020;

  6. #6
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    Quote Originally Posted by thyon
    $GLOBALS['TL_CONFIG']['cron_daily'] = 20111020;
    when the cronDaily run, update the above value with the last run date

    my $GLOBALS['TL_CONFIG']['cron_daily'] is 20111118

    this means that your localconfig.php is not writeable
    Consulenza Contao CMS https://www.intco.it

  7. #7
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    Of course it is. I have checked it by getting the FTP details and also by adding some text to the TITLE in settings and saved, which would update the localconfig.php file.

    e.g. $GLOBALS['TL_CONFIG']['websiteTitle'] = 'AdventureBookings WebCMS TEST';
    (this was ONLY done using the SETTINGS BE, and it worked)

    Obviously it is writable and therefore couldn't be the problem. Here is the FTP settings (I even changed it all to writable).

    [attachment=0:2smfiqat]Screen Shot 2011-11-18 at 13.36.50 .jpg[/attachment:2smfiqat]

  8. #8
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    very strange, now the question is:

    Why Contao is not able to update the $GLOBALS['TL_CONFIG']['cron_daily'] entry in localconfig.php?
    Consulenza Contao CMS https://www.intco.it

  9. #9
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    exactly! and now I have 30000 entries in my system log.... OUCH!

  10. #10
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    I found it. I tried to run the crop.php manually from the browser, and it failed with a memory limit error. I bumped up the memory to a shocking 128MB to get it to run. Is Contao really that memory hungry for larger sites?

  11. #11
    User
    Join Date
    06-19-09.
    Posts
    328

    Default Re: ERROR: Constant Log messages of Cron, Contao Update, Pur

    Can you post the previous memory_limit?
    Can you tell us more details about the Contao installation? (number of sites, number of pages etc.)

    thanks
    Consulenza Contao CMS https://www.intco.it

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
  •