Hello,
in the last few weeks I’ve done multiple nominatim installations with a german planetfile only and based on the documentation from http://wiki.openstreetmap.org/wiki/Nominatim/Installation. 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 10.1.2.9] 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: http://download.geofabrik.de/osm/. 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.
Kind Regards,
Thomas