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

strange script at bottom of all pages

Discussion in 'Troubleshooting and Problems' started by Mrs.T, Dec 8, 2012.

  1. Mrs.T

    Mrs.T Active Member

    Hi I am hoping someone can help me with this. I have some strange script at the bottom of all my forum pages.
    It looks like this.
    } ["addon_id"] => string(7) "XenForo" ["style_id"] => string(1) "3" ["template_id"] => string(3) "813" ["title_original"] => string(22) "page_container_js_body" ["includeTitles"] => array(3) { [1] => string(26) "page_container_js_body.css" [2] => string(22) "page_container_js_body" [3] => string(26) "page_container_js_body.css" } ["_TemplateEditorAjax"] => string(1) "1" ["_xfRequestUri"] => string(63) "/admin.php?templates/page_container_js_body.813/edit&style_id=3" ["_xfNoRedirect"] => string(1) "1" ["_xfResponseType"] => string(4) "json" }

    I can not find this in the footer template and have no idea where it came from.
  2. Chris D

    Chris D XenForo Developer Staff Member

    This looks like you have some sort of add-on that's got some sort of broken code in it.

    Unfortunately you are going to have to disable all add-ons. I'm guessing at that point you will find that the code has disappeared.

    Then, enable each add-on one by one to find out which add-on introduces this code. Then you have your answer :)
    Jake Bunce likes this.
  3. Mrs.T

    Mrs.T Active Member

    Thanks Chris. I am pretty sure it is my shoutbox. I had a problem with it this morning.
  4. Mrs.T

    Mrs.T Active Member

    Ok so how do I go about fixing broken code?
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Did you determine this to be caused by your shoutbox addon?

    It looks like some kind of var dump. Does it change between page loads or is the dump exactly the same on every page? In the Admin CP or on the front end?
  6. Mrs.T

    Mrs.T Active Member

  7. Chris D

    Chris D XenForo Developer Staff Member


    There is a javascript syntax error in one of your templates.

    Do you have an add on called BB Code Media Sites pack installed?

    If so, find the template: bbms_twitter_XFormer

    And change this line:
    <script>$(".twitter-tweet").children("p").css("border-bottom", "3px double @primaryLighterStill"), ;</script>
    <script>$(".twitter-tweet").children("p").css("border-bottom", "3px double @primaryLighterStill");</script>
    Jake Bunce and Shelley like this.
  8. Mrs.T

    Mrs.T Active Member

    Thank you guys so much for your help. Luke fixed this for me. Guess I will just leave stuff alone for now. haha
    I will say though that you all are great your help is much appreciated.

Share This Page