Forums

Corruption Problem in Blog (21 posts)

  1. fg06
    Member
    Posted 6 years ago #

    I've been using WordPress version 2.0 for a few months but am not very techie. I've had a corruption problem with the Kubrick theme. My side bar and links are all moved down to the right and the color is off!

    Anyone have an idea for a *simple* fix? I was just thinking of upgrading to 2.0.2 but it's WAY beyond me.

    http://fglaysher.com/MCRI/

    THANKS!

    Fred

  2. ladydelaluna
    Member
    Posted 6 years ago #

    http://validator.w3.org/check?uri=http://fglaysher.com/MCRI/

    there are 6 errors there - and after looking at them, it appears that something in your header is causing the screwup...

    my advice? choose another theme...

  3. fg06
    Member
    Posted 6 years ago #

    Thanks for your response!

    Unfortunately, I did try the Pool theme and also swithced to the offer standard themes without any improvement. Same problem of sidebar stuff out of wack, and way to the bottom right.

    Is there a template, maybe, I can upload to restore the layout design?

    http://fglaysher.com/MCRI/

    THANKS!

    Fred
    fg06@fglaysher.com

  4. Samuel B
    moderator
    Posted 6 years ago #

    Where is the normal background? Are you sure you haven't messed something up in the hack?
    Possibly revert to original and make changes one at a time until you see what screwed it up.

  5. fg06
    Member
    Posted 6 years ago #

    samboll,

    yes, the normal background is gone for some reason. I don't know why or how to get it back. What's the 'hack"?
    I was just editing a past post under Manage > Posts > Edit and then when I reloaded to view the blog it was all messed up.

    Any ideas how to correct it?

    fglaysher.com/MCRI/

    THANKS!

    Fred

  6. fg06
    Member
    Posted 6 years ago #

    I've tried changing themes from the Kubrick to several others, including the WordPress Classic 1.5 by Dave Shea,
    but it doesn't seem to make a difference. It's overlapping the header for some reason. All the other themes have the same problem of putting the sidebar at the bottom.

    Something got corrupted. I've downloaded the WordPress (Version 2.0.2) and separately re-uploaded just the sidebar.php to the right folder but no improvement. My server won't allow me to re-install version 2.0 over-top of the current installation. I'd have to delete the entire installation and THEN re-install version 2.0, re-posting, I guess, each individual file, which I did once, when I had only a few files, to deal with, several weeks ago....

    There ought to be an easier solution! Anyone know what it is....

    fglaysher.com/MCRI/

    THANKS!

    Fred

  7. fg06
    Member
    Posted 6 years ago #

    Thanks also to ladydelaluna who used the validator then showing 6 errors. I've managed to reduce them to TWO. Very technical for me. Anyone know how to correct them:

    http://validator.w3.org/check?uri=http://fglaysher.com/MCRI/

    Below are the results of checking this document for XML well-formedness and validity.

    1. Error Line 284 column 10: ID "post-6" already defined.

    <h3 id="post-6"><a title="Permanent Link to I speak only for myself and do not

    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).


    2. Info Line 261 column 22: ID "post-6" first defined here.

    <div class="post" id="post-6">

    fglaysher.com/MCRI/

    THANKS!

    Fred
    fg06@fglaysher.com

  8. emff
    Member
    Posted 6 years ago #

    Just out of curiousity, what browser are you using? IE sometimes renders pages incorrectly even though the code is w3c validated. For example, tables may appear out of place. Other browers like firefox, safari, and opera don't have this problem or at least not in my experience.

    I viewed your blog with firefox and opera and it seemed fine to me.

  9. fg06
    Member
    Posted 6 years ago #

    Well, the WordPress Classic 1.5 hides the problem, I guess, assuming the wrap at the top is supposed to be there, but any other theme wacks the sidebar to the bottom of the page, whether IE or Firefox. There's some kind of weird problem. Happened when I was saving an older post.

    Thanks for your help!

    Fred

  10. fg06
    Member
    Posted 6 years ago #

    Oops. I use Firefox regularly.

  11. fg06
    Member
    Posted 6 years ago #

    I switched back to the Default Kubrick so people can see the problem.

    Should I maybe delete line 260? I can't find it in a template code. Anyone know where I'd look?

    Fred

  12. drmike
    Member
    Posted 6 years ago #

    I'm sitting here trying to figure how where the line is as well.

    It looks like you added an empty link in this thread. The page is really messed up if you view it in IE6. Not sure why it's there but it's within the entrytext for that post. It got added for some reason.

    It's this line:

    <h3 id="post-6"><a title="Permanent Link to I speak only for myself and do not represent the official MCRI" rel="bookmark" href="http://fglaysher.com/MCRI/2006/03/13/i-speak-only-for-myself-and-do-not-represent-the-official-mcri/"><br />
    </a></h3>

    Note there's nothing within the two <a> tags. I just delete it.

  13. Samuel B
    moderator
    Posted 6 years ago #

    It's almost certainly something in one of your posts or the sidebar.
    Go back and look at the posts on the index in the editor one by one. You'll find something "off" in one of them.
    I'm assuming you haven't changed anything in the sidebar? If so, take another look at that.

  14. drmike
    Member
    Posted 6 years ago #

    Or change it to this:

    <h3><a title="Permanent Link to I speak only for myself and do not represent the official MCRI" rel="bookmark" href="http://fglaysher.com/MCRI/2006/03/13/i-speak-only-for-myself-and-do-not-represent-the-official-mcri/">I speak only for myself and do not represent the official MCRI</a></h3>

  15. ladydelaluna
    Member
    Posted 6 years ago #

    all that error is pointing to is that you're using an "id" that's already been used once, as opposed to a "class" that can be used over and over again, whereas using id's more than once causes an invalidation error...

    do not delete or change the whole line... it's written just fine as it is... however it's the <h3 id="post-6"> that causes the error...

    what it appears to me is that your index.php file is calling the post id more than once... can you possibly go to http://www.pastebin.com, paste in the code for your index.php file, and then post the link here? (i'm just not familiar with the theme you're using, and my brain is leading me to believe something, but i don't want to say for sure until i can look at the file)

  16. fg06
    Member
    Posted 6 years ago #

    Thanks ladydelaluna and everyone!

    Hope I did this right:
    http://pastebin.com/697865

    I don't know how that error got in there and am not sure where to go in the Admin to find it and change it, if it's the problem!

    Fred

  17. ladydelaluna
    Member
    Posted 6 years ago #

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>

    I THINK this might be the issue... in comparing it with my index.php file, I found this:

    <div class="post">
    <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h3>

    See how yours puts the id in the div, and mine puts it in the h3? (yours is h2) Try copying mine and replacing yours with it - change the h3 to h2 so that it matches up with your site style. See if this helps? (Again, this is in index.php)

    I hope so - my methods of doing things like this are usually by trial and error - so if it doesn't work, put it back the way you had it and we'll keep trying.

  18. fg06
    Member
    Posted 6 years ago #

    Okay, did it. But here's the validator results:
    http://validator.w3.org/check?uri=http://fglaysher.com/MCRI/

    It doesn't seem to make a difference though it changed the error message to <h3 etc.

    Ideas?

    Thanks for you help!

    Fred

  19. ladydelaluna
    Member
    Posted 6 years ago #

    It looks to me like you have two posts with the same number somehow... can you check under Manage->Posts and see if that's the case?

    It just seems like that particular post, #6 is up there twice... I don't know why, or how, but that's what it looks like is happening.

  20. fg06
    Member
    Posted 6 years ago #

    There wasn't a second #6 there. It post #3 there were a lot of div's between the message and my signature line, so I deleted them, and somehow it seems to have FIXED the problem!

    Don't know why, but, good enough!

    Thanks for your help! I appreciate it!

    Fred

  21. ladydelaluna
    Member
    Posted 6 years ago #

    wow - well at least you got it back up and running well!!
    i think i might've "overthunk" LOL

    thanks for posting the answer though!

    I'd still be interested in fixing that one error though... I'm not sure how it's getting called in exactly if there's not a duplicate post ID somewhere, somehow, but the error's still there... hopefully it won't cause you any problems in the future though!

Topic Closed

This topic has been closed to new replies.

About this Topic