Error on Page

8 posts by 4 authors in: Forums > CMS Builder
Last Post: June 22, 2009   (RSS)

Re: [dustycarter] Error on Page

By Dave - April 22, 2009

Hi Dustin, Welcome to the CMS Builder forum! :)

Thanks for reporting this. We've seen it before, basically the previewdns.com host injects code in all the pages you view through that domain so it can popup a little box telling you how to setup your DNS.

That code is breaking the code in CMS Builder. Once you move to the live domain it won't happen anymore.

We've had a few customers on that same host report this, so if you like you can send me FTP and CMS login details to dave@interactivetools.com (email, don't post login details to the forum) and I could see if I can add a workaround or at least add a warning to our code. Typically

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Error on Page

By dustycarter - April 23, 2009

Perfect!

Thank you for the prompt response!

Re: [Dave] Error on Page

By dustycarter - April 23, 2009

By the way. I will send the infromation you requested this afternoon.

Thanks!

Re: [dustycarter] Error on Page

By ross - April 24, 2009

Hi Dustin.

Wanted to post a reply to this thread regarding the fix we found for the previewdns.com problem.

Basically, previewdns.com is adding a whole bunch of Javascipt, CSS and HTML just above the closing </body> tag.

The solution was to add a space to the </body> tag like this: </body >.

There are actually a bunch of files in CMS Builder that need to be adjusted to get that going and I'll attach them in my next post. I'll also update CMS Builder so future versions already have this fix.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Error on Page

By Cathy - June 22, 2009

I'll also update CMS Builder so future versions already have this fix.


And sometimes the cure is as bad as the disease. :-)

I am using the GoDaddy previewdns.com setup and now, every time I try to do anything in CMS I get a pop-up message declaring...

"Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in /home/content/X/X/X/XXXXXXXXXX/html/cmsAdmin/lib/init.php on line 283"
Note: the Xs represent my clients domain info.

I can, of course, just close the box and continue on, but how annoying! So I went into init.php and commented that "fix" section out. Works fine until you need to do anything that uses the javascript modal box.

Is there anything that can remedy both situations?

Thanks!
__________________________________
Grafix Unlimited

Re: [Cathy] Error on Page

By ross - June 22, 2009

Hi there.

Thanks for posting! I am not exactly sure what's happening there. If you sent me an email with FTP details and a link to your post though, I could take a closer look.

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Error on Page

By Cathy - June 22, 2009

Info headed your way, Ross. Thanks!
__________________________________
Grafix Unlimited