Error: file is encrypted or is not a database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sal

    Error: file is encrypted or is not a database

    My current configuration is Windows XP SP2, Apache 2.2.8, and PHP
    5.2.5 with extensions php_pdo.dll and php_sqlite.dll enabled. Whenever
    I create a database in PHP I can retrieve rows just fine using the PHP
    functions, but when I try to access it directly using the sqlite3.exe
    application I get the above error message. Is there a way to create a
    sqlite3 database that's accessible with both PHP and sqlite3.exe?
  • =?ISO-8859-15?Q?Iv=E1n_S=E1nchez_Ortega?=

    #2
    Re: Error: file is encrypted or is not a database

    Sal wrote:
    My current configuration is [...] PHP 5.2.5 with [...] php_sqlite.dll
    Is that the sqlite v2 library, or the sqlite v3 library? Run the phpinfo()
    function and look at the output to check it out.

    --
    ----------------------------------
    Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

    Proudly running Debian Linux with 2.6.24-1-amd64 kernel, KDE 3.5.9, and PHP
    5.2.5-3 generating this signature.
    Uptime: 19:03:53 up 1 day, 22:24, 2 users, load average: 1.65, 1.14, 0.82

    Comment

    • Sal

      #3
      Re: Error: file is encrypted or is not a database

      On May 2, 10:06 am, Iván Sánchez Ortega <ivansanchez-...@rroba-
      escomposlinux.-.punto.-.orgwrote:
      Sal wrote:
      My current configuration is [...] PHP 5.2.5 with [...] php_sqlite.dll
      >
      Is that the sqlite v2 library, or the sqlite v3 library? Run the phpinfo()
      function and look at the output to check it out.
      >
      --
      ----------------------------------
      Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
      >
      Proudly running Debian Linux with 2.6.24-1-amd64 kernel, KDE 3.5.9, and PHP
      5.2.5-3 generating this signature.
      Uptime: 19:03:53 up 1 day, 22:24,  2 users,  load average: 1.65, 1.14,0.82
      It's the sqlite2 PDO library. Is there a reliable library for sqlite3?

      Comment

      Working...