Problems with nominatim and reverse geocoding


in the last few weeks I’ve done multiple nominatim installations with a german planetfile only and based on the documentation from I’ve used a machine with Debian Lenny 5.0 (64-Bit) and PostgreSQL 8.3. But only on one installation the reverse geocoding works fine. On all other installations I get the following error message in the apache error logfiles:

[Mon Sep 20 10:22:31 2010] [error] [client] PHP Fatal error:  Cannot use object of type DB_Error as array in /var/www/reverse.php on line 145

On each new installation I used the newest german planetfile from here: And I also checked out the latest osm2pgsql code from the subversion repository everytime. Because of the database size and the duration of the import and indexing it’s difficult to do some sort of testing. So perhaps you have got an idea, what I am doing wrong or what the problem might be.

Thanks in advance. :slight_smile:

Kind Regards,

I can’t help you with the problem, sorry, but you might be better off asking on the osm-geocoding mailinglist ( ) as you are probably more likely to find experts on the topic there than here.

Okay, I’ll do. Thanks.

Thread with the solution for that problem on the mailinglist: