[dancer-users] Session Engine - error
Scott H
scott.harpster at gmail.com
Thu Feb 2 17:15:17 GMT 2017
Looks like my problem was use Dancer2 ':syntax'; I removed it and decided
to use Dancer2::Serializer::JSON and seems to be working now.
On Wed, Feb 1, 2017 at 3:12 PM, Scott H <scott.harpster at gmail.com> wrote:
> Hi Everyone,
>
> Long time Dancer user, currently migrating a system over to Dancer2 from
> Dancer and not really into using Dancer2::Session::DBIC so I am converting
> some of the Dancer::Session::DBI over with what I need. I am reaching out
> because I am at a point where I don't know what else to do to make this
> work. It seems to be generating sessions into my database table but with no
> session_data, only id's. Right after I would login this error pops up.
>
> *Console:*
> Exception caught in 'core.app.after_request' filter: Hook error: flush()
> called outside streaming response at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/DSL.pm
> line 76.
>
> *Web:*
> Internal Server Error
>
> Exception caught in 'core.app.after_request' filter: Hook error: flush()
> called outside streaming response at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/DSL.pm
> line 76.
> at /home/scott/perl5/lib/perl5/Dancer2/Core/App.pm line 35.
> at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/Hookable.pm line 115.
>
>
> I don't have a repo yet but a gist will work
>
> *Code:*
> https://gist.github.com/scottscreations/5bf8f3a027f328dc0733f6d3683ccb8e
>
> Thanks,
> Scott
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20170202/9ef6460f/attachment.html>
More information about the dancer-users
mailing list