Unexplained Error (3.71)

3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 13   (RSS)

I have a base development website that we use as a starting point for all projects. I can copy and upload my files along with CMSB and have a functioning website in minutes. All I do from there is start styling the template and develop content.

When I brought over my new 3.71 install for a new domain, it set up like it usually does, but now I have a persistent error in CMSB that won't go away and it doesn't explain itself very well. Screenshot also attached.

  Unexpected output was sent by a program library or plugin.
Output was "

" (4 chars)
Developers: Check plugins and library files for accidentally added whitespace or other characters.

Even if I click the X on the message, going to a new screen will trigger it to appear again. Everything else set up and runs correctly.

I've looked at the plugins and I haven't updated or added any of them lately.

Kenny

Hi Kenny, 

That error means some extra whitespace was accidentally added to the end of the file and it will interfere with PHP if it's not removed.

Sometimes this is caused by mac/windows line-end conversions, and when PHP outputs content (that exceeds the number of bytes specified in the php.ini output_buffering setting) it can no longer send headers like cookies etc.

So what's likely happened is a file got modified with some added whitespace or the host changed the output_buffering setting and the whitespace was there previously.

The first thing you could try is backing up your settings file, and then removing all the plugins listed under activePlugins.  If the error no longer occurs, add the plugins back until you find which one causes the error, then examine the file for extra whitespace.  If there are spaces or nextlines after the trailing ?> in the file you'll want to remove it.

If the issue persists after checking that let us know and we'll help you track it down.

Dave Edis - Senior Developer
interactivetools.com