CAS Sync Users Crashes

CAS Sync Users Crashes

by Matthew Koelling -
Number of replies: 1

Hi All

Every time I run the sync_users.php under the auth/cas/cli folder I get the following error:


Potential coding error - active database transaction detected during request shutdown:
* line 935 of /auth/ldap/auth.php: call to moodle_database->start_delegated_transaction()
* line 481 of /auth/cas/auth.php: call to auth_plugin_ldap->sync_users()
* line 59 of /auth/cas/cli/sync_users.php: call to auth_plugin_cas->sync_users()


Any suggestions?

Average of ratings: -
In reply to Matthew Koelling

Re: CAS Sync Users Crashes

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi,

I had exactly the same problem, launching moodle/auth/cas/cli/sync_users.php sad

Problem resolved using more PHP memory (512M to 1024M in my case ; memory_limit=1024M) to execute this script, as explained in this discussion smile

Séverin


Average of ratings: Useful (1)