PDA

View Full Version : [ARG:3 UNDEFINED] to loggin


Aexo
05-06-2009, 03:26 PM
Hello

When I try to loggin and you password is wrong, there is an error:

"You have entered an invalid username or password. Please press the back button, enter the correct details and try again. Don't forget that the password is case sensitive.
You used [ARG: 3 UNDEFINED] attempts to log on the 5 allowed."

Where is {3}? Is it in login.php? How can I solve this?

thanks

Lynne
05-06-2009, 04:26 PM
The name of the phrase is "badlogin_strikes". So, do a Search in Templates for that phrase and make sure it has 3 valid arguments.

Aexo
05-06-2009, 04:53 PM
I don't find anything in the search.
What template is it?

I think that I haven't 3 valid arguments, but I don't find it...

Thanks for your time

Lynne
05-06-2009, 05:58 PM
Looks like it is called in the script instead. login.php, around line 121.

Aexo
05-06-2009, 07:07 PM
It seem that all right. I upload original file and don't solve :(

if ($vbulletin->options['usestrikesystem'])
{
eval(standard_error(fetch_error('badlogin_strikes' , $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'], $strikes)));
}
else
{
eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'])));
}
}

Lynne
05-06-2009, 08:11 PM
And do you have stikes on or off? Have you checked those two phrases to make sure they are default?

If they are both default, then try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Aexo
05-07-2009, 07:10 AM
SOLVED!!!

I have "Use Login "Strikes" System" in NO, but the sentence was translated into Spanish in the two options. I have only had to edit and delete the code in which I was interested
Thanks for your patience