SQLite: could not find driver for pfsense 2.1.4 in Captive Portal
-
Dear All,
I tried to search a workaround or a solution in the forum but without successful. :-[
I want to track on my sqlite database all users certified after login via captive portal at the moment tracking users via txt file works fine but the goal is using a sqlite database.Requirements:
[b]
pfsense 2.1.4php version 5.3.28
captive portal throw the following exception:
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
and this is the istruction line:
$pfOAuth2Log = new PDO("sqlite:/tmp/pfOAuth2Log.sqlite");
Any quick advice and/or comment is very appreciate.
thank you very much.
SM -
jimp has already posted a solution to your problem…
https://forum.pfsense.org/index.php?topic=42031.0
-
yep, works fine.
thank you.
SM
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.