I want to embed Search box on My Own Map on my tile server. i have followed reference from http://open.mapquestapi.com/npi/ to install nominatim pre index. but i have problem when execute command :
I use postgres 8.4 on my machine.Error message is like that script wrong read a postgresql folder. How to solve this issue ? asked 30 Dec '11, 10:21 MIftakhul Anwar |
You will have to change the value of answered 30 Dec '11, 10:28 Frederik Ramm ♦ Yes, i have change that value on setting.php. i have execute again ../utils/setup.php --create-db --create-functions --create-minimal-tables But on end of line of output, i have got warning like bellow . [output]
i'm running script as user which have role on postgresql but not as postgres. is it problem ? This is line 6 on lib.php
(02 Jan '12, 02:13)
MIftakhul Anwar
I have continuing step and now i have on generating website step. I have execute this script as described in reference: ../setup.php --create-website /var/www/html NOw i have publish it on http://www.osmosa.net/search But when i access web, i get error on apache log.
i have checked on /home/user/Map/src/nominatim/website/search.php on line 95, i get script bellow :
Then i check on /home/user/Map/src/nominatim/lib/template/search-html.php line 327.and i get this line one
<?php } Then i see on nominatim folder /setting/setting.php and i get that constanta have value : @define('CONST_Search_AreaPolygons_Enabled', true); how i can set PATH_INFO which now is undefined ? Thanks
(03 Jan '12, 14:54)
MIftakhul Anwar
|
OMG, log is for logarithm. http://php.net/manual/en/function.log.php
try again without --create-db