Page 1 of 1
"cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 5:28 am
by Foden
I have a problem, sometimes my browser doesn't render the html that CMS is sending to it. Sometimes it is images that is spewed out raw (shows up as ascii characters instead of an image).
The problem is seen both on IE7, IE6, and Firefox, so it's not the browser that's making troubles. For me it seems like apache isn't sending the correct headers before the content, and the browser thinks that it is plain text. I have tried to search google, but what should I be looking for?
So I was wondering if anyone else has experienced this, and maybe has a cure?
System is :
Apache2 2.2.3
PHP 5.2.0
Mysql 5.0.23
cms 1.0.4
Regards
Thomas
Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 8:06 am
by carasmo
I'd email your host and also check the headers your page. Copy out the template that you're using (for a back up) and put back the orginal one and see if that works. If it does, compare the differences.
Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 8:23 am
by Foden
Well, I host my own website at home, so I have 100% full control of the software that's installedÂ

..
By the way, I use a modified "GrassStains" layout. (It's a very minimalistic template).
The problem is also showing up on another website (running on the same server) using the CSSMenu Lef+1 column (one of the defaults..) So it doesn't look like it's template dependent..
Sometimes the page load times are VERY long (>20 seconds) even for a text page, on my local lan (54Mb/S connection to the server), this is even in the admin panel.
I have changed to use the full AdoDB (not AdoDB-Lite) as I have integrated Gallery2 into cms using a slightly modified G2Mod.
/ Thomas
Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 12:02 pm
by Foden
I captured one of the failing pages just now, you can find the output at :
http://bowmo.dk/test/error.html
When the page is loaded as it should, it looks like the following :
http://bowmo.dk/test/good.html
Also sometimes the css that cmsms generates is missing... Just saw it in the gallery section, where the css from cmsms is missing, but the css from gallery2 is loaded ok..
Looks like something is going wrong at the serverside? Anyone?
Regards
Thomas
Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 12:24 pm
by 3dcandy
Can't get the failed page to load, just times out here!

Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 3:27 pm
by Foden
hmm.. it loads ok here?
can you see the files in
http://bowmo.dk/test ?
/ Thomas
Re: "cms" spews out unrendered html...
Posted: Wed Feb 14, 2007 5:11 pm
by carasmo
I'm sorry, but I no nothing about server configurations. My host, bluehost.com, is so cheap and easy to mess around with, that I use them. 6.95 a month I think.
It's strange, the garbled page sends two headers and two sets of xhtml declarations.
Re: "cms" spews out unrendered html...
Posted: Thu Feb 15, 2007 3:25 pm
by Foden
well We also have cheap options in Europe, but I like to host my own website, and also host for a couple of friends
It still buggs me, when I see this error. Is it only my server? Or would I see the same IF i put it out to a hosting service?
Regards
Thomas
Re: "cms" spews out unrendered html...
Posted: Thu Feb 15, 2007 4:33 pm
by 3dcandy
right, loaded this time....just appears like corrupted packets to me, like a network problem!
Re: "cms" spews out unrendered html...
Posted: Wed Feb 21, 2007 7:09 pm
by Foden
Ok, after searching, and asking arround, I finaly found the problem (thanks to the guys at the Gallery2 forum).
the G2Mod module is not honouring Gallery2's IsDone flag, where CMSMS shouldn't output any data. I have made a fix for it. It needs some more tweaking, before I'll release it.
/ Thomas