in reply to Re: Problems with DBIx::Class and CGI::Application
in thread Problems with DBIx::Class and CGI::Application

My mistake grep, i thought when I said that it was having troubles creating that it would be enough

As it stands, no errors are being returned, so i'll have to delve deeper into my code until i find a solution or something comes up on here.

meh.
  • Comment on Re^2: Problems with DBIx::Class and CGI::Application

Replies are listed 'Best First'.
Re^3: Problems with DBIx::Class and CGI::Application
by grep (Monsignor) on Sep 22, 2006 at 15:33 UTC
    If you're not see error messages. Run the program from the command line with the debugger.

    A couple of hints:
    Use Mozilla and LiveHTTPHeaders to get the args.
    Set a breakpoint around my $comment.
    Then inspect the vars and step through the create routine.



    grep
    Mynd you, mønk bites Kan be pretti nasti...
Re^3: Problems with DBIx::Class and CGI::Application
by Anonymous Monk on Sep 22, 2006 at 20:18 UTC
    If you don't pass AutoCommit => 1 to connect, you'll be in a transaction. And I don't see a commit call. Bet that's your problem (Class::DBI forces it on for MySQL, we don't) -- mst (yes, one day I'll register)