"cms" spews out unrendered html...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Foden

"cms" spews out unrendered html...

Post 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
Last edited by Foden on Wed Feb 14, 2007 5:33 am, edited 1 time in total.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: "cms" spews out unrendered html...

Post 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.
Foden

Re: "cms" spews out unrendered html...

Post by Foden »

Well, I host my own website at home, so I have 100% full control of the software that's installed  ;D..

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
Foden

Re: "cms" spews out unrendered html...

Post 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
Last edited by Foden on Wed Feb 14, 2007 12:06 pm, edited 1 time in total.
3dcandy

Re: "cms" spews out unrendered html...

Post by 3dcandy »

Can't get the failed page to load, just times out here!

???
Foden

Re: "cms" spews out unrendered html...

Post by Foden »

hmm.. it loads ok here?

can you see the files in http://bowmo.dk/test ?

/ Thomas
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: "cms" spews out unrendered html...

Post 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.
Foden

Re: "cms" spews out unrendered html...

Post 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
3dcandy

Re: "cms" spews out unrendered html...

Post by 3dcandy »

right, loaded this time....just appears like corrupted packets to me, like a network problem!
Foden

Re: "cms" spews out unrendered html...

Post 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
Post Reply

Return to “CMSMS Core”