1
1.3-beta / Re: task view crashed
« on: April 08, 2009, 08:56:44 pm »
Similar error here - similar fix (different file though):
- Cause: in the task panel, I did this:
--- Filter > Milestone > ---none--- > Status Pending
- Error msg: SQL syntax error in environment/library/database/adapters/AbstractDBAdapter.class.php on line 386
- Solved it by commenting that line out. The result (with the filter still in place as noted above): no milestones/tasks showing (blank panel content) instead of error msg
To confirm that this was the exact cause, I reversed the change to the code and repeated my steps. Same error again.
It seems as if the SQL query for that filter is corrupt, since the error is a result of $query_result being false in the prepareAndExecute function.
I hope this helps.
- Cause: in the task panel, I did this:
--- Filter > Milestone > ---none--- > Status Pending
- Error msg: SQL syntax error in environment/library/database/adapters/AbstractDBAdapter.class.php on line 386
- Solved it by commenting that line out. The result (with the filter still in place as noted above): no milestones/tasks showing (blank panel content) instead of error msg
To confirm that this was the exact cause, I reversed the change to the code and repeated my steps. Same error again.
It seems as if the SQL query for that filter is corrupt, since the error is a result of $query_result being false in the prepareAndExecute function.
I hope this helps.