Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with moodle 3.5? #87

Open
jacq0123 opened this issue Jan 15, 2019 · 11 comments
Open

Not working with moodle 3.5? #87

jacq0123 opened this issue Jan 15, 2019 · 11 comments

Comments

@jacq0123
Copy link

Hello,
I followed the instruction described on this page, https://github.com/cannod/moodle-drupalservices/wiki, but it's not working.
Is this related to the moodle-drupalservices auth plugin that is for version 2.8+?
Anyone getting this to work with Moodle 3.5?
Thanks!

@peterhuppertz
Copy link

I also can't get the plugin to work with Moodle 3.6 and Drupal 8.6.9. Installed both plugins, created user in Drupal, but Moodle /admin/settings.php?section=authsettingdrupalservices only allows the textfield to input the Drupal URL. If I do so settings are saved, but now other settings show.

@jacq0123
Copy link
Author

jacq0123 commented Feb 19, 2019 via email

@netw3rker
Copy link
Collaborator

@peterhuppertz rather than pass around a zip file, could you create a pull request with those changes?

@jacq0123
Copy link
Author

jacq0123 commented Feb 19, 2019 via email

@matt-heff
Copy link

@jacq0123 I am trying to achieve something similar Drupal 7.60 and moodle 3.5

Can you let me know how you got it working? Or if you have a working code zip share it with me.

Ill be banging my head against this over the next 2 weeks till it works.

@peterhuppertz
Copy link

@jacq0123: I finally changed to using Drupal as a CAS Server https://www.drupal.org/project/cas_server and the CASattributes extension for Moodle https://github.com/middlebury/Moodle-auth_casattras. Works fine for me.

@vadimoarturo
Copy link

@jacq0123: I finally changed to using Drupal as a CAS Server https://www.drupal.org/project/cas_server and the CASattributes extension for Moodle https://github.com/middlebury/Moodle-auth_casattras. Works fine for me.

Hi, please tell me how you configured the authentication via CAS Server between Drupal and Moodle.
Can you give step-by-step instructions?

@vadimoarturo
Copy link

Hello,
I followed the instruction described on this page, https://github.com/cannod/moodle-drupalservices/wiki, but it's not working.
Is this related to the moodle-drupalservices auth plugin that is for version 2.8+?
Anyone getting this to work with Moodle 3.5?
Thanks!

I am using the latest version 3.7.2
I almost succeeded, there are some problems with Drupal

@jacq0123
Copy link
Author

jacq0123 commented Sep 12, 2019 via email

@vadimoarturo
Copy link

Hello, I'm using the current up to date version. Also, I had someone else configure this for me because I couldn't get it to work properly.

________________________________ From: edgardoalbertoromeromasis [email protected] Sent: Thursday, September 12, 2019 11:11 AM To: cannod/moodle-drupalservices [email protected] Cc: jacq0123 [email protected]; Mention [email protected] Subject: Re: [cannod/moodle-drupalservices] Not working with moodle 3.5? (#87) @jacq0123https://github.com/jacq0123: I finally changed to using Drupal as a CAS Server https://www.drupal.org/project/cas_server and the CASattributes extension for Moodle https://github.com/middlebury/Moodle-auth_casattras. Works fine for me. hello, could you tell us please what is the Moodle version that you've used? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<#87?email_source=notifications&email_token=AGJDU4DH3XQ2XK6IO3JOCZTQJJL2JA5CNFSM4GQDWM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6SHMRI#issuecomment-530871877>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGJDU4CXNGZDG4JN6EELOWLQJJL2JANCNFSM4GQDWM3A.

At the moment I am trying to make a connection between Druapl 8 and Moodle via CAS
Drupal 8 Cas Server
At the moment, I get an error on the side of Drupal 8
My site is based on Postgres SQL version 11

Code Error:
Drupal \ Core \ Database \ DatabaseExceptionWrapper: SQLSTATE [22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "2019-09-12 18:56:46" LINE 1: ... 'ST-hZUec08prWhJWrfbvIp7eJ_e6NYg4_ItZRoXtx3N4s4 '2019-09-1 ... ^: INSERT INTO cas_server_ticket_store (id, expiration, type, session, uid, "user", service, renew) VALUES (: db_insert_placeholder_0,: db_insert_placeholder_1,: db_insert_placeholder_2,: db_insert_placeb__holder_3_3 : db_insert_placeholder_5,: db_insert_placeholder_6,: db_insert_placeholder_7); Array () in Drupal \ cas_server \ Ticket \ TicketFactory-> createServiceTicket () (line 111 of /var/www/example.com/web/modules/contrib/cas_server/src/Ticket/TicketFactory.php).

@christophe-natale
Copy link

Hi,
Can't find the way to make this module working....
I'm looking for the whole moodle module with drupal 8 compatibility. Could you please send me the whole file?
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants