WordPress.org

Forums

having an issue with validation (9 posts)

  1. solarpunk
    Member
    Posted 10 years ago #

    Hello,

    I am trying to validate my site but everytime i run it throught w3c validator, it is telling me there is < br />. When there is no br / .

    you cave view the error at http://validator.w3.org/check?uri=http%3A%2F%2Fwww.fusionrain.com%2Fblog%2F

    thank you for the help

  2. lbessant

    Posted 10 years ago #

    Well, there is a visible when I view the source of your page.

    As the validator says, it's in the <head> section of the page, right here:

    <script type='text/javascript' src='http://www.fusionrain.com/blog/wp-content
    /livecalendar/xmlhttprequest.js'></script><br />
    <script type='text/javascript' src='http://www.fusionrain.com/blog/wp-content
    /livecalendar/kcalendarscript.php'></script>

    (I've added some line breaks in there to aid readability)

    You have two script lines (copied and pasted from somewhere maybe?) with a between them. Delete that and you should be fine.

  3. Roy
    Member
    Posted 10 years ago #

    In Livecalendar.php in your plugins dir you have to delete the >br/> in this lines:
    echo"
    <script type='text/javascript' src='" . get_settings("siteurl") . "/wp-content/livecalendar/xmlhttprequest.js'></script>
    <script type='text/javascript' src='" . get_settings("siteurl") . "/wp-content/livecalendar/kcalendarscript.php'></script>
    ";

    This i think solves your problem

  4. solarpunk
    Member
    Posted 10 years ago #

    The part that i understand is that i am looking at the source on a mac and i don't see what you see. i clear the cache and re-open the page still not showing up for me.

    I am just going to uninstall the plugin that use that script.

    thanks
    victor

  5. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    Don't look at your source, look at the index.php file itself (either through the Templates feature or through a text editor). Also, try disabling any active plugins.

  6. Roy
    Member
    Posted 10 years ago #

    As I said before I have this problem myself. Open livecalendar.php
    in a texteditor find what I explained before. You can see the bug :here

  7. solarpunk
    Member
    Posted 10 years ago #

    Roy,

    I delete the plugin and the whole directory relate to plugin and the script still keep showing up. i am at work right now. i will go over more when i get home tonight. thank you for your help.

    I am wondering if my web server is caching he page or for that matter wordpress itself.

    thanks
    victor

  8. Roy
    Member
    Posted 10 years ago #

    Ok, but when I validate your site, you still point to the Javascript that livecalendar set up. (Sorry for my english.)
    Maybee its your webserver.
    Good luck.

  9. solarpunk
    Member
    Posted 10 years ago #

    Roy,

    Thanks for all you help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.