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...
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...
check if your localconfig.php file is writable
Consulenza Contao CMS https://www.intco.it
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.
post the value of $GLOBALS['TL_CONFIG']['cron_daily']
Consulenza Contao CMS https://www.intco.it
$GLOBALS['TL_CONFIG']['cron_daily'] = 20111020;
when the cronDaily run, update the above value with the last run dateOriginally Posted by thyon
my $GLOBALS['TL_CONFIG']['cron_daily'] is 20111118
this means that your localconfig.php is not writeable
Consulenza Contao CMS https://www.intco.it
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]
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
exactly! and now I have 30000 entries in my system log.... OUCH!
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?
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