Hello,
I'm using Zenphoto version 1.4.3.4 [10988] since about 7 years
Today I attempted to "refresh the database" because all of my images type MP4 add disapeared when viewing the pages of my web site
Then I went directly in the "media_images" table with phpmyadmin and discovered that indeed all of the records whose filename finished by .MP4 have disapeared and only the .jpg or .png are still there
Then I went directly with Fillezilla in the albums' directories on my server and surprizingly all the MP4 files are still there
Also, if I try to upload a new MP4, i.e. with the administration tool, it seems to do the job, but on closure a flash msg appears 1/2 sec to announce the upload did not work. Indeed no new video appears in the album. Doing the same with a jpg file works perfectly
Where is the bug?
Do I need to upgrade ? Is there any risk in such case to loose other images?
Or is there any way to rebuild correctly the table 'images' in the database ?
Comments
It is recommended to frequently upgrade as with any other system because if you update now you most likely will have to do some work especially if you are using third party plugins or themes or your own custom created ones. Not to speak of all the security fixes you missed the last five years. Furthermore your install will most likely break once your server will be upgraded to PHP7.
But to your actual problem: Zenphoto does support mp4 and other non image types only via plugins. For mp4 you would need the class-video plugin and some mediaplayer plugin to use them. Zenphoto is file system based so it reads everything that is the /albums folder. So what you need to do is: