• Tyrel Kelsey

    (@ninnypants)


    Recently transposh has started placing junk code in our script tags. I don’t know what could be causing it since I’ve disabled all other plugins and nothing else has changed. Does anyone have any idea what could be going on?
    <script type='text/javascript' src='https://nmcentennial.org/wp-includes/js/l10n.js?ver=20101110'>end footer-col35</script> <script type='text/javascript' src='https://nmcentennial.org/wp-includes/js/jquery/jquery.js?ver=1.6.1'>end footer-col34</script> <script type='text/javascript' src='https://nmcentennial.org/wp-content/plugins/slideshow-gallery-pro/js/gallery-min.js?ver=3.2.1'>end footer-col33</script> <script type='text/javascript' src='https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js?ver=3.2.1'>end footer-col32</script> <script type='text/javascript' src='https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/additional-methods.min.js?ver=3.2.1'>end footer-col31</script> <script type='text/javascript' src='https://nmcentennial.org/wp-content/themes/nmcentennial2_1/js/nmc.js?ver=3.2.1'>end footer-col30</script> <script type='text/javascript' src='https://nmcentennial.org/wp-includes/js/swfobject.js?ver=2.2'>end footer-social9</script> <script type='text/javascript' src='https://nmcentennial.org/wp-includes/js/comment-reply.js?ver=20090102'>end footer-social8</script> <script type='text/javascript' src='https://nmcentennial.org/wp-content/plugins/cart66/js/cart66-library.js?ver=1.2.2'>end footer-social7</script> <script type='text/javascript'>end footer-social6</script>

Viewing 5 replies - 1 through 5 (of 5 total)
  • oferwald

    (@oferwald)

    I can’t see any relation between Transposh and the thing you have posted here, please try to be more specific.

    Thread Starter Tyrel Kelsey

    (@ninnypants)

    Ok I’m not completely sure of the relation but on the non translated side (nmcentennial.org) of the site everything works fine no weirdness shows up in the script tags, but when I switch to the translated section(nmcentennial.org/es/) the weird comments/html show up inside the script tags. If I turn on the option to translate the main language as well the the same comments/html show up on (nmcentennial.org)

    I’ve disabled all other plugins and re-uploaded the code for transposh, but haven’t been able to make any headway on why it has started doing this.

    oferwald

    (@oferwald)

    I have no idea why such thing will happen, however – please make sure your code passes the w3c validator:
    https://validator.w3.org/check?uri=http%3A%2F%2Fnmcentennial.org%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    Thread Starter Tyrel Kelsey

    (@ninnypants)

    Ok I’ve finally managed to track the problem into the database. Can you think of anything that would cause problems if it were messed up in the database? Transposh doesn’t seem to use the database too much.

    oferwald

    (@oferwald)

    Transposh only has two tables and a row in the options table, none that should have caused your issue in any way I can think of, and anyhow the parser should not have initiated any modifications in the headers in the way it happened to you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Transposh] Garbage code inserted into script tags’ is closed to new replies.