Error: file is encrypted or is not a database

This is a discussion on Error: file is encrypted or is not a database within the PHP Language forums, part of the PHP Programming Forums category; My current configuration is Windows XP SP2, Apache 2.2.8, and PHP 5.2.5 with extensions php_pdo.dll ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-02-2008
Sal
 
Posts: n/a
Default 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?
Reply With Quote
  #2 (permalink)  
Old 05-02-2008
Iván Sánchez Ortega
 
Posts: n/a
Default 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

Reply With Quote
  #3 (permalink)  
Old 05-02-2008
Sal
 
Posts: n/a
Default 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.-.org> wrote:
> 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?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0