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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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>