• Resolved deleted

    (@lovesamla)


    Hello there,

    I can see in my Apache access Log, that the plugin gets a “200” when trying to connect.
    The error in the title shows in the error log.

    The plugin suggests that my Moodle is not set up correctly. I followed every step in the manual.

    Can anyone help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter deleted

    (@lovesamla)

    I still have this problem. I tried deactivating every other plugin, shut all firewalls down, switched to a standard theme. It does synch courses, create product but not create users in Moodle.

    What a shame this plugin is dead and the author deserted it.

    It might just be a problem with the current Moddle + Woo versions

    Found the solution. Just a modification at the source code:

    FILE: wp-content/plugins/moowoodle/classes/class-dc-woodle-enrollment.php
    LINE: 186
    ORIGINAL LINE: $user_data[‘lang’] = substr($b,0,2);
    NEW LINE: $user_data[‘lang’] = ‘pt_br’; //OR ANY LANGUAGE YOU WANT. SAME LANGUAGE AS YOUR WP CONFIG.

    Be sure to verify this modification when a new MooWoodle update became available ??

    PS.: It may be possible to change the code to get 5 strings, so the copy of language should be the same. Something like substr($b,0,5); I didn’t tested it.

    Thread Starter deleted

    (@lovesamla)

    @nahsebben
    1) Bless you for taking the time to share and post
    2) How do I find my language? Is it “en” for English?

    PS: I hope I get it to work.
    That said, it appears the plugin is dead. Hope there’s an alternative besides edwiser

    Thread Starter deleted

    (@lovesamla)

    It’s still not working… I put en_US.
    $user_data[‘lang’] = ‘en_US’;
    AH01071: Got error ‘PHP message: PHP Warning: Use of undefined constant \xe2\x80\x98en_US\xe2\x80\x99 – assumed ‘\xe2\x80\x98en_US\xe2\x80\x99′ (this will throw an Error in a future version of PHP) in ………../plugins/moowoodle/classes/class-dc-woodle-enrollment.php on line 186’, referer:

    Thread Starter deleted

    (@lovesamla)

    The “exceeded 10” error message is gone, though.

    But it’s still neither creating users in Moodle nor sending “couldn’t create user” messages

    If anyone knows an alternative that’s not edwiser – let me know please

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Request exceeded the limit of 10 internal redirects due to probable configuratio’ is closed to new replies.