Software error(Comment.pm line 60)

Help
Kilian
2008-01-29
2013-06-03
  • Kilian
    Kilian
    2008-01-29

    Software error:

    DBD::ODBC::st execute failed: [Microsoft][ODBC SQL Server Driver]Invalid character value for cast specification (SQL-22018)(DBD: st_execute/SQLExecute err=-1) at D:/codestriker-1.9.4/bin/../lib/Codestriker/Model/Comment.pm line 60.

    For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

    *********************************************

    when I add a comment, it give me this message,

    and now i add my $filenew=1 in lign 50, he can work, -_-
    filenew means what?
    thank u

     
    • Kilian
      Kilian
      2008-01-30

      I find new can't get its value
          my $new = $http_input->get('new'); in the submitNewcomment.pm

      if i set $new = 1;
      he can work....but i don't understand why he can't get it,
      codestriker can get the value of topic .....

      -_- crazy....................

       
    • Kilian
      Kilian
      2008-01-30

      fixed -_-.....

       
      • David Sitsky
        David Sitsky
        2008-01-31

        I'm confused with what is going on - how is it fixed?

        Do the "help" links work on your system?  If they don't - that explains the problem.

         
    • Kilian
      Kilian
      2008-01-31

      yesterday, I found it didn't call a javascript function "verify" when onsubmit, I just changed "newval" to "new" in the file "codestriker.js", so they can get this info from text field.
      because "verify" code URL....he will transformer a text "newval" to variable "new" for URL,

      the it's crazy ! today, i will try to show my boss, and explain this problem, i don't know why the code is changed back....and "verify" can work...........
      -_- .........