Re: [racket] racket as cgi error with sqlite

2013-03-30 Thread Ryan Culpepper
On 03/30/2013 12:20 AM, prad wrote: Ryan Culpepper writes: Without seeing an error message, I have no ideas. Are you sure that lighttpd error logging is enabled? it must be because i started to do some of this in php and i have error messages from 2013-03-24 If you still can't get the erro

Re: [racket] racket as cgi error with sqlite

2013-03-29 Thread prad
Ryan Culpepper writes: > Without seeing an error message, I have no ideas. Are you sure that > lighttpd error logging is enabled? > it must be because i started to do some of this in php and i have error messages from 2013-03-24 > If you still can't get the error > from lighttpd, maybe add a wit

Re: [racket] racket as cgi error with sqlite

2013-03-29 Thread Ryan Culpepper
Without seeing an error message, I have no ideas. Are you sure that lighttpd error logging is enabled? If you still can't get the error from lighttpd, maybe add a with-handlers around the failing db call and write it to your own log file. Ryan On 03/27/2013 02:27 PM, prad wrote: i have a wo

[racket] racket as cgi error with sqlite

2013-03-27 Thread prad
i have a working cgi script in racket which accesses a sqlite3 db: #lang racket (require net/cgi) (require db/base db/sqlite3) (define cn (sqlite3-connect #:database "tmp.db")) ; (query-rows cn "select nm from tbl") (query-exec cn "insert into tbl (nm) values ('hello')") if i do the: