Re: cgi and sqlite question...

Jamie Webb <[email protected]> Wed, 9 Jun 2004 10:48:28 +0100
Newsgroups gmane.comp.lang.lua.luacheia
Message-ID <[email protected]>
On Monday 07 June 2004 17:49, Joe Wilson wrote:
> I'm trying to get sqlite to work with a cgi script in Lua.
>
> When I call SELECT Lua returns an unknown error.
>
> Does anyone have a working example of using the sqlite module with cgi
> they can share?

Glancing over your code, I don't see anything wrong with it, but it looks like 
you're using the sqlite module from the last alpha release, which had a lot 
of bugs. It has been completely rewritten since then (including some changes 
to the interface; see http://luacheia.lua-users.org/doc/sqlite.html), so I 
suggest you try the version which is in CVS. If you still have problems, post 
your new code and I'll see what I can do.

-- Jamie Webb


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org