Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
File &Line number in Mysql error
When we run a query like this
it should also take __FILE__ and __LINE__ as arguments as well. __FILE__ tells you which file created this error and __LINE__ says where in the file it was generated.
so it should be
when the error is displayed it should display the file and line number as well
$result = $this->Context->Database->Select($sql, $this->Name, 'GetCommentBody', 'An error occurred while fetching the Comment Body information.');
it should also take __FILE__ and __LINE__ as arguments as well. __FILE__ tells you which file created this error and __LINE__ says where in the file it was generated.
so it should be
$result = $this->Context->Database->Select($sql, $this->Name, 'GetCommentBody', 'An error occurred while fetching the Comment Body information.',__FILE__,'__LINE__);
when the error is displayed it should display the file and line number as well
0
This discussion has been closed.
Comments