Sorry, should have been clearer on the question, what plans do you have for upgrading zc? I know that using php 5.4 with zc 1.3.9 causes issues, but at the moment not sure about the version currently used.
So it seems like either the sessions.php file has been modified, or in "putting together" the php code to present the page, something had/has an additional right curly bracket } that causes one of them in the sessions file to "close" the file prematurely. Tracking that down could be "fun", but not impossible.
Perhaps could try a very generic SQL statement and see if the same type of error occurs?
Code:
select * from products;
There is no "result" expected, but hopefully no failure either. Double check the logs at that point.
Bookmarks