- Posts: 4
How To / General
COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database
- Stephen
- Topic Author
- Offline
- New Member
-
Less
More
2 years 11 months ago #1
by Stephen
COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database was created by Stephen
Good day - I've been using this plugin for many years- thank you for your ongoing development.
I've come across a new error although I haven't changed my setup for at least 6 months.
I'm using Joomla 4 and Moodle 4.1. Joomdle has been working great and the system check is all green checks.
I get a COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database when trying to login with 3 new users. I also get the error in the Joomla backend when trying to change their user group. The user are create correctly in both joomla and moodle. When I navigate to Moodle, the user is logged in despite the error. If I get the error changin user group in Joomla, when I go back the user group has been added or removed despite the error.
I'm not sure where to start - I'm wondering if there is a database issue. There is nothing helpful in the joomla, moodle or PHP logs.
I've come across a new error although I haven't changed my setup for at least 6 months.
I'm using Joomla 4 and Moodle 4.1. Joomdle has been working great and the system check is all green checks.
I get a COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database when trying to login with 3 new users. I also get the error in the Joomla backend when trying to change their user group. The user are create correctly in both joomla and moodle. When I navigate to Moodle, the user is logged in despite the error. If I get the error changin user group in Joomla, when I go back the user group has been added or removed despite the error.
I'm not sure where to start - I'm wondering if there is a database issue. There is nothing helpful in the joomla, moodle or PHP logs.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
2 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database
Hi.
You can enable debugging in Moodle to try to get more info about the error.
You can enable debugging in Moodle to try to get more info about the error.
Please Log in or Create an account to join the conversation.
- Stephen
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
2 years 11 months ago #3
by Stephen
Replied by Stephen on topic COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database
Thank you - I didn't even think of Moodle.
I had a Joomla field mapped to a custom Moodle field. It turns out that when I was creating a user, it had not given the Joomla field a default value and was trying to send a Null value to the Moodle.
Issue resolved -thank you for your help.
I had a Joomla field mapped to a custom Moodle field. It turns out that when I was creating a user, it had not given the Joomla field a default value and was trying to send a Null value to the Moodle.
Issue resolved -thank you for your help.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
2 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic COM_JOOMDLE_WEB_SERVICES_ERROR: Error writing to database
Great, thanks for the feedback.
Please Log in or Create an account to join the conversation.