Hi,
I downloaded the snapshot mapchat2_20090811 and am working my way through the installation on ubuntu 8.04 with postgresql 8.3 and postgis 1.4. I am at the stage of using the web-based cofiguration tool to initialise the mapchat database, and it fails because it can't find the file lwpostgis.sql. In postgis 1.4 this has been renamed to postgis.sql.
Any help would be greatly appreciated!
Thanks
Jo
Installing mapchat fails because it can't find lwpostgis.sql
- Login to post comments
Tue, 2009-10-27 12:12
Tue, 2009-10-27 13:42
#1
Ok, thanks for pointing that out and will fix it shortly.
In the meantime, you can work around this by editing the file 'library/MapChat/Setup.php', and substitute the new postgis.sql filename on line 46.
You'll need to drop the existing database - or retry setting up MapChat with a different database name.
Tue, 2009-10-27 13:58
#3
Ok - you replied faster than I could respond. :)
- Login to post comments
It's OK, I found my own fix- I did a search for all mentions of lwpostgis.sql and found the library/MapChat/setup.php file was the only mention of it, so I just did a find and replace. The rest of the installation proceeded OK, although I haven't got a map file configured yet.
Jo