When I try to execute this app:
#!/usr/bin/perl
use Dancer;
use Dancer::Plugin::SimpleCRUD;
# Simple example:
simple_crud(
record_title => 'Player',
prefix => '/player',
db_table => 'jugador',
editable => 1,
);
dance;
I get as my result in the browser:
Error 404
Unable to process your query
-- This is my config.yml file:
plugins:
Database:
driver: 'mysql'
database: 'my_main_DB'
host: 'localhost'
port: 3306
username: 'richard'
password: 'mypass'
#connection_check_threshold: 10
dbi_params:
RaiseError: 1
AutoCommit: 1
on_connect_do: ["SET NAMES 'utf8'", "SET CHARACTER SET 'utf8'" ]
log_queries: 1
Any help is greatly appreciated. Thank you