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

Fixed Undefined index: host - library/XenForo/Session.php:656

Discussion in 'Resolved Bug Reports' started by Dodgeboard, Mar 13, 2011.

  1. Dodgeboard

    Dodgeboard Well-Known Member

    From the error logs: Undefined index: host - library/XenForo/Session.php:656

    Note: it's always a different URL, but the URLS always fail when I try to open them. They all follow the above format.

    I am getting several of these per day- all generated by guests (probably spiders?). I can't help but think it has something to do with the old url structure, but I have tested the old urls and they seem to be redirecting correctly.

    DO I need something in my .htaccess to catchall and redirect them?

    My forums .htaccess:

    My root .htaccess:

  2. Andy.N

    Andy.N Well-Known Member

    I reported the same error to Mike, Kier and they took a look. It's a bug and has been fixed, according to Mike.
    Dodgeboard likes this.
  3. Dodgeboard

    Dodgeboard Well-Known Member

    OK - It didn't do it until 1.0 stable. That makes sense. thanks!!
  4. Mike

    Mike XenForo Developer Staff Member

    I believe it was actually doing it in a least one previous version, but I found a bug that caused some errors to not be logged correctly and fixed that with 1.0.
  5. Veer

    Veer Well-Known Member

    I'm getting the same error on 1.0.0 Stable, how to fix?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    XenForo 1.0.0 was released on March 8th and Mike's post was March 13th so I'm guessing he meant it was fixed for 1.0.1.
  7. Dodgeboard

    Dodgeboard Well-Known Member

    I've just let my errors pile up hoping this will not cause a problem. With no mass delete function, I'm not going to waste several hours deleting 50 some pages of errors, one by one. I'll just wait for the update.
  8. Vincent

    Vincent Well-Known Member

    I live along with you :D

    But MassDelete is really necessary.
    Alien and soloarquitectura like this.

Share This Page