Problems, gallery & php



Hello,

I'm running image Gallery software written in php from
http://gallery.menalto.com/

First, all was ok, but then I guess the server upgraded
to php 5.

Then, I got problems with: cannot re-assign $this

After changing all $this to $result, I now face problems
with: "Fatal error: Call to undefined method stdClass::setPerm()
in Album.php."

Could anyone please tell me how to solve this problem?

Thanks,

Olw
.