Error codes
Submitted ΑndyF, Mar 17 2011 04:08 PM | Last updated Jan 29 2013 05:26 PM
I seem to think this was done deliberately, but why I'm not sure.
If you search for error code 1000, you are always shown 2000, despite there being 1000 errors in the code:
But you are always shown this when searching for that error code:
If you search for error code 1000, you are always shown 2000, despite there being 1000 errors in the code:
//-----------------------------------------
// Permission to see the board?
//-----------------------------------------
if ( self::$handles['member']->getProperty('g_view_board') != 1 )
{
self::getClass('output')->showError( 'no_view_board', 1000, null, null, 403 );
}/* Are we banned: By DB */
if ( self::$handles['member']->getProperty('member_banned') == 1 )
{
self::getClass('output')->showError( 'no_view_board_b', '1000B', null, null, 403 );
}But you are always shown this when searching for that error code:
/* Are we banned: Via IP Address? */
if ( IPSMember::isBanned( 'ipAddress', self::$handles['member']->ip_address ) === TRUE )
{
self::instance()->getClass('output')->showError( 'you_are_banned', 2000, true, null, 403 );
}| Status: | Confirmed - General |
| Version: | 0 |
| Fixed In: | 0 |











1 Comments
Updating Status to: Confirmed - General
Updating Version to: 0
Yes it is on purpose. I'm not sure why at the moment. That database is out of date and may be going away until 4.0 when we have a better system in place to manage it.