- Posts: 26
Joomdle 1.0 Installation
Error on Php7 OR moodle 3.1
- Ahmad Arshad
- Topic Author
- Offline
- Banned
-
Less
More
9 years 11 months ago #1
by Ahmad Arshad
Error on Php7 OR moodle 3.1 was created by Ahmad Arshad
Hi,
Upgraded my Moodle to 3.1 and Php to 7.... Now I am getting
On Joomla health check:
Joomdle Web Services Received empty response from Moodle
On Moodle Notification:
The following plugins in your system are using Events 1 API deprecated handlers: 'joomdle, enrol_signup, signup'. Please, update them to use Events 2 API. See docs.moodle.org/dev/Event_2#Event_dispatching_and_observers .
Any ideas guys?
Upgraded my Moodle to 3.1 and Php to 7.... Now I am getting
On Joomla health check:
Joomdle Web Services Received empty response from Moodle
On Moodle Notification:
The following plugins in your system are using Events 1 API deprecated handlers: 'joomdle, enrol_signup, signup'. Please, update them to use Events 2 API. See docs.moodle.org/dev/Event_2#Event_dispatching_and_observers .
Any ideas guys?
Please Log in or Create an account to join the conversation.
- Ahmad Arshad
- Topic Author
- Offline
- Banned
-
Less
More
- Posts: 26
9 years 11 months ago #2
by Ahmad Arshad
Replied by Ahmad Arshad on topic Error on Php7 OR moodle 3.1
When I change from curl to file_get_contents,
Now I actually see an error:
An unexpected error happened: 29039061: Invalid parameter value detected | ERRORCODE: invalidparameter
Now I actually see an error:
An unexpected error happened: 29039061: Invalid parameter value detected | ERRORCODE: invalidparameter
Please Log in or Create an account to join the conversation.
- TimBerr Designs
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 11 months ago - 9 years 11 months ago #3
by TimBerr Designs
Replied by TimBerr Designs on topic Error
This is the error i get with php5.6
XML-RPC Error (29039061): Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
Have disabled Joomdle plugins and menus in joomla 3.5.1 and my joomla site works again.
XML-RPC Error (29039061): Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
Have disabled Joomdle plugins and menus in joomla 3.5.1 and my joomla site works again.
Last edit: 9 years 11 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 11 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic Error on Php7 OR moodle 3.1
Are you running Joomdle 1.0.5 on Joomla and Moodle?
Where do you get that error? In system check page?
Where do you get that error? In system check page?
Please Log in or Create an account to join the conversation.
- TimBerr Designs
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 11 months ago - 9 years 11 months ago #5
by TimBerr Designs
Replied by TimBerr Designs on topic Error on Php7 OR moodle 3.1
Hi Antonio
Running
Joomla 3.5.1
Moodle 3.1
Joomdle 1.0.5
Have noticed that moodle has made changes to its core on 3.1 it worked fine with 3.0.4
this is the error i get when trying to log into website
XML-RPC Error (29039061): Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
This is error in moodle
The following plugins in your system are using Events 1 API deprecated handlers: 'joomdle'. Please, update them to use Events 2 API. See docs.moodle.org/dev/Event_2#Event_dispatching_and_observers .
Using Curl
on system check get this error
Joomdle Web Services An unexpected error happened: 29039061: Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
regards
Running
Joomla 3.5.1
Moodle 3.1
Joomdle 1.0.5
Have noticed that moodle has made changes to its core on 3.1 it worked fine with 3.0.4
this is the error i get when trying to log into website
XML-RPC Error (29039061): Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
This is error in moodle
The following plugins in your system are using Events 1 API deprecated handlers: 'joomdle'. Please, update them to use Events 2 API. See docs.moodle.org/dev/Event_2#Event_dispatching_and_observers .
Using Curl
on system check get this error
Joomdle Web Services An unexpected error happened: 29039061: Invalid parameter value detected | DEBUG INFO: Unexpected keys (lang) detected in parameter array. | ERRORCODE: invalidparameter
regards
Last edit: 9 years 11 months ago by TimBerr Designs.
Please Log in or Create an account to join the conversation.
- Ahmad Arshad
- Topic Author
- Offline
- Banned
-
Less
More
- Posts: 26
9 years 11 months ago #6
by Ahmad Arshad
Replied by Ahmad Arshad on topic Error on Php7 OR moodle 3.1
yes and yes
Please Log in or Create an account to join the conversation.
- ncy
- Offline
- New Member
-
Less
More
- Posts: 18
9 years 11 months ago - 9 years 11 months ago #7
by ncy
Replied by ncy on topic Error on Php7 OR moodle 3.1
Same symptoms for me:
I am unable to login and keep incorrectly getting: "Username and password do not match or you do not have an account yet."
Actually when my username/password are correct, after "failing" login, if I go to any other Joomla page, it just displays the error: "XML-RPC Error (29039061): Invalid parameter value detected | ERRORCODE: invalidparameter" and nothing else. I have to close and restart the browser in order to get the site pages loading again (which I assume is basically logging out). If username/password is incorrect, it doesn't display the XML-RPC error and the site pages continue to load fine.
Strangely enough, I do NOT get the Deprecated Events API warning.
- Joomla 3.5.1
- Moodle 3.1
- Joomdle 1.0.5
- On local XAMPP site: System Check > Joomdle Web Services: An unexpected error happened: 29039061: Invalid parameter value detected | ERRORCODE: invalidparameter
- On live site: System Check > Joomdle Web Services: Received empty response from Moodle
I am unable to login and keep incorrectly getting: "Username and password do not match or you do not have an account yet."
Actually when my username/password are correct, after "failing" login, if I go to any other Joomla page, it just displays the error: "XML-RPC Error (29039061): Invalid parameter value detected | ERRORCODE: invalidparameter" and nothing else. I have to close and restart the browser in order to get the site pages loading again (which I assume is basically logging out). If username/password is incorrect, it doesn't display the XML-RPC error and the site pages continue to load fine.
Strangely enough, I do NOT get the Deprecated Events API warning.
Last edit: 9 years 11 months ago by ncy.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 11 months ago #8
by Antonio Durán
Replied by Antonio Durán on topic Error on Php7 OR moodle 3.1
Thanks all for the bug report. I installed Moodle 3.1 and could replicate the problem.
The fix is easy, so you can do it yourselves while we release a new version. Change is in Joomdle code in Joomla.
File: administrator/components/com_joomdle/helpers/content.php
Function: _get_xmlrpc_url ()
Comment out / remove this code:
We will release a new version with the fix as soon as possible.
The fix is easy, so you can do it yourselves while we release a new version. Change is in Joomdle code in Joomla.
File: administrator/components/com_joomdle/helpers/content.php
Function: _get_xmlrpc_url ()
Comment out / remove this code:
Code:
// Get current language and pass it in Moodle URL
$lang = JFactory::getLanguage();
$tag = $lang->getTag();
$lang = explode('-',$tag);
$lang = $lang[0];
$moodle_xmlrpc_server_url.="&lang=".$lang;
We will release a new version with the fix as soon as possible.
Please Log in or Create an account to join the conversation.
- Ahmad Arshad
- Topic Author
- Offline
- Banned
-
Less
More
- Posts: 26
9 years 11 months ago #9
by Ahmad Arshad
Replied by Ahmad Arshad on topic Error on Php7 OR moodle 3.1
The error has subsided.... The SSO doesnt work now...
Please Log in or Create an account to join the conversation.
- TimBerr Designs
- Offline
- New Member
-
Less
More
- Posts: 6
9 years 11 months ago - 9 years 11 months ago #10
by TimBerr Designs
Replied by TimBerr Designs on topic Error on Php7 OR moodle 3.1
Hi Antonio
Thanks for the fix
Have applied and is working did system check and all is ok.
Can log in as administrator but not as a student (had to update password for student in joomla then it worked)
Regards
Have applied and is working did system check and all is ok.
Can log in as administrator but not as a student (had to update password for student in joomla then it worked)
Regards
Last edit: 9 years 11 months ago by TimBerr Designs.
Please Log in or Create an account to join the conversation.