vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   register.php login error. (https://vborg.vbsupport.ru/showthread.php?t=141569)

FleaBag 03-09-2007 02:43 PM

register.php login error.
 
If you log in from register.php using the login box at the top of the page, you are logged in but taken to a page with the following error:

Quote:

Our records show that you have already registered under the name of FleaBag. If you have lost your password, click here. If you would like to modify your profile, click here.

Ziki 03-09-2007 07:29 PM

That's normal....

Paul M 03-09-2007 07:41 PM

I would say that's a vbulletin bug - though I'm not sure what they would say as the navbar is not displayed on the registration page in standard vb.

Ziki 03-09-2007 09:52 PM

It was the same in all versions.It just redirects you back to the page and as you are already registered you get this error.

Princeton 03-10-2007 12:57 PM

the action is correct .... you are viewing the register.php page while logged in

in other words, you don't have to be there

RedTyger 03-10-2007 01:54 PM

The action is correct but the behaviour isn't, it should kick you to the index or something instead.

Ziki 03-10-2007 05:09 PM

Yeah he has a point

nexialys 03-12-2007 08:16 PM

can i have the point too?...

i reported that error on vB 2.0a

FleaBag 03-12-2007 09:45 PM

It gives the impression, upon redirect, that you have tried to register the username with which you have logged in.

Brad 03-12-2007 11:21 PM

Can probably do this with a plug-in but;

Open functions_login.php and find;

PHP Code:

    if (
        
$vbulletin->url == 'login.php'
        
OR $vbulletin->url == $vbulletin->options['forumhome'] . '.php'
        
OR strpos($vbulletin->url'do=logout') !== false
    
)
    {
        
$vbulletin->url $vbulletin->options['forumhome'] . '.php' $vbulletin->session->vars['sessionurl_q'];
    }
    else
    {
        
$vbulletin->url fetch_replaced_session_url($vbulletin->url);
        
$vbulletin->url preg_replace('#^/+#''/'$vbulletin->url); // bug 3654 don't ask why
    


Replace with:

PHP Code:

    if (
        
$vbulletin->url == 'login.php'
        
OR $vbulletin->url == 'register.php' // bug PITA feel free to ask why! ;)
        
OR $vbulletin->url == $vbulletin->options['forumhome'] . '.php'
        
OR strpos($vbulletin->url'do=logout') !== false
    
)
    {
        
$vbulletin->url $vbulletin->options['forumhome'] . '.php' $vbulletin->session->vars['sessionurl_q'];
    }
    else
    {
        
$vbulletin->url fetch_replaced_session_url($vbulletin->url);
        
$vbulletin->url preg_replace('#^/+#''/'$vbulletin->url); // bug 3654 don't ask why
    




All times are GMT. The time now is 12:45 AM.

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.01784 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete