1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Class SQLITE3 not found

Discussion in 'Development' started by Kyd, Oct 15, 2017.

  1. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    PHP:
    $this->db = new \SQLite3($this->getDataFolder() . "pdb.sq3");

    This I get
    Code:
    [17:12:18] [Server thread/CRITICAL]: Error: "Class 'SQLite3' not found" (EXCEPTION) in "PocketCore/src/PocketCore/Loader" at line 43
    How to fix?
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    what OS are you using and what php bin are you using?
     
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    uncomment the line in your php.ini file where it says sqlite
     
    Kyd likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.