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

Add to User Calendar DB issue #4

Open
jlowe64 opened this issue Dec 6, 2013 · 0 comments
Open

Add to User Calendar DB issue #4

jlowe64 opened this issue Dec 6, 2013 · 0 comments

Comments

@jlowe64
Copy link

jlowe64 commented Dec 6, 2013

Hello,

We have an error with adding events to user calendars during a face-to-face event creation. The option under the Calendar section on /course/modedit.php for adding events after a user signs up for a face to face event, and by ticking this checkbox it throws the following error on page refresh:

Comparisons of text column conditions are not allowed. Please use sql_compare_text() in your query.

More information about this error
Debug info:
Error code: textconditionsnotallowed
Stack trace:

line 584 of /lib/dml/moodle_database.php: dml_exception thrown
line 1728 of /lib/dml/moodle_database.php: call to moodle_database->where_clause()
line 3231 of /mod/facetoface/lib.php: call to moodle_database->delete_records()
line 1825 of /mod/facetoface/lib.php: call to facetoface_add_session_to_calendar()
line 82 of /mod/facetoface/editattendees.php: call to facetoface_user_signup()

We have are using Moodle 2.5. This error does not seem to happen on all Moodle installs, however I have seen the issue for a few other people on the Moodle forums. So, it's not limited to just us.

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

1 participant