Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: token not working #22513
    jotter
    Participant

    I had the same problem. The test connection failed on Create User with no log output. The problem turned out to be that the moodle test user already existed in my Moodle db, so the create failed. Really, the code should test for that first rather than give an incorrect error message.

    Also, ‘Catagory Fetch’ is incorrectly spelt. Should be ‘Category Fetch’.

    in reply to: Test Connection fails to produce any output v 3.1.7 and 3.1.8 #21258
    jotter
    Participant

    Actually … had the same problem on our production site. I needed to force MooWoodle to write to the log by calling MW_log for a first time (by adding a call to MW_log at the top of function moowoodle_moodle_test_connection_callback) and then everything worked. Very weird.

    in reply to: Test Connection fails to produce any output v 3.1.7 and 3.1.8 #21257
    jotter
    Participant

    Well … resolved now and it appears to have been a caching issue.

    Despite trying to clear cache and re-inistalling the plugin (several times) it appears that one or more of the plugin files were not re-loaded. After I manually edited class-moowoodle-testconnection.php (to add another log record) the Test Connection facility started working so I am assuming that the file change forced a full/proper cache refresh. Something other developers might want to be aware of.

    in reply to: Test Connection fails to produce any output v 3.1.7 and 3.1.8 #21256
    jotter
    Participant

    I’m sorry but I can’t give you access to any of our sites. I will, however, do some further debugging to narrow down/identify the problem and report back here.

Viewing 4 posts - 1 through 4 (of 4 total)