vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Unable to log in (regular or AdminCP) (https://vborg.vbsupport.ru/showthread.php?t=317726)

Sarteck 03-11-2015 01:06 AM

Unable to log in (regular or AdminCP)
 
I recently moved servers, and took the opportunity to set up my vB on a "forums.MYDOMAIN.com" subdomain.

I had some issues with it, where I was unable to log OUT for a few days, and it ended up being something about the cookie prefix.

Now my issue is that I cannot log in, either as a normal or or an Admin, to the regular forum or to the AdminCP.

I have tried:
- tools.php
- : Reset Cookie Domain
- : Reset Cookie Path
- : Updating the various caches

- config.php
- : changing the cookie prefix
- : Disabling hooks

- webserver
- redirecting all traffic on www.MYDOMAIN.com and MYDOMAIN.com to forums.MYDOMAIN.com.


What Happens:
When I try to login from the forum index, it simply reloads the forum index.
When I try to login from the AdminCP or ModCP, it loads "login.php?do=login," and tells me I have an invalid password. If I try to log in using the quick login bit at the top, it simply reloads the forum index, but if I try to login from the form on the page, it just adds a Strike to my IP.


I'm not quite sure what it is that I screwed up, here, and could use a hand. I'm running vB 4.1.11 (I know, I do have to update, and will later on) on NGINX. Obviously, I cannot log into the AdminCP to make changes to any settings.

ForceHSS 03-11-2015 01:18 AM

have you tried disabling plugins via config

Sarteck 03-11-2015 01:21 AM

Quote:

Originally Posted by ForceHSS (Post 2540082)
have you tried disabling plugins via config

Yeah, forgot to add that in there. I'll go edit the post, now.

Lynne 03-11-2015 01:22 AM

After changing settings, did you make sure to delete all your browser cookies for the site? You need to do that if you change anything cookie related.

ForceHSS 03-11-2015 01:25 AM

If you still cant get in after you do what lynne said either get in touch with support or ask someone here to try

Sarteck 03-11-2015 01:34 AM

@Lynne, yeah, just to make sure I even tried from two other browsers (First Chrome, then FireFox and then Safari), still the same behaviour.

@ForceHSS You mean over at the .com site? I was wondering if I should have posted there...

ForceHSS 03-11-2015 02:09 AM

No, I mean a support ticket I am sure they will say the same here as over there

Sarteck 03-11-2015 04:43 AM

@ForceHSS, I get ya. I was on my way to do that right after reading your post, but the vBulletin hiccuped on everyone. (I didn't break it, heh.)

Once I/they get the issue sorted out (here's hoping), I'll post the details and solution, in case someone else runs into the same thing.

TheLastSuperman 03-11-2015 04:58 AM

Try this method: https://vborg.vbsupport.ru/showthread.php?t=259619

If doing that does not work, while in phpmyadmin check your administrator accounts, in the user table, alternatively you can run this query in phpmyadmin (include db prefix if one is used):

Code:

SELECT * FROM `user` WHERE userid = 6;
Run the query, make sure the admins listed are indeed proper admins if not then something suspect is going on.

You can see the vb_ prefix before the tables and also in config.php

PHP Code:

    //    ****** TABLE PREFIX ******
    //    Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = 'vb_'


Sarteck 03-11-2015 05:28 AM

@Sup, I'm not really sure what it is you're trying to get me to do, heh.

I've disabled plugins already in config.php. It's generally the first thing I used to do whenever I had a problem, because it was usually caused by my own code, heh. That doesn't seem to be the case, here.

As far as the MySQL you gave me... I think you meant a usergroupid of 6, not a userid. Using the following SQL, I did check to see if anything was wanky:
Code:

SELECT * FROM user WHERE usergroupid = 6 OR FIND_IN_SET(6,membergroupids);
Nothing seemed out of the ordinary--all my Admins were there, and no one was there who wasn't supposed to be.


All times are GMT. The time now is 02:39 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.01065 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)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