• miotracosa

    (@miotracosa)


    It seems that out of nowhere my blog site just spontaneously developed a very bad problem: all of the pages stop generating at the point that the function “the_content” is called. It looks like the content and footer just disappeared.

    Honestly, I changed nothing, so all that comes to mind is that my web host or some funny hacker did this to me. 2 weeks ago all was fine and now this. When I look at my pages and view the page source I see everything in the header and I see the opening <DIV> tags just before the call, but abruptly everything stops right where “the_content” function would start generating text. When I say stop, I mean it stops. That’s the end of the web page, with lots of open tags.

    I looked to the admin console and all of my content is fine. It looks unchanged. I looked at my pages and they seem fine. But on the front-end EVERYTHING is missing except for the header. I don’t even have my footer.

    I tried upgrading from 2.6 to 2.7 thinking that this might magically restore the site. It did not. Everything is still missing. No change, but I am up-to-date now. ??

    Please any advice you can offer would be much appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you switch themes, does the site work?

    Also, what is your web address?

    Thread Starter miotracosa

    (@miotracosa)

    Hi! Thanks for your idea.

    I tried this and it did not change the behavior at all. Strangely though I noticed that the preview right before you change it still looks like the current theme although the text in the top-right corner identifies the new theme I am applying.

    The web address is: https://www.truefatherhood.org/

    I really appreciate any advice. Thanks!

    If the site is failing just as the_content gets called, try commenting out that function and then loading the page. Of course, you can’t leave it that way but the experiment might help narrow the search. Meanwhile, download the theme files from your server and compare them very carefully to the copies you (hopefully) have on your hard drive. Also try disabling all of your plugins.

    Thread Starter miotracosa

    (@miotracosa)

    Wow, sorry I got so busy and was not able to get back to this.

    I commented out “the_content” function and suddenly everything else works, the sidebar, the footer.

    <?php /*the_content('Read the rest of this entry &raquo;');*/ ?>

    I actually have another website that uses the same theme files. I’m comparing them and I haven’t seen anything. This is driving me crazy!

    I’m not sure what to think. Do you think that my core WP functions have been compromised?

    Thread Starter miotracosa

    (@miotracosa)

    Still thinking about this… if I change the template and the issue persists would this not point to problems in the WordPress functions stored on my website?

    At this point, I am thinking to backup the site and then replace all of the files with files from another website that is not experiencing the issue and is using the same version of WordPress. Specifically I am thinking of replacing the following directories:

    wp-admin
    wp-content
    wp-includes

    Woudl there be any problem with doing this?

    It does kinda look like something happened to your core files. Rather than replace directories with something from another site, I’d backup the site and then delete and replace files as per the WP Upgrade Codex using a fresh download of WP.

    Thread Starter miotracosa

    (@miotracosa)

    I did it! I followed each step and I felt victorious right up until I hit my homepage. I quickly activate my plug-ins and became immediately depressed. No change.

    Changed the theme. No change.

    So now, the debugger in me says it has to be a database issue. So I before I get drastic I started removing pages and comments left after the last known good day. No change.

    Again, when in the administrative tools I see nothing out of the ordinary at all. Perhaps I need to search some more.

    Thread Starter miotracosa

    (@miotracosa)

    OK, I think this is resolved. I found these two related topics:

    “the_content” displays nothing after upgrading

    Upgraded – title shows, but not content

    From there I started deactivating plug-ins. After some flipping on and off I narrowed my focus down to one problem plug-in “alinks” (). Yep, this was an oldie but goodie. Apparently, it caused me trouble. Truth is, that I never put much work into it.

    Also, you may recall that I said my other sites were working just fine, well, they didn’t have “alinks” plugin installed. I guess I should have compared them more closely before.

    Thanks for your help apljdi!!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Pages Stop Generating at the Call to the “the_content”’ is closed to new replies.