The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm still working on porting my hack over and I'm stumped. I have a requirement that you have to answer everything or it will display a standard error with the standard error template. When it does this, however, it's giving me this error at the top:
Code:
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 14 in \vbcontest.php on line 256 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 15 in \vbcontest.php on line 258 Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 16 in \vbcontest.php on line 260 Since I know the criteria isn't being passed to the queries in the php file on this standard error page, I don't want these errors showing up at the top of the file. How can I hide them or comment them out? Thanks. well, it's functional by turning error reporting off: Code:
error_reporting(0); |
#2
|
||||
|
||||
![]()
How about fixing the error ?
|
#3
|
|||
|
|||
![]() Code:
// all but notices error_reporting(E_ALL & ~E_NOTICE); // all but warnings error_reporting(E_ALL & ~E_WARNING); // all but notices and warnings error_reporting(E_ALL & ~(E_NOTICE | E_WARNING)); |
#4
|
|||
|
|||
![]() Quote:
Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|