Menu

SQL error

Help
marvelade
2009-11-06
2013-04-16
  • marvelade

    marvelade - 2009-11-06

    Everything worked fine until today. When I try to add a new bug I get this:

    > Notice: Undefined variable: reporter
    > in /var/www/html/phpbt/bug.php on line
    > 753
    >
    > Notice: Undefined variable: component
    > in /var/www/html/phpbt/bug.php on line
    > 757

    then the phpbt top menu (purple and yellow row) and below that:

    > DB Error: syntax error select owner
    > from phpbt_component c where
    > component_id = [nativecode=1064 ** You
    > have an error in your SQL syntax;
    > check the manual that corresponds to
    > your MySQL server version for the
    > right syntax to use near '' at line 1]

    This worked fine in the past, why is the code breaking all of a sudden? I havent touched the database nor the PHP code.

    Best regards,
    Marv

     
  • marvelade

    marvelade - 2009-11-06

    ok, so the wysiwyg editor tampered with the error. I'll "pre" it below:

    <pre>DB Error: syntax error
    select owner from phpbt_component c where component_id =

    Back</pre>

     

Log in to post a comment.