ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Strange issue:Fatal error: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]:...

May 03, 2012 5:14pm

Subscribe [2]
  • #1 / May 03, 2012 5:14pm

    JavaMan

    12 posts

    The entire error is:

    Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /var/www/wwwqh-ee/cms/codeigniter/system/core/Exceptions.php on line 162

    Now, what I’m really trying to do is show a div conditionally:

    {if "{com-tab}" == "Show"}
        <div class="orangetab"> 
            <a href="http://{promo-lb-file}id=promo">_     {if "{tab-text2}" == ""}_  <div class="onelinetab">_      {tab-text1}_  </div>  _      {if:else}_  <div class="twolinetab">_                    {tab-text1}_                </div>  _                <div class="linetwotab">_                    {tab-text2}_                </div>   <!-- if there is a second line -->_     {/if}_        </a>
        </div>
    {/if}

    The odd thing here is I don’t know that this code is where the issue is, but I don’t know what this error is pointing me to!

    What happens is, (with or without the anchor tag) I can simply edit the channel that I’m working with (in this case “community”), choose a record in that channel, make no changes, simply save the record, and reload the template/page - and I get this error.

    Then, saving the template (or any template in that template group), again, with no changes, and reload the page, and it loads just fine.

    Every time I save the channel record, I get the error, and every time I save a template, it fixes it.

    Any ideas what’s happeing?

  • #2 / May 03, 2012 6:57pm

    the3mus1can

    426 posts

    Issues like this can be difficult to debug.

    First save a copy of the template somewhere locally.

    Then you could try using the other syntax for the conditionals:

    {if tab-text2 == ""}

    If that doesn’t work I would start removing EE code one piece at a time. When you find exactly where the error is happening then take a look in the db at the field in question to see if there is something wrong there.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases