[eluser]degu[/eluser]
Hello,
after chasing a strange error / view buffer behavior, I've found out that when I remove the following line from DB_driver.php, the issue goes away (v1.7):
Code:
379: // oci8 vars must be set before calling this
389: $RES->num_rows = $RES->num_rows();
The problem I had was that whenever one of my nested views threw a PHP notice/warning, CI's view output buffer would break and output the data in a wrong order (e.g., the views/header and views/footer views would get sent to the browser before the actual page content gets sent).
What's the purpose of the above line? Assigning the result of a method to a property with the same name looks wrong, and I suspect PHP throws an error that causes the output buffer to break. Is this a known issue?