Page 1 of 1

Two Word Ranks and CrackTracker

PostPosted: Fri Feb 02, 2007 10:04 am
Author: Omni-Lee
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
Attempting to create Ranks with two words ex. Senior Member


What was done to try to solve the problem?
Use CrackTracker debug log to edit appropriate file



De.scription and Message

CrackTracker responded with the following in the log:

Script-Filename: /forum/admin/admin_ranks.php
----------------

Request-Method: POST

Matching rule: or
In variable: title_default
In variable: title_female

Possible solution:
------------------

#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_ranks.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('title_default','title_female');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Error continued to occur. Using your variable naming conventions I assumed the missing variable was 'title_male', this turned out to be correct. It appears as though CrackTracker missed one of the variables responsible for the error.

Corrected Code:
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('title_default','title_female','title_male');

Re: Two Word Ranks and CrackTracker

PostPosted: Sat Feb 03, 2007 6:35 am
Author: Teelk
Thanks Omni, I'll add it to the patch.