dready92 / PHP-on-Couch

Data Access Library to access a CouchDB server with PHP.
http://dready.byethost31.com/index.php/display/view/192
GNU Lesser General Public License v3.0
246 stars 102 forks source link

Fatal error with password #61

Closed drlinux closed 4 years ago

drlinux commented 8 years ago

If the password contains @ (example: pass@word) this happens:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'no data to parse' in /home/noname/.web/couchdbtest/lib/couch.php:138 Stack trace: #0 /home/noname/.web/couchdbtest/lib/couchClient.php(152): couch::parseRawResponse(false, false) #1 /home/noname/.web/couchdbtest/lib/couchClient.php(261): couchClient->_queryAndTest('GET', '/test', Array) #2 /home/noname/.web/couchdbtest/lib/couchClient.php(302): couchClient->getDatabaseInfos() #3 /home/noname/.web/couchdbtest/index.php(8): couchClient->databaseExists() #4 {main} thrown in /home/noname/.web/couchdbtest/lib/couch.php on line 138

Without @ (example : password) works.

popojargo commented 7 years ago

I'm offering support for this library if you still need it. I could fix this on my fork. @drlinux

bhagawath commented 4 years ago

I am also facing same issue . Could you help to fix it .

popojargo commented 4 years ago

I am also facing same issue . Could you help to fix it .

Use this repo: https://github.com/PHP-on-Couch/PHP-on-Couch