- Posts: 91
[Solved] Problem with cURL web service
- Fabio Ballor
- Topic Author
- Offline
- Premium Member
-
Less
More
14 years 10 months ago - 14 years 9 months ago #1
by Fabio Ballor
[Solved] Problem with cURL web service was created by Fabio Ballor
Hi Antonio,
How are you?
Meanwhile inform you that next week will present joomdle to the Italian MoodleMoot 2011!
This is the link for the workshop:
www.moodlemoot.it/mod/facetoface/view.php?id=443
The title is:
Joomdle: Joomla and Moodle integration in a social context
I am writing to update Joomdle 0.52
And I have a problem.
Before everything worked fine!
The site is www.insegnalo.it
joomla 1.5.23
Moodle 2.0.2
joomdle 0.52
Jomsocial 2.0.6
The problem is the "joomdle web services"
x error appears if I enable the cURL connection method on Moodle.
Only in this case, regardless of the settings of joomla.
Of course I checked all the settings.
I specify that I clean the database, and added new features to the service joomdle in moodle
What can it be?
Thank you if you want help, even in the preparation for next week's MoodleMoot
Thanks
Fabio
How are you?
Meanwhile inform you that next week will present joomdle to the Italian MoodleMoot 2011!
This is the link for the workshop:
www.moodlemoot.it/mod/facetoface/view.php?id=443
The title is:
Joomdle: Joomla and Moodle integration in a social context
I am writing to update Joomdle 0.52
And I have a problem.
Before everything worked fine!
The site is www.insegnalo.it
joomla 1.5.23
Moodle 2.0.2
joomdle 0.52
Jomsocial 2.0.6
The problem is the "joomdle web services"
x error appears if I enable the cURL connection method on Moodle.
Only in this case, regardless of the settings of joomla.
Of course I checked all the settings.
I specify that I clean the database, and added new features to the service joomdle in moodle
What can it be?
Thank you if you want help, even in the preparation for next week's MoodleMoot
Thanks
Fabio
Last edit: 14 years 9 months ago by Chris.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7902
14 years 10 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Re: Problem with cURL web service
Hi. Nice to know that you are talking about Joomdle. I also did a talk about it in a Moodlemoot in Spain.
If you need something for it, just tell me.
As for your cURL problem: I just noticed yesterday that there is a bug in curl web service call function in moodle side of joomdle.
It would be great if you can test the fix, and confirm that it fixes your problem.
In call_method_curl () function, in moodle/auth/joomdle.php.
At the end of the function, change:
return $response;
By:
return $data;
If you need something for it, just tell me.
As for your cURL problem: I just noticed yesterday that there is a bug in curl web service call function in moodle side of joomdle.
It would be great if you can test the fix, and confirm that it fixes your problem.
In call_method_curl () function, in moodle/auth/joomdle.php.
At the end of the function, change:
return $response;
By:
return $data;
Please Log in or Create an account to join the conversation.
- Fabio Ballor
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 91
14 years 10 months ago #3
by Fabio Ballor
Replied by Fabio Ballor on topic Re: Problem with cURL web service
Great! now it's ok.
the problem has been fixed.
The file to modify is:
Moodle / auth / joomdle / auth.php
For MoodleMoot, you can let me know what are the future developments of joomdle?
(with the email address registered in my account)
Thanks
Fabio
the problem has been fixed.
The file to modify is:
Moodle / auth / joomdle / auth.php
For MoodleMoot, you can let me know what are the future developments of joomdle?
(with the email address registered in my account)
Thanks
Fabio
Please Log in or Create an account to join the conversation.
- David Parker
- Offline
- Senior Member
-
Less
More
- Posts: 67
14 years 10 months ago - 14 years 10 months ago #4
by David Parker
Replied by David Parker on topic Re: Problem with cURL web service
I concur! Changing the following fixed the error "Received empty response from Moodle." in system check for Joomdle web services. The file to edit is auth.php.
After fixing this, a new error occurred:
"The requested function does not exist"
This was fixed by returning to "add funtions menu"
Home / ► Site administration / ► Plugins / ► Web services / ► External services / ► Functions
All is working well.
I'm on a shared host, I have both moodle and joomla in sub-directories on the same hosting directory.
After fixing this, a new error occurred:
"The requested function does not exist"
This was fixed by returning to "add funtions menu"
Home / ► Site administration / ► Plugins / ► Web services / ► External services / ► Functions
All is working well.
I'm on a shared host, I have both moodle and joomla in sub-directories on the same hosting directory.
Last edit: 14 years 10 months ago by David Parker.
Please Log in or Create an account to join the conversation.