TileServer PHP - GoDaddy Hosting - Fatal error: Class 'PDO' not found

225 views
Skip to first unread message

Geospatial Information Technology Solutions

unread,
Sep 8, 2016, 11:49:03 AM9/8/16
to MapTiler Community


I'm having issues with TileServer.  I extracted the zip file and loaded an mbtiles file.  


Fatal error: Class 'PDO' not found in tileserver.php on line 295


Here is line 295

 

$this->db = new PDO('sqlite:' . $tileset, '', '', array(PDO::ATTR_PERSISTENT => true));



I've tried a few different folders but I get the same issue.


Any tips on resolving this?


Petr Pridal

unread,
Sep 8, 2016, 4:40:32 PM9/8/16
to MapTiler Community
Your PHP server or used hosting does not have PDO SQLite module.


P.

Klokan Technologies GmbH

unread,
Sep 8, 2016, 4:55:14 PM9/8/16
to mapt...@googlegroups.com
I overlooked the "GoDaddy Hosting" in the subject. This is relevant:

If you will not manage to reconfigure it yourself - contact their support and ask them to enable PHP PDO SQLite on your account.

Petr

--
Klokan Technologies GmbH
Hofnerstrasse 96, Unterägeri 6314, Switzerland
Tel: +41 (0)41 511 26 12
Email: in...@klokantech.com
Web: http://www.klokantech.com/

--
You received this message because you are subscribed to the Google Groups "MapTiler Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maptiler+unsubscribe@googlegroups.com.
To post to this group, send email to mapt...@googlegroups.com.
Visit this group at https://groups.google.com/group/maptiler.
For more options, visit https://groups.google.com/d/optout.

Geospatial Information Technology Solutions

unread,
Sep 8, 2016, 8:48:07 PM9/8/16
to mapt...@googlegroups.com
Thanks for your response
that solved it. not sure why they don't have that enabled

--
You received this message because you are subscribed to a topic in the Google Groups "MapTiler Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maptiler/6IwNk86eOKs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maptiler+unsubscribe@googlegroups.com.

Geospatial Information Technology Solutions

unread,
Sep 8, 2016, 8:56:53 PM9/8/16
to mapt...@googlegroups.com

On Thu, Sep 8, 2016 at 4:54 PM, Klokan Technologies GmbH <in...@klokantech.com> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "MapTiler Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maptiler/6IwNk86eOKs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maptiler+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages