vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [ARG:3 UNDEFINED] to loggin (https://vborg.vbsupport.ru/showthread.php?t=213015)

Aexo 05-06-2009 02:26 PM

[ARG:3 UNDEFINED] to loggin
 
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 03: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 03: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 04:58 PM

Looks like it is called in the script instead. login.php, around line 121.

Aexo 05-06-2009 06:07 PM

It seem that all right. I upload original file and don't solve :(

Code:

                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 07: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

PHP Code:

define('DISABLE_HOOKS'true); 


Aexo 05-07-2009 06: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


All times are GMT. The time now is 04:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01994 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete