To be sure that you have a consistent zenphoto installation, you should probably reinstall zenphoto and make sure that all the files are from 1.2.6. The easiest way to do this is to completely reinstall zenphoto. If the installation is correct, you should not be receiving that error.