Forum LAMS for Tech-Heads - General Forum: LAMStwo clicking Add Lesson gives restcallfail error


 
You may request notification for LAMStwo clicking Add Lesson gives restcallfail error.
Search: 

1: LAMStwo clicking Add Lesson gives restcallfail error
07/16/09 09:11 AM
[ Reply | Forward ]
I don't see any errors in the apache error log. Any ideas?

Posted by Dave Bauer

2: Re: LAMStwo clicking Add Lesson gives restcallfail error
In response to 1 07/16/09 06:04 PM
[ Reply | Forward ]
That usually means the lams server is down or can't be connected. If you're sure it's up, and you're using the latest version of the lamstwo module, try removing the '@' from line 326 of mod/lamstwo/lib.php. If you have debugging on your moodle server set to full that should ouput the error message if any.

Posted by Jun-Dir Liew

3: Re: Re: LAMStwo clicking Add Lesson gives restcallfail error
In response to 2 07/17/09 08:11 AM
[ Reply | Forward ]
I see the HTTP wrapper is missing.

Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in /opt/coolstack/apache2/htdocs/MEL/mod/lamstwo/lib.php on line 326

This has to do with the Solaris Coolstack install of PHP.

Checking into it. Thanks.

Posted by Dave Bauer

4: Re: Re: Re: LAMStwo clicking Add Lesson gives restcallfail error
In response to 3 07/17/09 08:15 AM
[ Reply | Forward ]
In case anyone else is using Coolstack 1.2 add

extension="curl.so" to php.ini

Posted by Dave Bauer

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum