Invalid JSON string

Invalid JSON string

by Faicel Brinis -
Number of replies: 2

Invalid JSON string

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to http://localhost:80 (Unable to find the socket transport &quot;http&quot; - did you forget to enable it when you configured PHP?) in D:\wamp\www\moodle\lib\webdavlib.php on line 157
Call Stack
#TimeMemoryFunctionLocation
10.0598512320{main}(  )..\repository_ajax.php:0
23.331223727216repository_webdav->get_listing(  )..\repository_ajax.php:145
33.580923742424webdav_client->open(  )..\lib.php:96
43.580923742520fsockopen
(  )..\webdavlib.php:157

{"dynload":true,"nosearch":true,"nologin":true,"path":[{"name":"WebDAV","path":"","icon":"http:\/\/localhost\/moodle\/theme\/image.php\/boxxie\/core\/1358957296\/f\/folder-24"}],"list":[],"repo_id":8}
Average of ratings: -
In reply to Faicel Brinis

Re: Invalid JSON string

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

and???

 

You have afix? You want some help? You want to know why its happening? You want to know if anyone else has come across this before?

Can you give some details of when the error occurs, what moodle version it occurs on, what you are trying to do when it occurs?

Those who know about the repositories may then be able to help you!

In reply to Richard Oelmann

Re: Invalid JSON string

by Faicel Brinis -

The problem when I installed the plugin "WebDav" its still gives the same error :

Invalid JSON string

( ! ) SCREAM: Error suppression ignored for
( ! ) Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to http://localhost:80 (Unable to find the socket transport &quot;http&quot; - did you forget to enable it when you configured PHP?) in D:\wamp\www\moodle\lib\webdavlib.php on line 157
Call Stack
#TimeMemoryFunctionLocation
10.0598512320{main}(  )..\repository_ajax.php:0
23.331223727216repository_webdav->get_listing(  )..\repository_ajax.php:145
33.580923742424webdav_client->open(  )..\lib.php:96
43.580923742520fsockopen
(  )..\webdavlib.php:157

{"dynload":true,"nosearch":true,"nologin":true,"path":[{"name":"WebDAV","path":"","icon":"http:\/\/localhost\/moodle\/theme\/image.php\/boxxie\/core\/1358957296\/f\/folder-24"}],"list":[],"repo_id":8}

I get this error when I'm working through localhost as a remote server I tested and works,
please help me Locate a solution localhost