[dancer-users] Helping getting simple CRUD to dance

Richard Reina gatorreina at gmail.com
Fri Jul 31 15:20:33 BST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150731/f7350df4/attachment.html>


More information about the dancer-users mailing list