Forum: Typo lighttpd deployment problems

A5b0009b82aeecfba8747fff6ce7fb9c?d=identicon&s=25 Joe Tyson (Guest)
on 2008-05-25 19:14
(Received via mailing list)
Hello,

I'm trying to deploy typo with fastcgi + lighttpd but I'm running into
a nifty little 500 internal error. I checked the development log and
this is what I get:

Rendering /home/modestbox/blog/vendor/rails/actionpack/lib/
action_controller/templates/rescues/layout.erb (internal_server_error)
/!\ FAILSAFE /!\  Sun May 25 09:56:33 -0700 2008
   Status: 500 Internal Server Error
   SQLite3::SQLException: SQL logic error or missing database: INSERT
INTO sessions ("updated_at", "sessid", "created_at", "data")
VALUES('2008-05-25 09:56:33', '19e639f9aaa611cbe63fbbc29ba66aa7',
'2008-05-25 09:56:33',
'BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
SGFzaHsABjoKQHVzZWR7AA==
')


If I use the webrick server or mongrel I have no problems. I've poked
around and can't seem to figure out exactly why it's only giving me
crap on this.

Thanks,
Joe
700f9a3b883e6a04d018f48290b1a3fd?d=identicon&s=25 Frédéric de Villamil (Guest)
on 2008-05-25 19:55
(Received via mailing list)
Le 25 mai 08 à 19:03, Joe Tyson a écrit :

>  SQLite3::SQLException: SQL logic error or missing database: INSERT
> giving me crap on this.
>
> Thanks,
> Joe

Hi,

it seems you're lacking the database. I think it's a production VS
development issue since webrick and mongrel starts in development
environment by default. Can you check that
1/ your environment is the good one when starting lighty ?
2/ the database exists for that environment

Regards,
Frédéric


--
Frédéric de Villamil
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org
A5b0009b82aeecfba8747fff6ce7fb9c?d=identicon&s=25 Joe Tyson (Guest)
on 2008-05-26 00:38
(Received via mailing list)
lighty is starting in development, and I checked and the database
exists..
This topic is locked and can not be replied to.