Subject: | simplecrud-example.pl: No DB settings for foo in /usr/local/share/perl/5.10.1/Dancer/Plugin/Database.pm |
Date: | Wed, 31 Jul 2013 21:35:33 -0700 |
To: | bug-Dancer-Plugin-SimpleCRUD [...] rt.cpan.org |
From: | Vincent Li <vincent.mc.li [...] gmail.com> |
Hi David,
I am new to Dancer framework so pardon my ignorance, I used CPAN to
install your Dancer::Plugin::SimpleCRUD 0.91 release and went into the
example directory to run the simplecrud-example.pl, then after right
after I login from browser, I got error log in console:
[5575] error @0.002637> [hit #5]No DB settings for foo in
/usr/local/share/perl/5.10.1/Dancer/Plugin/Database.pm l. 28
[5575] error @0.003183> [hit #5]request to GET /people crashed: Can't
call method "column_info" on an undefined value at
../lib/Dancer/Plugin/SimpleCRUD.pm line 1242, <DATA> line 16. in
/usr/local/share/perl/5.10.1/Dancer/Handler.pm l. 98
[5575] core @0.015243> [hit #5]response: 500 in
/usr/local/share/perl/5.10.1/Dancer/Handler.pm l. 179
Am I miss anything to the DB setting for foo? this is stock
installation and I didn't change anything.
Regards,
Vincent