Page 1 of 1

Need help debugging CT Error

PostPosted: Tue Feb 19, 2008 5:13 pm
Author: .QUACK.Major.Pain
Ok guys, I updated to the latest CT update from Feb. 18.

When I go to ACP>CrackerTracker>Logmanager
I tried to click on "Delete All Logfiles", and I get a CT error.
I turned on the debug and recreated the CT error to get the debug info.

This is what I get:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_cracker_tracker.php
----------------

Attack-Time: 19.02.2008 20:00 pm
------------

Request-Method: POST

Matching rule: delete
In variable: submit

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

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

#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);

#
#-----[ BEFORE, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('submit');

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



I checked that file to do the recommended fix, but I can't find the line: include($phpbb_root_path . 'common.'.$phpEx);

I attempted to insert it after the other define..... lines, but got a couple syntax errors.

Any suggestions on a proper fix?

So you know, each individual line can be deleted one at a time.

Re: Need help debugging CT Error

PostPosted: Tue Feb 19, 2008 5:38 pm
Author: Helter
try adding it here

// CTracker_Ignore: File Checked By Human

// Set constants
define('IN_PHPBB', 1);
define('CTRACKER_ACP', true);
define('CT_SECLEVEL', 'LOW');
$ct_ignorepvar = array('submit');

Re: Need help debugging CT Error

PostPosted: Tue Feb 19, 2008 5:42 pm
Author: .QUACK.Major.Pain
Ok it works.

I swear I tried that exact same thing and it told me about a syntax "=" error.

Must have been something slightly different.

Thanks again Helter.