Results 1 to 5 of 5

Thread: Search Board funtion: 404 Error?

  1. #1
    Burning out, no really... David75's Avatar
    Join Date
    Sep 2006
    Location
    Paris & Versailles, France
    Age
    49
    Posts
    4,979

    Search Board funtion: 404 Error?

    I was wondering If I am the only one with this problem.

    Everytime I click on the search boards function I get a 404.

    Sorry if this has been discussed, before.

    c u

  2. #2
    Vampiric Minion Kraco's Avatar
    Join Date
    Oct 2005
    Location
    :noitacoL
    Age
    46
    Posts
    17,963
    Must be you. Works perfectly for me, at least.

  3. #3
    Burning out, no really... David75's Avatar
    Join Date
    Sep 2006
    Location
    Paris & Versailles, France
    Age
    49
    Posts
    4,979
    Well, it works again for me

    The thing is that it didn't work yesterday night and today, on 2 different comps, with different browsers in different places (home and work)

    Thanks for the input
    c u

  4. #4
    Benevolent Dictator
    complich8's Avatar
    Join Date
    Jul 2003
    Location
    some terminal somewhere
    Age
    44
    Posts
    2,189
    Blog Entries
    1
    Quote Originally Posted by David75
    Well, it works again for me

    The thing is that it didn't work yesterday night and today, on 2 different comps, with different browsers in different places (home and work)

    Thanks for the input
    c u

    Turns out, your 2 different computers and 2 different browsers both had javascript disabled.

    But it was also actually an error in the template. supposed to be
    PHP Code:
    a href="/search.php$session[sessionurl_q]
    Instead, it was:
    PHP Code:
    a href="/search.php$session%5Bsessionurl_q%5D" 
    The first interprets $session as an array, and sessionurl_q as the index of that array. The second, treats $session%5Bsessionurl_q%5D as an undefined variable, some white space, and some text, and prints the text. So it was going to something like /search.php%5Bsessionurl_q% instead of /search.php?s=stuff

    The javascript-enabled version of this was functional, so nobody with js enabled would have seen it.

    Good catch!

  5. #5
    Burning out, no really... David75's Avatar
    Join Date
    Sep 2006
    Location
    Paris & Versailles, France
    Age
    49
    Posts
    4,979
    Quote Originally Posted by complich8
    Turns out, your 2 different computers and 2 different browsers both had javascript disabled.

    But it was also actually an error in the template. supposed to be
    PHP Code:
    a href="/search.php$session[sessionurl_q]
    Instead, it was:
    PHP Code:
    a href="/search.php$session%5Bsessionurl_q%5D" 
    The first interprets $session as an array, and sessionurl_q as the index of that array. The second, treats $session%5Bsessionurl_q%5D as an undefined variable, some white space, and some text, and prints the text. So it was going to something like /search.php%5Bsessionurl_q% instead of /search.php?s=stuff

    The javascript-enabled version of this was functional, so nobody with js enabled would have seen it.

    Good catch!
    Out of pure luck though...
    Because it seems it was sometimes not working, and others it worked...
    I guess that's maybe due to an antipopup or ad soft I use on many comps, cause I don't remember disabling js.

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •