vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Help, can't login to my forum! (https://vborg.vbsupport.ru/showthread.php?t=277274)

Macsee 01-19-2012 09:55 PM

Help, can't login to my forum!
 
Help!

I had someone work on the htaccess files (the one in root and the one in the forum folder). He had FTP access and access to the forum admin account (I trust him). He shouldn't have made any changes in the admincp except for turning on/off the forcewww plugin.

He sorted all the redirects etc. in the htaccess. I tested them and they all seemed to be working fine and he went away. I may not see him for a few days now.

But I just discovered I can't log in! When I log into the forum at the forum homepage I am just sent back to that homepage with the username and password boxes blanked out. If I fill those boxes out and submit the same thing happens again.

I can't log in to the admincp either. Same problem. But one small (but weird) difference:
If I try and fail to login to the forum - and THEN try to login to admin CP I get straight into the admincp.

But I still don't have a way to login to the forum itself and make posts. The problem seems not exclusive to me and is affecting other users as well.

Any suggestions on what could be causing the above activity would be very gratefully received.

Lynne 01-19-2012 10:12 PM

Can you access your site via both www.yoursite.com and just yoursite.com? Try the other url to login with.

Macsee 01-19-2012 10:50 PM

There's a redirection in htaccess to remove the www

ForceHSS 01-19-2012 10:58 PM

url to site

Macsee 01-19-2012 11:02 PM

I sent it to you by PM, ForceHSS. Thanks in advance for any help.

--------------- Added [DATE]1327060665[/DATE] at [TIME]1327060665[/TIME] ---------------

I managed to exchange a quick couple of texts with the developer. He's not too familiar with vB. Anyway, he's said this:

Quote:

the login script appears to be redirecting to the forum.php script, not back to the index.php - forum home page - as I believe it should. That said, there's enough going on within login.php that I do not want to edit it without being a LOT smarter about vBulletin!
...
The login script sends the visitor to the $vbulletin->options['forumhome'] . '.php' variable (not index.php) so, if there is a place to change the forumhome value, check that.
Does that help point the finger anywhere?

He also said
Quote:

I don't know enough to alter anything in the user.php script area but suggest that whatever was tweaked in there caused the problem.
I didn't "alter" anything in user.php. I didn't even realise such a file existed. Would some change I made while logged into admincp have inadvertently changed this user.php file?

--------------- Added [DATE]1327084668[/DATE] at [TIME]1327084668[/TIME] ---------------

I've sorted it!!

In case it helps anyone else, I'll tell you what finally did the trick. I was pulling my hair out trying all kinds of things and even several vB experts weren't able to say what causes this problem i.e. when you can login to admincp but not into the forums.

It turned out to be
AdminCP> Options > Site Name / URL / Contact Details

I had to remove all mentions of the www in there as the htaccess redirects all pages to non-www URIs. That solved it.

Thanks to everyone for help and for offers of help.


All times are GMT. The time now is 03:15 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.01122 seconds
  • Memory Usage 1,722KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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