- Posts: 128
[Solved] js_group Fatal Error
- Ron Wells
- Topic Author
- Offline
- Premium Member
-
Less
More
13 years 4 months ago - 13 years 3 months ago #1
by Ron Wells
[Solved] js_group Fatal Error was created by Ron Wells
I am getting this error for only one course. Rest of Joomdle/Moodle functionality seems fine. Could this course somehow be using a JomSocial feature that the others are not?
Joomdle .9
Joomla 2.5.8
Moodle 2.3.2
JomSocial 2.6.2
Blank page is seen for this course. All other courses work fine.
With Moodle debug on I get the following error. Similar error with get_file_contents. Neither work.
Fatal error: Call to undefined method block_jsgroup::call_method_curl() in /public_html/moodle/auth/joomdle/auth.php on line 506
Deleting js_group causes the issue to go away but then I loose JomSocial functionality.
Any ideas?
Thanks,
Ron
Joomdle .9
Joomla 2.5.8
Moodle 2.3.2
JomSocial 2.6.2
Blank page is seen for this course. All other courses work fine.
With Moodle debug on I get the following error. Similar error with get_file_contents. Neither work.
Fatal error: Call to undefined method block_jsgroup::call_method_curl() in /public_html/moodle/auth/joomdle/auth.php on line 506
Deleting js_group causes the issue to go away but then I loose JomSocial functionality.
Any ideas?
Thanks,
Ron
Last edit: 13 years 3 months ago by Antonio Durán.
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 4 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic js_group Fatal Error
Hi Ron.
It's been a while since I used this module, and I just checked and it was not properly updated for Moodle 2.3.
I have not tried, but I think you should be able to fix it editing /moodle/blocks/jsgroup/block_jsgroup.php by adding:
And then changing the 2 web service calls, like:
By:
Please let us know how if goes if you try it.
It's been a while since I used this module, and I just checked and it was not properly updated for Moodle 2.3.
I have not tried, but I think you should be able to fix it editing /moodle/blocks/jsgroup/block_jsgroup.php by adding:
Code:
$auth_joomdle = new auth_plugin_joomdle ();
And then changing the 2 web service calls, like:
Code:
$id = auth_plugin_joomdle::call_method ("getJSGroupId", $course_name);
By:
Code:
$id = $auth_joomdle->call_method ("getJSGroupId", $course_name);
Please let us know how if goes if you try it.
The topic has been locked.
- Ron Wells
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 128
13 years 4 months ago #3
by Ron Wells
Replied by Ron Wells on topic js_group Fatal Error
Antonio - I will give it a try this weekend...
Thanks
Thanks
The topic has been locked.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7908
13 years 3 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic js_group Fatal Error
I tested this, and the given solution fixed the issue.
The topic has been locked.