1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A couple of vBulletin errors...

Discussion in 'Empty Closets Help and Feedback' started by mbanema, Jan 19, 2014.

  1. mbanema

    Full Member

    Joined:
    Jan 11, 2014
    Messages:
    1,485
    Likes Received:
    30
    Location:
    MA
    Gender:
    Male
    Gender Pronoun:
    He
    Sexual Orientation:
    Gay
    Out Status:
    A few people
    I thought this might be somehow caused by browsing in a Chrome incognito window, but I tried in a normal Firefox session and have the same results:

    1. When I log in, I get a vBulletin-formatted error message saying "Invalid Redirect URL (http://www.emptyclosets.com/forum/index.php)". At the time, my URL is Empty Closets - A safe online community for gay, lesbian, bisexual, transgender people coming out - Powered by vBulletin

    2. When I click on Mark Forums Read at the bottom of the index, I get this message:

      "Your submission could not be processed because a security token was invalid.

      If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error."
    It's possible that I'm the only one running into these issues, but if not it would be awesome if you guys could take a look. The second one in particular is pretty annoying.

    Thanks! :slight_smile:
     
  2. TJ

    TJ
    Full Member

    Joined:
    Aug 10, 2011
    Messages:
    1,833
    Likes Received:
    299
    Location:
    Lawrence, KS
    Gender:
    Male
    Gender Pronoun:
    He
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    #2 happens to me as well. I've not encountered #1 though.
     
  3. Skov

    Full Member

    Joined:
    Aug 27, 2013
    Messages:
    473
    Likes Received:
    0
    Location:
    Minneapolis, MN
    I've had the first one happen quite a few times. Now I just stay signed in so I don't have that problem. Sometimes a weird redirect happens, but I just reload the page
     
  4. Emulator

    Full Member

    Joined:
    Aug 24, 2013
    Messages:
    153
    Likes Received:
    0
    Location:
    Free-loading on Mars
    I get the second one, and additionally an error saying "You do not have sufficient rights to access this page" when I try to unsubscribe from all threads in my subscription list.
     
  5. Jinkies

    Full Member

    Joined:
    Oct 27, 2011
    Messages:
    2,321
    Likes Received:
    47
    Location:
    Northern Ireland
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Out to everyone
    From the OP, I'm getting the 2nd one when uploading multiple pictures. Not sure if that's been a problem from the get-go, but nevertheless thought it wouldn't hurt to bring it up.
     
  6. magic

    Full Member

    Joined:
    Sep 4, 2012
    Messages:
    99
    Likes Received:
    0
    Location:
    Australia
    i always get the 1st on when i log in
     
  7. Fairybread

    Full Member

    Joined:
    Apr 20, 2011
    Messages:
    0
    Likes Received:
    0
    Location:
    New Zealand
    Gender:
    Male (trans*)
    Gender Pronoun:
    He
    Sexual Orientation:
    Other
    Out Status:
    Out to everyone
    With the second, it happens to me too. To "mark forums read", just log out and in again. It will only show things posted "new" since you last logged in, which should be very few if not none if you're fast enough ^.^
     
  8. mbanema

    Full Member

    Joined:
    Jan 11, 2014
    Messages:
    1,485
    Likes Received:
    30
    Location:
    MA
    Gender:
    Male
    Gender Pronoun:
    He
    Sexual Orientation:
    Gay
    Out Status:
    A few people
    Glad to see it's not just me. :slight_smile:

    For the record, the last couple of times I've logged in I haven't received the first error. Not sure if that was fixed or just sporadic.

    Interesting, thanks! I didn't realize logging in had that effect.
     
  9. Tycho

    Regular Member

    Joined:
    Feb 10, 2012
    Messages:
    140
    Likes Received:
    0
    Location:
    ak
    Gender:
    Male
    I can answer the question about the 1st issue on behalf of the mods here as I am an admin of my own vB forums - it's an issue that occurs when you access the forum without using the "www." protocol, it's just something that vbulletin is sensitive to really. The easiest way to avoid it is by using a bookmark (if privately possible) that has the full link :
    Code:
    http://www.emptyclosets.com
     
  10. mbanema

    Full Member

    Joined:
    Jan 11, 2014
    Messages:
    1,485
    Likes Received:
    30
    Location:
    MA
    Gender:
    Male
    Gender Pronoun:
    He
    Sexual Orientation:
    Gay
    Out Status:
    A few people
    Hmm, I actually experience the opposite. If I have www. in front I get the error (and in the process lose the www.). If I enter without www., it works.

    I'm not entirely sure this is the case as I thought I tested that theory earlier and had different results. It probably has something to do with that redirect though.
     
  11. Tycho

    Regular Member

    Joined:
    Feb 10, 2012
    Messages:
    140
    Likes Received:
    0
    Location:
    ak
    Gender:
    Male
    It can be either way, it really depends on which directory the forum software is installed in and the settings used in the initial install / configuration. Most forums have the issue when it lacks the www. but you're correct here it looks like it could be the opposite.

    If its random as to which it affects then it may be caused by how the domain itself has been configured.
     
  12. Chip

    Board Member Admin Team Advisor Full Member

    Joined:
    May 9, 2008
    Messages:
    16,559
    Likes Received:
    4,757
    Location:
    northern CA
    Gender:
    Male
    Gender Pronoun:
    He
    Sexual Orientation:
    Gay
    Out Status:
    Out to everyone
    This is a really useful tip, Tycho. I never made that connection before.

    I vaguely remember something about this associated with vBSEO, the plug-in we use that handles our search engine optimization. It may make some changes in how vB sees the differences between the presence or absence of the third-level domain (the www or lack thereof.) So at least... now we have a place to look into it. :slight_smile:
     
  13. SomeNights

    Full Member

    Joined:
    Dec 11, 2012
    Messages:
    159
    Likes Received:
    0
    Location:
    Indiana
    Nice find! If that's all that's causing those issues a simple fix would be to make a mod_rewrite rule

    with www
    Code:
    RewriteCond %{HTTP_HOST} ^([a-z.]+)?example.com$ [NC]  
    RewriteCond %{HTTP_HOST} !^www. [NC]  
    RewriteRule .? http://www.%1example.com%{REQUEST_URI} [R=301,L]
    
    without www
    Code:
    RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?example.com)$ [NC]  
    RewriteRule .? http://%1%{REQUEST_URI} [R=301,L]