When adding an album, zenphoto crashes because of "Unknown column 'lastchange' in 'field list'" error.
Here is an example:
... : Erreur MySQLi : [i]INSERT INTO `[Préfixe]albums` (`folder`, `show`, `mtime`, `lastchange`, `title`, `parentid`) VALUES ('lieux/groenland/arriere-scene', '1', '1571960469', '2019-10-24 19:47:51', 'arriere-scene', '794')[/i] a échoué. MySQLi a renvoyé l’erreur [i]Unknown column 'lastchange' in 'field list'[/i] dans /home3/mahaman1/public_html/photos/zp-core/functions-db-MySQLi.php à la ligne 95
trigger_error called from query (functions-db-MySQLi.php [95])
from PersistentObject->save (class-persistentobject.php [352])
from PersistentObject->load (class-persistentobject.php [302])
from PersistentObject->instantiate (class-persistentobject.php [86])
from Album->__construct (class-album.php [1270])
from newAlbum (class-album.php [26])
from Gallery->sortAlbumArray (class-gallery.php [810])
from Album->getAlbums (class-album.php [1371])
from AlbumBase->getAlbumThumbImage (class-album.php [532])
from fluid_getAlbumThumbImage (functions.php [369])
from fluid_printCustomAlbumThumbImage (functions.php [333])
from include (inc_print_album_thumb.php [17])
from include (gallery.php [22])
from include (index.php [12])
from include (index.php [130])
from index.php [45]
The same error occurs on the images table:
... : Erreur MySQLi : [i]INSERT INTO `[Préfixe]images` (`filename`, `albumid`, `show`, `mtime`, `lastchange`, `width`, `height`) VALUES ('190909_092033_zodiac.jpg', '820', '1', '1571963606', '2019-10-24 20:36:26', '4096', '2731')[/i] a échoué. MySQLi a renvoyé l’erreur [i]Unknown column 'lastchange' in 'field list'[/i] dans /home3/mahaman1/public_html/photos/zp-core/functions-db-MySQLi.php à la ligne 95
trigger_error called from query (functions-db-MySQLi.php [95])
from PersistentObject->save (class-persistentobject.php [352])
from PersistentObject->load (class-persistentobject.php [302])
from PersistentObject->instantiate (class-persistentobject.php [86])
from Image->__construct (class-image.php [154])
from newImage (class-image.php [53])
from AlbumBase->sortImageArray (class-album.php [1134])
from Album->getImages (class-album.php [1404])
from fluid_getAlbumThumbImage (functions.php [361])
from fluid_printCustomAlbumThumbImage (functions.php [333])
from include (inc_print_album_thumb.php [17])
from include (album.php [34])
from include (index.php [130])
from index.php [45]