maptiler / tileserver-php

MBTiles and MapTiler folder hosting with TileJSON, OGC WMTS, UTFGrid interaction and web interface. QGIS & ESRI ArcGIS compatible. Runs on any Apache+PHP webhosting. MapBox Studio Vector Tiles hosting.
http://tileserver.maptiler.com/
568 stars 163 forks source link

Error on default install #132

Closed e-tinchux closed 6 years ago

e-tinchux commented 6 years ago

Hi falks! I'm getting this error ... can you give me a hand?

Regards!

0 /var/www/html/maptiles/tileserver.php(300): PDO->__construct('sqlite:2017-07-...', '', '', Array)

1 /var/www/html/maptiles/tileserver.php(186): Server->DBconnect('2017-07-03_arge...')

2 /var/www/html/maptiles/tileserver.php(104): Server->metadataFromMbtiles('2017-07-03_arge...')

3 /var/www/html/maptiles/tileserver.php(537): Server->setDatasets()

4 /var/www/html/maptiles/tileserver.php(1285): Server->getHtml()

5 /var/www/html/maptiles/tileserver.php(18): Router::serve(Array)

6 {main}

e-tinchux commented 6 years ago

I trying to install with apache2 ans php 7.2

fiberbus commented 6 years ago

Do you have sqlite3 and php-sqlite3 installed?

e-tinchux commented 6 years ago

Thanks! Yes ..but I must configure something in tileserver.php file?

Regards!

e-tinchux commented 6 years ago

It is working now. PHP 7.1 works without problems