Support » Plugins » Validation Error: Cannot validate, how do I locate the errors?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Don’t you think you should fix these errors 1st at the top of your page and then worry about the other?

    Warning: main(/home/drursi08/public_html/blog/wp-content/plugins/cg-plugins/cg-whattunes.php) [function.main]: failed to open stream: No such file or directory in /home/drursi08/public_html/blog/wp-content/plugins/cg-whattunes-plugin.php on line 37

    Warning: main() [function.include]: Failed opening '/home/drursi08/public_html/blog/wp-content/plugins/cg-plugins/cg-whattunes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drursi08/public_html/blog/wp-content/plugins/cg-whattunes-plugin.php on line 37

    On the validator page check the Show Source box and click revalidate. Every line number in the error messages wil become a clickable link showing exactly where the error occurs.

    Thread Starter drursi08

    (@drursi08)

    moshu — I read that somewhere, but it doesnt seem to be working:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sevenstripes.com%2Fblog%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1

    samboll — those errors were displayed as I tried to install some new plugins but they have since been disabled.

    but it doesnt seem to be working

    Don’t copy text from sources that are non-utf-8; especially don’t do it with the wysiwyg thing on.
    I couldn’t check where in your blog those errors are because I never take a look at mile long pages. Sorry.

    Thread Starter drursi08

    (@drursi08)

    In other words, only copy from NotePad?

    Yes: Only from plain text editors like Notepad. No MS Word, no ther websites. Or, if you have to do it, first paste it into Notepad and from there to WP.

    Another reason for non utf-8 characters in a blog could be editing the template files with an editor that doesn’t have utf-8 support. It happens quite often. If you edit a template file in Notepad, make sure when saving you select utf-8 at the bottom of the window.

    Now, for seeing your source at validator: change the Encoding field from “detect automatically” to iso-8859-1 and force the validation with that encoding. At least you’ll be able to see which are those lines mentioned in the error message.

    Thread Starter drursi08

    (@drursi08)

    Thanks for the help. I’ve done what you recommended, but this is still terribly frustrating and not working correctly…

    I wrote the most recent post in MS Word. Realizing this was the reason why I had so many problems, I deleted the post completely, copied and pasted it into Notepad, but the problems remained. I went through the post, changed many characters such as ” ‘ ? and others to try to fix the repeated problems, but still the same errors come up with validation!!

    Any ideas as to why this isnt working correctly?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The character set errors it’s finding are in the post called “Predictions on the Cusp of Summer” and they appear to be quote marks. Word uses weird quote marks, which is why you shouldn’t use it to do this sort of thing. Edit that post and fix those quote marks.

    Thread Starter drursi08

    (@drursi08)

    Nevermind… that seemd to to the trick! anyways problem solved, so im leaving this as Resolved. Thanks to all who helped!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Validation Error: Cannot validate, how do I locate the errors?’ is closed to new replies.