Rather than trying to mask them, are you certain there isn't a genuine error going on somewhere? Does having debug set to 2 throw anything up?
Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 24 Aug 2010, at 14:41, Thunderstriker wrote: > i get a lot of warnings in my logs like: > 2010-08-24 09:34:01 Warning: Warning (2): mssql_num_rows(): supplied > argument is not a valid MS SQL-result resource in [C:\xampp\htdocs\cake > \libs\model\datasources\dbo\dbo_mssql.php, line 468] > 2010-08-24 09:34:01 Warning: Warning (2): mssql_free_result(): > supplied argument is not a valid MS SQL-result resource in [C:\xampp > \htdocs\cake\libs\model\datasources\dbo\dbo_mssql.php, line 180] > 2010-08-24 09:34:01 Warning: Warning (2): mssql_free_result(): > supplied argument is not a valid MS SQL-result resource in [C:\xampp > \htdocs\cake\libs\model\datasources\dbo\dbo_mssql.php, line 180] > > these warnings just overun my log files and make them almost useless. > i looked up the lines and they used the @ sign to suppress these > errors like: > @mssql_free_result($this->results); > > and still the show up in my log is there anyway to really suppress > them without changing the cake code? > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
