Cron halts when processing enrollments and modules

Cron halts when processing enrollments and modules

by Oktay Dayıoğlu -
Number of replies: 0

Hi, I installed moodle 2.3.1 on Ubuntu 12.04. I set up cron under ubuntu. But it is not working. To check what is wrong I entered sudo /usr/bin/php -f /var/www/moodle/admin/cli/cron.php from command line and got this log.

 Created missing context instances
Cleaned up stale user sessions
Running auth crons if required...
Running enrol crons if required...
Running cron for enrol_cohort...
!!! error/invalidmysqlnativetype !!!

I disabled cohort enrollement in moodle and tried again. This time:

 Created missing context instances
Cleaned up stale user sessions
Running auth crons if required...
Running enrol crons if required...
Running cron for enrol_flatfile...
!!! error/invalidmysqlnativetype !!!

----

!!! error/invalidmysqlnativetype !!! error also happens while processing chat_cron, forum_cron.

I am not good at programing and can't figure out where the problem is. Any help will be deeply appreciated. Thanks...

 

Average of ratings: -