I just upgraded Nominatim to 2.5.1 from 2.4.0. Reverse geocoding works properly but I'm getting errors when I hit the details.php page PHP Parse error: syntax error, unexpected '[' in .../website/details.php on line 93 which keeps the page from rendering. Further, the map does not load on the search page and gives me Uncaught ReferenceError: nominatim_map_init is not defined. Both would seem like permissions errors but the permissions seem fine to access files. Further, as mentioned, reverse geocding works fine. Any help is appreciated, thanks.

asked 15 Oct '16, 17:54

cswrsinc's gravatar image

cswrsinc
61224
accept rate: 50%


This could be a mismatch of files in the /website and build/website directory. Try running the create-website setup step in https://wiki.openstreetmap.org/wiki/Nominatim/Installation again.

permanent link

answered 17 Oct '16, 16:30

mtmail's gravatar image

mtmail
4.0k1261
accept rate: 30%

(17 Oct '16, 17:54) mtmail

I'm using these directions, http://wiki.openstreetmap.org/wiki/Nominatim/Installation_on_CentOS and don't see a build directory.

(17 Oct '16, 18:18) cswrsinc

Also, don't see anything in setup.php related to a builds directory related to web site creation.

(17 Oct '16, 18:21) cswrsinc
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×612

question asked: 15 Oct '16, 17:54

question was seen: 1,298 times

last updated: 17 Oct '16, 18:21

powered by OSQA