well yes.. strage enough.. i installed the version 2.6 and it worked like a charm.. BUT as i read your post.. i upgraded to 2.8..
main difference.. there is
no ?> at the end of vbgallery.php
this is correct.. it is NOT needed there..
SO it seems that usually CMPS doesnt care if the ?> is there or not.. BUT probably throws a hidden error under some circumstances.. so IF you are using CMPS version 3 or 3++ it is advisable to upgrade to 2.8 for that addon!!!
(I just did)
Luc