nominatim search vs. lookup

I have installed a nominatim server which serves lookups ok, for example

http://a.b.c.d/nominatim/lookup.php?osm_ids=N107775 -->200 result, json data on london

does fine, but the server returns an internal server error on string searches:

http://a.b.c.d/nominatim/search.php?q=new%20york → 500 error

Is there an easy way to debug on the server , e.g. a log of requests and responses?

did you try http://a.b.c.d/nominatim/search.php?query=new%20york ?
(query= instead of q=)

its actually q and not query, you can try
https://nominatim.openstreetmap.org/search?q=51.7183886%2C-2.4368042&addressdetails=1 vs
https://nominatim.openstreetmap.org/search?query=51.7183886%2C-2.4368042&addressdetails=1

no problems with https://nominatim.openstreetmap.org/search.php?q=new%20york

check you server

walter

this seems to be a php configuration problem (/var/log/apache2/error.log shows PHP Fatal error: Class ‘Transliterator’ not found in /Nominatim-3.2.0/lib/Geocode.php on line 52) , see https://github.com/openstreetmap/Nominatim/issues/1082