couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Brüggemann ...@barfooz.de>
Subject Re: CouchDB PHP Problem.
Date Fri, 23 Oct 2009 05:49:57 GMT
These are the last line at my error log:
http://nopaste.info/9c250f5f77.html

http://localhost:5984/ and http://localhost:5984/_all_dbs
Are run and do what they should do.

On Thu, 22 Oct 2009 22:31:44 -0700, Nadav Samet <thesamet@gmail.com>
wrote:
> On Thu, Oct 22, 2009 at 10:17 PM, Daniel Brüggemann <db@barfooz.de>
wrote:
> 
>> Where can i find the error logs?
>>
> Depends on your installation, but on a *nix it is likely to be under one
of
> the var/log directories (i.e. /usr/local/var/log, /var/log, etc)
> 
> You can verify that couchdb is running by following
http://localhost:5984/
> and
> http://localhost:5984/_all_dbs assuming that the browser is running on
the
> same machine that runs couchdb.
> 
> 
> 
> 
>>
>> I start the script, then, it take some time, after that,
>> this is the result:
>>
>> GET /_all_dbs HTTP/1.1\r\nHOST: locahost\r\nContent-Type: text/plain;
>> charset=utf-8\r\n\r\n
>>
>> Array
>> (
>>    [0] =>
>> )
>>
>> I located the problem between the lines 51 and 54.
>> When i comment the passage, the script is running.
>>
>> On Thu, 22 Oct 2009 20:39:07 -0700, Jim Kass <jim@nhrevolution.com>
>> wrote:
>> > I recommend using context streams or curl.
>> >
>> > Btw, what result are you getting?
>> >
>> > Jim
>> >
>> > Sent from my iPhone
>> >
>> > On Oct 22, 2009, at 8:28 PM, Paul Davis <paul.joseph.davis@gmail.com>
>> > wrote:
>> >
>> >> On Thu, Oct 22, 2009 at 11:18 PM, Daniel Brüggemann <db@barfooz.de>
>> >> wrote:
>> >>> Hi,
>> >>>
>> >>> i try to replicate the code from this site:
>> >>> http://wiki.apache.org/couchdb/Getting_started_with_PHP
>> >>> in my own words.
>> >>> But there is not the result, i hope to get.
>> >>>
>> >>> http://nopaste.info/2b89f3eab7.html
>> >>> This is the Code. What am i doing wrong?
>> >>>
>> >>
>> >> Daniel,
>> >>
>> >> Can you paste any errors from the CouchDB logs that you're getting?
Or
>> >> the HTTP response? I'm not overly familiar with PHP so an error
>> >> message might help pinpoint the issue.
>> >>
>> >> Paul Davis
>>

Mime
View raw message