We help IT Professionals succeed at work.

Very strange problem happening with content on my WordPress site..??

Andrew Angell
on
I've got something weird happening with this WordPress site:  www.haloworldwide.org.  

They called me saying that their home page and their Branches -> Denver page were coming up blank.  I sat down to my computer and was able to confirm this.

I simply logged in to the admin panel, went to Pages, and opened up the Branches -> Denver page, where I can see the content no problem.  I didn't make any updates or anything at all.  I just looked at it.

Then I went back to the home page and both Home and Branches -> Denver were showing content again.

The same exact thing happened on my laptop, and the same procedure fixed it there.  The same procedure is also fixing it for my client's computers, but we have to do this procedure with every computer we view the site from.

The problem is the same thing is happening to regular users that I have view the site, and they're not going to be able to do this procedure as they don't have access to the control panel.

I can't figure out for the life of me why this is happening.  Any information would be greatly appreciated.  Thanks!
Comment
Watch Question

Jason C. LevineDon't talk to me.

Commented:
Do you have any caching installed?
Andrew AngellCo-Owner / Developer

Author

Commented:
Nope, no caching plugins installed.
Andrew AngellCo-Owner / Developer

Author

Commented:
I found the source of the problem, but what's happening is still very strange.

They added a donate button generated from givingfirst.org to the home page Post and the Denver page.  These are the only pages having the problem, and when I remove the givingfirst button the problem goes away.

When I add it back, though, it breaks...but then works if I just log into the admin from any given machine where the problem is happening and then go back to the main site again.
Jason C. LevineDon't talk to me.

Commented:
Post the HTML from a page with the button in it? I'm thinking that the button code is probably closing a container or something too soon which kills the layout of the page.
Andrew AngellCo-Owner / Developer

Author

Commented:
Well, what's weird is that when I try and post the button code that was being used it blanks out the response here, too.  Same thing on the WP forum where I posted this as well.  

I got it working by re-generating the button and replacing what was there.  

I still find it very odd that I could follow that same procedure of simply logging into the admin panel and looking at the page (without updating anything) and it would fix it on all machines I did that from.
Jason C. LevineDon't talk to me.

Commented:
It might be that looking at the page fixes the XHTML automatically (setting in Settings | Writing, I think).
Andrew AngellCo-Owner / Developer

Author

Commented:
Only on that 1 machine that looked at it, though..??  
Jason C. LevineDon't talk to me.

Commented:
I don't know, it might be a weird render thing.
Jason C. LevineDon't talk to me.

Commented:
Does the button have any scripting attached to it?
Co-Owner / Developer
Commented:
Yeah.  I first opened up my primary desktop, noticed the problem, and followed that "view the page" procedure to fix it.

Then I opened up my laptop and it was still blank.  Followed the same procedure, fixed it there.  

Then I opened up some Virtual Machines I have running, and the same thing was happening on each of those until I followed the procedure.

Now I've ditched the graphic code that was being used and replaced it and it's working everywhere.  Pretty dumbfounded by this whole thing, though.
Jason C. LevineDon't talk to me.

Commented:
What was the code before?  I couldn't view source on the iPad.

Nice site, BTW.
Andrew AngellCo-Owner / Developer

Author

Commented:
Thanks!

It was just some code from a donation site that apparently conflicted with WordPress.  Very odd the way it was causing problems.  I got it all worked out by ditching their code and using my own.
Jason C. LevineDon't talk to me.

Commented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.