WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Transposh] Garbage code inserted into script tags (6 posts)

  1. ninnypants
    Member
    Posted 2 years ago #

    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='http://nmcentennial.org/wp-includes/js/l10n.js?ver=20101110'>end footer-col35</script> <script type='text/javascript' src='http://nmcentennial.org/wp-includes/js/jquery/jquery.js?ver=1.6.1'>end footer-col34</script> <script type='text/javascript' src='http://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='http://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='http://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='http://nmcentennial.org/wp-content/themes/nmcentennial2_1/js/nmc.js?ver=3.2.1'>end footer-col30</script> <script type='text/javascript' src='http://nmcentennial.org/wp-includes/js/swfobject.js?ver=2.2'>end footer-social9</script> <script type='text/javascript' src='http://nmcentennial.org/wp-includes/js/comment-reply.js?ver=20090102'>end footer-social8</script> <script type='text/javascript' src='http://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>

  2. Ofer Wald
    Member
    Posted 2 years ago #

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

  3. ninnypants
    Member
    Posted 2 years ago #

    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.

  4. Ofer Wald
    Member
    Posted 2 years ago #

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

  5. ninnypants
    Member
    Posted 2 years ago #

    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.

  6. Ofer Wald
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags