I had a problem in that the Inventory Report link in the Admin Reports would report a page error 500.
The web server (Abyss) log showed a parsing error:
PHP Parse error: syntax error, unexpected '}' in \admin\stats_inventory_report.php on line 191

Line 191 is purely this

<?php } ?>

I commented it out and it now works "fine".
I know the code is/was ok as it works on another machine, so anyone have an idea why the webserver would not like this?
It might be because line 182 starts out as

<?

rather than as

<?php

So you might try changing that line and see how things go.

-- stan