[Geocoding] Nominatim Installation Questions
Trevis
trevis at clickscape.com
Sun Sep 27 14:40:59 UTC 2015
Hi all,
I hope this is the right place to ask these questions. Seemed to be from
https://github.com/twain47/Nominatim
Some background: Working on getting Nominatim setup on a private server for
reverse geocoding. I've been following the installation guides at
http://wiki.openstreetmap.org/wiki/Nominatim/Installation_on_Debian_or_Ubuntu
and http://wiki.openstreetmap.org/wiki/Nominatim/Installation_on_CentOS .
Fortunately they seem the exact same, save for some directory and
CentOS/Debian specific differences.
So the issue I'm experiencing is part of the raw php files are put in the
body of the html when going to http://myserver/nominatim/{file.php} for any
of the files included in the website directory. There doesn't appear to be
anything of this sort on
http://wiki.openstreetmap.org/wiki/Nominatim/Installation/Troubleshooting .
If the specific parts that are shown are important/helpful then:
http://myserver/nominatim/status.php:
> getOne("select make_standard_name('a')"); if
> (PEAR::isError($sStandardWord)) { statusError("Module failed"); } if
> ($sStandardWord != 'a') { statusError("Module call failed"); } $iWordID =
> $oDB->getOne("select word_id,word_token, word, class, type, country_code,
> operator, search_name_count from word where word_token in (' a')"); if
> (PEAR::isError($iWordID)) { statusError("Query failed"); } if (!$iWordID) {
> statusError("No value"); } echo "OK"; exit;
versus: nominatim.openstreetmap.org/status.php just giving the OK echo'd.
Others are longer, so I'll omit them now, but I'm not opposed to showing
them if useful.
Does anyone have guidance on this? Admittedly, my php skills are pretty
low, so perhaps it is something obvious to someone better at that.
Thank you for reading and for any assistance!
Trevis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/geocoding/attachments/20150927/f676e8a9/attachment.html>
More information about the Geocoding
mailing list