Help request

Permalink
When I goto Edit a page block the CMS starts to reload then opens a blank page with the URL of my analytics. It never did that before. I removed the analytics code. Same problem except now it simply opens a blank page. It was working fine day befor yesterday. Anyone know what is going on?

alexfr
 
frz replied on at Permalink Reply
frz
something else must have changed around the same time...


can you think of anything else you were doing or that may have happened?


how about a URL for this site?
alexfr replied on at Permalink Reply
alexfr
nothing has changed. The url is the same. I just tried editing again. The edit pop-up appears, spins for a moment, then same blank page, the url on it ishttp://www.probodywork.com/index.php?cID=1...
I tried clearing the cache, updating the cache, and refreshing the database. Same non-result. I am basically locked out of editing. Any idea as to what is going on?
DavidMIRV replied on at Permalink Reply
DavidMIRV
Is C5 Opening a blank Page or a blank Dialog when you try to edit a block?
DavidMIRV replied on at Permalink Reply
DavidMIRV
Take a look at the w3 validator, your page contains a suite of errors that could cause this problem, missing closing tags and invalid html entities. At least fix the closing tag issues and give it a try...
Perhaps when you removed the analytics code you removed too much/not enough, I've done this before :)


http://validator.w3.org/check?uri=http%3A%2F%2Fwww.probodywork.com%...
alexfr replied on at Permalink Reply
alexfr
ok thanks I'll do a search for the w3 validator and have a look. I'm sure it's a mess in there as my coding skill is as refined an art as finger-painting but it was working fine before? The analytics are all cleared out. What alerted me to try that was that the statcounter widget was mal-positioned. Took it off. Signed up for Google Analytics and then posted that code. No go. So removed it as well.
DavidMIRV replied on at Permalink Reply
DavidMIRV
I posted the link in my previous post to validate your site. I'm pretty sure you have an html issue going on here. At the very least that should be fixed so that it can be eliminated..

Additionally, I know this isn't ideal but you might consider putting the analytics code in the theme (header?) so it can be disabled in edit mode.. but thats completely off topic :)
alexfr replied on at Permalink Reply
alexfr
Yes I see the errors now. I have not found a way to access the entire code in C5. Just block by block. Is there a way in?
DavidMIRV replied on at Permalink Reply
DavidMIRV
Perhaps your theme has the errors?
which you could find in themes/<themename>
alexfr replied on at Permalink Reply
alexfr
the dialog is blank, appears to be loading, then a blank page opens and remains in loading mode, never quite resolves....?
bcarone replied on at Permalink Reply
bcarone
It may have something to do with your themes codes. If a tag is not closed properly it will try and do whats it suppose but can't finish the task. If it were a php error you'd be seeing the php error. There may also be some js errors or stalls going on but have no way of checking.

The validator should get you moving in the right course of action. Fix those and then see if it will work.

Bill
aeroclown replied on at Permalink Reply
aeroclown
The page won't load right if your template is broken, you need to address the problems in your theme/template first. You still have to have working mark-up for the blocks to actually work. Unless the dialogs don't work in the bare bones basic default template. If you can load a default template and see the dialogs correctly then the problem is in your theme somewhere and not in your installation. So, try loading a default theme and see if the dialogs actually work.

If you want to use analytics there is a place for that too. In the site settings there is a section for tracking code, you place the code in there and boom done. no editing the templates or views. It automatically handles the addition of the code to the bottom of your pages.
DavidMIRV replied on at Permalink Reply
DavidMIRV
yes the html is really picky about html parse errors when dealing with dialog overlays especially..
alexfr replied on at Permalink Reply
alexfr
Thank you to all of you on here who volunteered to help figure this out.

My C5 site is working fine now. Support staff at my host said:

"You were having this issue because of the wordpress rewrites in your public_html/.htaccess file. I was able to fix this issue by adding this line to the top of your public_html/probodywork/.htaccess file:

RewriteEngine Off

Thanks again to all,
Alex