Page 1 of 1

[Solved] CrackerTracker admin_email_users

PostPosted: Sun Dec 13, 2009 9:43 am
Author: Angelus
Hello,

I have some problems deleting users from Mass Email and PMs list (General Admin-> Mass Email and PMs) . I get the Ctracker error message with this hint how to fix it:

Code: Select all
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Script-Filename]------------------------------------------#/admin/admin_email_users.php  ##-----[ FIND ]------------------------------------------#require('./pagestart.' . $phpEx);  ##-----[ AFTER, ADD ]------------------------------------------#define('CT_SECLEVEL', 'MEDIUM');$ct_ignorepvar = array('remove');  ##-----[ SAVE/CLOSE ALL FILES ]------------------------------------------## EoM  


I tried this fix but still have the same problem. I fixed some errors using the hints in the logmanager but this one does obviously not work. Anyone can help?

Greetings and thanks
Thorsten

Re: CrackerTracker admin_email_users

PostPosted: Sun Dec 13, 2009 1:29 pm
Author: Helter
have you tried this?

#
#-----[ AFTER, ADD ]------------------------------------------
#
Code: Select all
 define('CT_SECLEVEL''LOW');$ct_ignorepvar = array('remove'); 

Re: CrackerTracker admin_email_users

PostPosted: Sun Dec 13, 2009 2:39 pm
Author: Angelus
Hi Helter,

yes I tried it. But unfortunately this did not solve the problem. Log message still the same.

Greetings
Thorsten

Re: CrackerTracker admin_email_users

PostPosted: Sun Dec 13, 2009 3:48 pm
Author: Helter
FIND
Code: Select all
if( !empty($setmodules) ){     $file = basename(__FILE__);     $module['General']['Mass_Email_Users'] = $file;     return;}  define('IN_PHPBB', true);


AFTER, ADD

Code: Select all
define('CT_SECLEVEL', 'LOW');$ct_ignorepvar = array('remove');

Re: CrackerTracker admin_email_users

PostPosted: Mon Dec 14, 2009 9:10 am
Author: Angelus
Hi solved the problem (even with MEDIUM level). I'm no real programmer but it is interesting that to shift the 2 inserted lines 4 lines upper solves the problem <img>

Thanks very much!!!!

Greetings
Thorsten

Re: [Solved] CrackerTracker admin_email_users

PostPosted: Mon Dec 14, 2009 10:48 am
Author: Helter
the ctracker code should almost always go right after the
define('IN_PHPBB', true); or the root path definition. That tells CTracker that the file is fine to run before any other code is attempted

Re: [Solved] CrackerTracker admin_email_users

PostPosted: Mon Dec 14, 2009 11:08 am
Author: Angelus
Ok thanks for the explanation.

Greetings
Thorsten

Re: [Solved] CrackerTracker admin_email_users

PostPosted: Mon Dec 14, 2009 1:44 pm
Author: Helter
I spoke too soon. It actually only tells CTracker that the included variable is ok to run. In this case it is "remove". If you needed to add another var, you would add it as

define('CT_SECLEVEL', 'LOW');
$ct_ignorepvar = array('remove' , 'other var');