Button Search can't work on Web Interface #5327
Comments
Author: lonvia This sounds like your database isn't set up properly. You can check the status of your server at the URL http:///nominatim/status.php. Also check the error logs of apache and postgresql. |
Author: sylvain.ballaud.externe[at]cnp.fr Thank for the answer. I restart the PostgreSQL and Apache servers. When i check the status of the server through the PHP page, the server display "OK". When i look the apache logs, i have this :
I don't think it's very serious. The postgreSQL logs is not very verbose :
But when i imported the PBF file, i have more errors on the database :
However, the import was a success. Regards. |
Author: lonvia Try a simple query like http:///nominatim/search.php?q=foo&format=xml If that gives you a server error, try again in debug mode: http:///nominatim/search.php?q=foo&format=xml&debug=1 If you get a sensible result (i.e. some kind of xml) then there is probably a problem with the website setup. Check again that you have set CONST_Website_BaseURL correctly in your settings/local.php and use the browser debug mode to check if it cannot load some ressources. |
Author: sylvain.ballaud.externe[at]cnp.fr I attached 3 files with the results of the two queries and the result of my research (for example, paris). With Firebug, i see some errors like this :
But it's only with some PNG files. |
Author: sylvain.ballaud.externe[at]cnp.fr On Internet Explorer, for the query without debug mode, I have this :
|
Author: lonvia For the error in 1.png, see https://wiki.openstreetmap.org/wiki/Nominatim/Installation/Troubleshooting#I_get_an_error_XML_Parsing_Error:_XML_or_text_declaration_not_at_start_of_entity_Location. Could you then repeat the query with q=paris&format=xml&debug=1 It looks like there is really just a problem with showing the html on the website (possibly related to the authenticated proxy), Nominatim itself seems to be doing ok. |
Author: sylvain.ballaud.externe[at]cnp.fr I changed the php.ini with this :
No others PHP Warning on Apache. This is the result of the query :
But I have always no reaction when i click on Search. About the PNG errors with "NetworkError: 407 Proxy Authentication Required", they appears when i zoom on the map. |
Author: lonvia So the database and search are obviously working fine. My guess is that javascript isn't loading properly, just like the pngs. The issue is with your local network setup. This is outside the scope of Nominatim, I can't help you with that, I'm afraid. |
Author: sylvain.ballaud.externe[at]cnp.fr I compared with firebug the errors when i access to the application that i installed and your demonstration application on your website http://www.openstreetmap.org. On the 2 sides, i have the PNG errors. But on your website, i have 3 queries GET. I attached the pictures. |
Author: sylvain.ballaud.externe[at]cnp.fr Also, I have others errors on Apache :
|
Author: sylvain.ballaud.externe[at]cnp.fr It's OK. We find the problem. It's on the local.php. I forget a "/" at the end of the string. You can close the ticket. Regards. |
Reporter: sylvain.ballaud.externe[at]cnp.fr
[Submitted to the original trac issue database at 1.40pm, Thursday, 2nd July 2015]
Hi,
I installed Nominatim 2.4. I imported a PBF file called ile-de-france-latest.osm.pbf. This action is OK but when i use the Web Interface, I found no city because the Search button don't work.
I see the map with a message "Data:" at the right of "Highlight".
Thank for help.
The text was updated successfully, but these errors were encountered: