On Wed, Nov 3, 2010 at 6:36 PM, Wordit Ltd <[email protected]> wrote: > On Wed, Nov 3, 2010 at 11:00 PM, Paul Davis <[email protected]> > wrote: >> >> You should be able to get logs from a URL like: >> >> http://127.0.0.1:5984/_log > > Thanks Paul. This is the URL, which wrongly uses "[object Object]" > instead of the db name. Log message: > > 'GET' /%5Bobject%20Object%5D/_all_docs 400 > > This is my jquery code: > > var $db = $.couch.db("fruit"); > > $.couch.db($db).allDocs({ > error:function(status,id,reason) { > alert (status+" reason:"+reason); > }, > > success:function(resp) { > alert (resp); > } > }); > > Any ideas what the cause is? > > Thanks, > > Marcus >
Couldn't say. I'm not too familiar with the jquery plugin. You might try looking through the Futon sources to see how its used there. Paul
