Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SQLite: could not find driver for pfsense 2.1.4 in Captive Portal

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 999 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      simon.mitnick
      last edited by

      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.4

      php 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

      1 Reply Last reply Reply Quote 0
      • J
        jaspras
        last edited by

        jimp has already posted a solution to your problem…

        https://forum.pfsense.org/index.php?topic=42031.0

        1 Reply Last reply Reply Quote 0
        • S
          simon.mitnick
          last edited by

          yep, works fine.

          thank you.
          SM

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.