Hi,
I'm trying to connect to a SQLite3 database for days now but I'm stuck. PHP
returns an error that I made a "call to undefined function sqlite_open(). In
the php.ini the extension=php_p do.dll and extension=php_s qlite.dll are set.
What am I doing wrong???
Thank you in advance,
John
Dec 4 '07
12 17271
Greetings, John.
In reply to Your message dated Friday, December 7, 2007, 09:39:11,
Let me try to find the right line to point PHP to the right place. In the
meantime it still is very problematic to get something out of the database
on the webbrowsers screen. PHP let's me connect to the database but after
that it is a no go. It return an errormessage that the database is encrypted
or not a database at all. Seems an issue between the latetst SQLite version
and PHP. I'm at the brink of giving up and convert the database to a mysql
environment. Very sad...
I'd better advice You to move to MySQL (which is multi-user multi-threaded
database) anyway, than start guessing if You have multiple requests to
database at the same time from different sources, or probably some of them may
be writing requests, taking some time and locking database.
--
Sincerely Yours, AnrDaemon <an*******@free mail.ru>
AnrDaemon wrote:
Greetings, John.
In reply to Your message dated Friday, December 7, 2007, 09:39:11,
>Let me try to find the right line to point PHP to the right place. In the meantime it still is very problematic to get something out of the database on the webbrowsers screen. PHP let's me connect to the database but after that it is a no go. It return an errormessage that the database is encrypted or not a database at all. Seems an issue between the latetst SQLite version and PHP. I'm at the brink of giving up and convert the database to a mysql environment. Very sad...
I'd better advice You to move to MySQL (which is multi-user multi-threaded
database) anyway, than start guessing if You have multiple requests to
database at the same time from different sources, or probably some of them may
be writing requests, taking some time and locking database.
There is no problem with SQLLite for those who do not need the power of
MySQL (especially if they want to save system resources).
It can be a little difficult to get SQLLite working the first time, but
once you have it working it works well for low volume sites.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
Greetings, Jerry Stuckle.
In reply to Your message dated Saturday, December 8, 2007, 07:33:40,
There's an old saying. "It is better to remain silent and be thought an
idiot than to open your mouth and remove all doubt."
It's something you should learn.
Thank You for Your answer, Jerry.
It was as good to understand Your knowledge, as Oliver's answer below.
--
Sincerely Yours, AnrDaemon <an*******@free mail.ru> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: lolmcbride |
last post by:
Hi,
is it possible to pass args through the api which are the same as the
args you can use on the sqlite3 command line?
What I'm talking about is the .mode or .output commands which you can
enter via the sqlite3 cli so I can dynamically change were the output
goes.
Ta
|
by: mensanator |
last post by:
Probably just me. I've only been using Access and SQL Server
for 12 years, so I'm sure my opinions don't count for anything.
I was, nevertheless, looking forward to Sqlite3. And now
that gmpy has been upgraded, I can go ahead and install
Python 2.5.
So I open the manual to Section 13.13 where I find the first
example of how to use Sqlite3:
|
by: Josh |
last post by:
Hi,
I'm running into a problem when trying to create a view in my sqlite
database in python. I think its a bug in the sqlite3 api that comes with
python 2.5.
This works as expected:
conn = sqlite3.connect(':memory:')
conn.execute("create table foo (a int,b int)")
conn.execute('create view bar as select * from foo')
|
by: mark carter |
last post by:
I hesitate to ask, but ...
I'm using Ubuntu Feisty:
* Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
on linux2
* SQLite version 3.3.13
Suppose I run the following program:
import sqlite3
|
by: =?ISO-8859-1?Q?S=E9bastien_Ramage?= |
last post by:
Hi !
I'm trying to build an client/server app based on Pyro and sqlite3.
But I have a problem using sqlite3 on the server
I got this error :
sqlite3.ProgrammingError: ('SQLite objects created in a thread can
only be used
in that same thread.The object was created in thread id 240 and this
| |
by: David |
last post by:
- Are there any peculiarities with using curs.executemany(...) vs. multiple
How many times are you calling execute vs a single executemany? The
python call overhead will add up for thousands of calls.
The relevant source code is here if you're interested:
http://svn.python.org/projects/python/trunk/Modules/_sqlite/cursor.c
|
by: jeff_d_harper |
last post by:
I've run into a problem with text encoding in the Sqlite3 module. I
think it may be a bug. By default sqlite3 converts strings in the
database from UTF-8 to unicode. This conversion can be controlled by
changing the connection's text_factory.
I have a database that stores strings in 8-bit ISO-8859. So, I set
the text_factory to do no conversion. In my database I use user
defined functions. I noticed that even when I set...
|
by: Ben Lee |
last post by:
hi folks --
a quick python and sqlite3 performance question. i find that
inserting a million rows of in-memory data into an in-memory database
via a single executemany() is about 30% slower than using the sqlite3
CLI and the .import command (reading the same data from a disk file,
even.) i find this surprising, executemany() i assume is using a
prepared statement and this is exactly what the .import command does
(based on my quick...
|
by: Kurda Yon |
last post by:
Hi,
I try to "build" and "install" pysqlite? After I type "python setup.py
build" I get a lot of error messages? The first error is "src/
connection.h:33:21: error: sqlite3.h: No such file or directory". So,
I assume that the absence of the "sqlite3.h" is the origin of the
problem.
I found on the web, that this file should be either in "/usr/local/
include" or in "/usr/local/lib". I check this directories and I really
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |