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

Fixed Odd error on page that doesn't exist...

Discussion in 'Resolved Bug Reports' started by Jaxel, Sep 29, 2011.

  1. Jaxel

    Jaxel Well-Known Member

    If you go to this URL on my website, you will get an error: http://8wayrun.com/media/m109-so...-combo

    This URL doesn't exist... Its obviously from someone who cut and pasted a "shortened" url with ellipses, left over from vBulletin. The problem is the error. For some reason, when XenForo tries to update the session activity data (which i would assume something along the lines of "Guest is browsing unknown location), it fails because of poor $inputParams. I also assume that this error only shows up because of the ellipses.

  2. Floris

    Floris Guest

    Do you use vB url redirects script ?
  3. Jaxel

    Jaxel Well-Known Member

    I did some testing and the $inputParams Array are as follows:
        [_origRoutePath] => media/m109-so...-combo
        [] => 0
        [_matchedRoutePath] => media/m109-so..
    The system is failing because its trying to match the first letter of the name of the second key. The problem is that the second key doesn't have a name at all! How is this possible? How do I fix this?
  4. Jaxel

    Jaxel Well-Known Member

    Figured it out... I was padding an $intParam to resolveActionWithIntegerParam() that was blank.
    Floris likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    Put in a workaround to prevent that error anyway.
  6. Jaxel

    Jaxel Well-Known Member

    Thanks Mike.

Share This Page