Closed 00Asgaroth00 closed 8 years ago
Do you have something in /api/Database/Layer ?
oops. I see. moment, fixing...
do you mean the directory itself? If so, then, no, I have not added anything specifically there myself, the contents of that directory are:
-rw-r--r-- 1 nginx nginx 2363 Aug 5 10:09 DefaultConnector.php
-rw-r--r-- 1 nginx nginx 0 Aug 5 10:09 index.html
-rw-r--r-- 1 nginx nginx 7294 Aug 5 10:09 PDOConnector.php
sorry, my fault. Was wrong directory. Please pull and recheck https://github.com/sipcapture/homer-api/commit/b8837a997cefc4f9939a697e75e2209a63d9b08b
thanks, that fixed it, all looks okay now. thanks for the quick fix.
you are welcome.
After updating homer-ui and homer-api to yesterday's git revision, I now get a 500 response from /api/v1/search/data with message "Unable to load Database\/Layer\/mysql."
I am able to successfully login and view my db node, users aliases etc, but when I got to search, with no entries in the search fields, and I select any of the signalling types (calls/registrations/other), I get an empty search result, but nginx log shows 500 response, and ngrep shows message return is 500.
Versions
API post request:
The response from this query is:
The mysql modules are installed and appear to be working properly or else I would not be able to login, as my user is defined within the database. The statistics are all displayed as well, so I presume homer is reading that from the database as well.
Any insight would be appreciated.