Also note that very often we have this sort of problem when third party installers are used. We really do not know what these installers are doing, but unless they use intact the Zenphoto installation routine they are prone to subtile errors downstream.
As to what caused the error, it is a "who knows" situation until the 1.4.3 release where the message will tell you why.