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

Viewing unknown page - link to the page?

Discussion in 'Closed Suggestions' started by Stuart Wright, Jan 30, 2014.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    Some addons, including our own editorial system are lacking when it comes to completing the information needed to avoid the above error.
    Is it technically possible to link the above text through to the actual page? If so, could we do it please?
    The us admin can track down the culprit?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    This is something which each add-on developer needs to implement.

    For example, I did it for my own add-on:

    Amaury likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    It's not technically possible to link to the page - the URL isn't stored.
  4. Chris D

    Chris D XenForo Developer Staff Member

    But the controller and action is, @Stuart Wright, so to debug this, get the user's ID, then look them up with this query:

    SELECT user.user_id, user.username, activity.controller_name,
    activity.controller_action, activity.view_state
    FROM xf_session_activity AS activity
    LEFT JOIN xf_user AS user ON
        (user.user_id = activity.user_id)
    WHERE user.user_id = 9999
    That should return something like this:


    It would be awesome if this information was available in the front end somewhere (maybe in debug mode only on the member card).
  5. xf_phantom

    xf_phantom Well-Known Member

Share This Page