Go Back   vb.org Archive > Community Discussions > Forum and Server Management
  #1  
Old 12-14-2009, 01:13 AM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can't login from .com address, only index.php

I have been running a site under the index.php address, making modifications, etc. When I directed the server to my .com address, it seems to display fine. The only thing is that it will accept a login normally, but then redirect me to the login screen (even for the admin). The forums remain locked to the user. I can still login fine with the index.php address and the website maintains full functionality.

Any solutions? :erm:
Reply With Quote
  #2  
Old 12-16-2009, 02:12 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, the index.php is not an address but a file.
I'm trying to understand what you are saying, please tell me if my interpretation is correct.

You have a http://www.yourforums.com domain name. When all is setup correctly on the webserver, automatically the file http://www.yourforums.com/index.php will be loaded and your forums start to work and display fine.

After logging in, you and your users are redirected to the login screen again.
Only if you use the full http://www.yourforums.com/index.php line in your browser, you seen to be able to login fine.

If I understand this correctly, the cause is almost certain a cookie problem and possibly a cookie path setup wrong in your configuration of the admincp.

The best way to fix this is to leave the cookie path in the Admincp standard or put it back what it was. If all is correct only a / (a slash) should be present in that option.
After that close your browser, remove all cookies from your pc so your browser is clean again, and then try to login the "normal" way by only using the .com domain name without the index.php extension behind it.
Things should work fine now.
Reply With Quote
  #3  
Old 12-16-2009, 04:03 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, Black Tiger, you described the situation perfectly.

When I login using the www.yourforums.com address, it says "thank you for logging in" then directs me to my website page with the login box blank just as before.

I checked my cookie path under options in the admincp. You can find an image of this attached below. I have not altered it, as I had vBulletin do the professional installation.

I cleared my internet cookies and retried it on a separate computer, and it still does not work.

It seemed like it stopped working after I had done some changes to the following:

1. customized text on the phrase manager for the new user registration email
2. added some advertisement to the left side bar
3. customized the title image
4. customized some text on the phrase manager for login instructions.
5. customized the webpage address icon favicon.ico
6. brought the site online with the hosting firm
7. signed up some new users

It seemed like it was working prior to this from my home computer, but these may not be related.

I have since asked the hosting firm to repoint my webpage to the www.yourforums.com/index.php site and to try to sort out any issues with the server (ipage.com)

- Jerry
Attached Images
File Type: jpg admin contrl.jpg (199.0 KB, 0 views)
Reply With Quote
  #4  
Old 12-16-2009, 05:34 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, after working on it for a while now, I am able to login under the myforum.com link. But here's the only problem:

1. first I log in at the site: www.yourforums.com.
2. It takes me back to the site: www.yourforums.com, with the member info blank. (address shows: www.yourforums.com)
3. I click a link for a thread, and it opens, no problem.
4. When I close the thread, it takes me back to www.yourforums.com/index.php, and the member information is now showing.

So the problem is that after login, the main website does not display member info until after you click a link and it redirects you back to the www.yourforums.com/index.php address.

Interesting.....

Any ideas on what's going on here?

- Jerry
Reply With Quote
  #5  
Old 12-16-2009, 05:42 PM
jboyd jboyd is offline
 
Join Date: Nov 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not totally sure i understand the problem
It would be helpful if you created a dummy user account and shared that info here for people to test this behavior.

with that said and like i said i am not sure i understand but if you go to the "Site Name / URL / Contact Details" option in vbulletin option in admincp
does any of those settings have the value "www.yourforums.com/index.php"

if so remove the "/index.php" part
Reply With Quote
  #6  
Old 12-16-2009, 05:50 PM
drjdh's Avatar
drjdh drjdh is offline
 
Join Date: Nov 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interestingly enough, the problem just seemed to iron itself out after several logins using different accounts.

The login seems to be functioning properly now.

It seems very difficult to correct problems sometimes managing software on a server. At times, the results of your actions are delayed, and you do not realize until later that you actually corrected the problem.

- Thanks for all of your help Black Tiger and JBoyd!

- Jerry
Reply With Quote
  #7  
Old 12-16-2009, 05:55 PM
jboyd jboyd is offline
 
Join Date: Nov 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

glad it is working or you

when ever i make changes to mysite i purge all coockies and also flush my DNS cache as well
Reply With Quote
  #8  
Old 12-16-2009, 09:00 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It could also be maybe the hosting firm has cleared old cache and cookies after you contacted them. When loggin in several times, old cache and cookies are overwritten by the server and then things get to work.

Stills seems to me it was a cookie problem. Happy to hear things are working again now.
Glad to be of help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:46 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.10143 seconds
  • Memory Usage 2,244KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete