basho / riak-php-client

PHP clients for Riak
Apache License 2.0
160 stars 69 forks source link

PHP Client not reporting Internal Server Errors from Riak [JIRA: CLIENTS-927] #125

Closed Bob-The-Marauder closed 8 years ago

Bob-The-Marauder commented 8 years ago

Taking the example from http://docs.basho.com/riak/kv/2.1.4/developing/getting-started/php/querying/ and deliberately choosing bitcask as our back end (no index support), running the script gives the following output:- php output where the "Janes's Orders" and "October's Orders" queries made against an index appear to merely be empty - nothing visible on screen, nothing I can find in the Riak logs.

However, if we check the Wireshark trace for the whole exercise we can see the queries being made and returned. Jane's Orders is packet 67 and the reply with an Internal Server Error is packet 70. Again, the "October's Orders" query is packet 73 and the reply with another Internal Server Error is packet 76. phpclient_code500_not_displayed.pcapng.zip

Please can we fix it so that the PHP Client either reports or at least logs Internal Server Errors?

christophermancini commented 8 years ago

Hi @Bob-The-Marauder, I am working on a fix for this issue and hopeful to have it resolved within the next few days. Thanks for reporting it.

Basho-JIRA commented 8 years ago

[~cmancini] - Can this be closed? The PR is closed...

_[posted via JIRA by Derek Somogyi]_

Basho-JIRA commented 8 years ago

Yes

On Thu, Sep 1, 2016, 1:48 PM Derek Somogyi (JIRA) <

Sincerely,

Christopher Mancini

employee = { purpose: solve problems with code, phone: 7164625591, email: cmancini@basho.com, github: http://www.github.com/christophermancini }

_[posted via JIRA by Christopher Mancini]_