- Posts: 3
Joomdle 1.0 Installation
Joomdle Web Services - An unexpected error happened: 2360449
- dlrm
-
Topic Author
- Offline
- New Member
-
Less
More
7 years 2 months ago #1
by dlrm
Joomdle Web Services - An unexpected error happened: 2360449 was created by dlrm
Hello, could you please help with my problem - when I open "Joomdle: System check" I see the Joomdle Web Services error-message "An unexpected error happened: 23604497: Can not find data record in database table external_functions. (SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_system_check', )]) | DEBUG INFO: SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_system_check', )] | ERRORCODE: invalidrecord".
Also, if I click Users (/administrator/index.php?option=com_joomdle&view=users) there is a white screen with the same error: "XML-RPC Error (23604497): Can not find data record in database table external_functions. (SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_get_moodle_users_number', )]) | DEBUG INFO: SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_get_moodle_users_number', )] | ERRORCODE: invalidrecordd".
What could be the cause?
system info:
Moodle - version 3.1 is required and you are running 3.6.2+ (Build: 20190124)
Joomla - Joomla! 3.9.2
Also, if I click Users (/administrator/index.php?option=com_joomdle&view=users) there is a white screen with the same error: "XML-RPC Error (23604497): Can not find data record in database table external_functions. (SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_get_moodle_users_number', )]) | DEBUG INFO: SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'joomdle_get_moodle_users_number', )] | ERRORCODE: invalidrecordd".
What could be the cause?
system info:
Moodle - version 3.1 is required and you are running 3.6.2+ (Build: 20190124)
Joomla - Joomla! 3.9.2
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 2 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services - An unexpected error happened: 2360449
Hi.
It seems that for some reason, functions were not added to service at Joomdle installation in Moodle, although I don't know why, as I did not see this error before.
Please check Moodle admin->Plugins->Web services->External services and see if Joomdle service was created. If it was, check its functions, I guess it will be empty.
If that's the case, you can try uninstalling Joomdle in Moodle, and installing it again,to see if functions get correctly added.
It seems that for some reason, functions were not added to service at Joomdle installation in Moodle, although I don't know why, as I did not see this error before.
Please check Moodle admin->Plugins->Web services->External services and see if Joomdle service was created. If it was, check its functions, I guess it will be empty.
If that's the case, you can try uninstalling Joomdle in Moodle, and installing it again,to see if functions get correctly added.
Please Log in or Create an account to join the conversation.
- dlrm
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
7 years 2 months ago #3
by dlrm
Replied by dlrm on topic Joomdle Web Services - An unexpected error happened: 2360449
Thanks, there was no Joomdle service in External services.
I reinstalled Moodle (the latest version from moodle.org) and installed Joomdle in Moodle - and after the installation it was some errors: "Exception - Call to undefined method cache_disabled::purge_current_user()".
What could be the root of this problem?
I reinstalled Moodle (the latest version from moodle.org) and installed Joomdle in Moodle - and after the installation it was some errors: "Exception - Call to undefined method cache_disabled::purge_current_user()".
What could be the root of this problem?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 2 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services - An unexpected error happened: 2360449
Please check here:
www.joomdle.com/forum/installation/12450...-with-database-error
Bug is reported on Moodle, although there is not an official reply yet. You can try using the fix provided above at your own discretion.
We'll wait to see if there's a reply, and otherwise we may need to change our installation method for a future release.
www.joomdle.com/forum/installation/12450...-with-database-error
Bug is reported on Moodle, although there is not an official reply yet. You can try using the fix provided above at your own discretion.
We'll wait to see if there's a reply, and otherwise we may need to change our installation method for a future release.
Please Log in or Create an account to join the conversation.
- dlrm
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
7 years 2 months ago #5
by dlrm
Replied by dlrm on topic Joomdle Web Services - An unexpected error happened: 2360449
Thank you very much, it works! The problem was in user/lib.php — I fixed it and then installed Joomdle without errors.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
7 years 2 months ago #6
by Antonio Durán
Replied by Antonio Durán on topic Joomdle Web Services - An unexpected error happened: 2360449
Great, thanks for the feedback.
Please Log in or Create an account to join the conversation.