Solved Class SQLite3 Not found

Discussion in 'Development' started by xXNiceAssassinlo YT, Dec 23, 2017.

  1. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    687
    GitHub:
    xXNiceYT
    Error:
    PHP:
    Error"Class 'SQLite3' not found" (EXCEPTIONin "SW_svile_v0.6/src/svile/sw/SWmain" at line 130
    Code Line 130:
    PHP:
    $this->db = new \SQLite3($this->getDataFolder() . "\x53\x57\x5f\x73\x69\x67\x6e\x73\x2e\x64\x62"SQLITE3_OPEN_READWRITE SQLITE3_OPEN_CREATE);
    Facepalm:

    PHP:
    Code is from SW Svile So i dont know wtf is SQLite3(Pls dont facepalm me :{
     
  2. xZeroMCPE

    xZeroMCPE Witch

    Messages:
    63
    GitHub:
    xZeroMCPE
    SQLite3 is a PHP extension. I think you may need to compile a PHP bin with such extension.
     
    OnTheVerge likes this.
  3. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    687
    GitHub:
    xXNiceYT
    Sorry I don’t u understand mean by "extension"
     
  4. Eduardo

    Eduardo Baby Zombie

    Messages:
    100
    GitHub:
    xBeastMode
    1. Go to this path in your server path: bin/php/
    2. Find and open "php.ini", uncomment the SQLite extension, and then save it.
    3. Restart your server, done!
     
    Last edited: Dec 23, 2017
    InspectorGadget likes this.
  5. InspectorGadget

    InspectorGadget Zombie Pigman

    Messages:
    464
    GitHub:
    InspectorGadget
    I always get this issue because it always like to format my computer. @Eduardo 's is correct.
     
  6. xXNiceAssassinlo YT

    xXNiceAssassinlo YT Zombie Pigman

    Messages:
    687
    GitHub:
    xXNiceYT
    Thx
    thx
     

Share This Page

  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.