![]() |
|
Titles lost after running Setup - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Titles lost after running Setup (/thread-12614.html) |
Titles lost after running Setup - ctdlg - 29-05-2026 Hello, From time to time, my website host changes the MySQL version. After redoing the setup and putting the site back online, some of my VR album titles were replaced by The involved album contains copies of images from other albums (for pc or smartphones) Titles lost after running Setup - acrylian - 29-05-2026 No idea where this comes from. Actually re-running setup should not change data… That is a Js/json array apparently and it looks as if this comes from some image metadata perhaps? Titles lost after running Setup - ctdlg - 29-05-2026 Problem comes from metadata: adminedit.php, Metadata section shows : Modèle d’appareil: insta360 oners IMG_20230914_162848_00_492.insp is the name that replaces the title, in french only, english and german titiles are emptied. Description, tags, codeblocks are kept (no change.) Encoding problem ? metadata from my camera ? If I erase all exif data in my localhost VR album images, Titles lost after running Setup - acrylian - 29-05-2026
Hm, did/can you look at the metadata titles of these albums? Do they store anything unusal as the title? Maybe try to refresh the metadata on one problematic image manually and see what happens then. Also please look at Options > Image > Metadata refresh behaviour there you can generally prevent updates on title+description or all metadata (as tags could be involved, too). That had been added quite a while ago as you might want to refresh without loosing the main fields usually edited manually after importing. I still don't know why this should be updated via setup run… I could only imagine some file/folder permission issues and problems to read images somehow so they are always re-read.
As long as you directly overwrite the files with the same named files Zenphoto should not consider them new because they are already in the database. To be on the sure side do this step by step. Just in case… Also be sure to close your site for visitors during that as there is always a tiny moment the image is missing and if someone or bot catches that it might fail. Titles lost after running Setup - ctdlg - 29-05-2026 I did try the Metadata refresh utility on my localhost machine : I loose the same titles I do not use Metadata. If it is requested by Zenphoto, I should not loose the titles I have manually entered here is an image : Custom data:
Location:
City:
State:
Country:
Credit:
Copyright:
Metadata: The title was : After metadata plugin action (or runing setup), french title became No english and no german title. Here is a metadata from an image that does not change the title : Metadata: There is no title in this Metadata ! This answer is a bit long, but I think my camera gives wrong metadata titles ! Titles lost after running Setup - acrylian - 30-05-2026
This should not be happening! MySQLi is just the PHP library handler and not the database itself. But encoding mismatches can always result in "funny" results…
That might indeed be or it did store them wrong due to an error (A camera nowadays is just a computer …). We had in the past (more often) that some cameras did some "creative usages" of the more or less existing EXIF/IPTC standards. We have a process what to use for the title as described here: If you get comments via mail notification and still read this, please note that we will close the forum temporarily (see the news on the site). RE: Titles lost after running Setup - ctdlg - 13-06-2026 Your new forum is really nice, well done. Here's how I fixed the problem:
Conclusion: Too many specific characters in the EXIF data of some cameras. This conflicts with certain Zenphoto functions! Note : I cannot format the phpmyadmin query correctly with tabs or code> or blockquote> RE: Titles lost after running Setup - acrylian - 13-06-2026
Thanks! Glad you were able to find a workaround. Do you have any indication what characters that were and is there anything we can try to fix?
It looks a bit formatted to me. The markdown support is an own plugin solution as we didn't want to use the default MyCode/bbCode formatting, also for compatibility of all the old posts. You can technically use four spaces or for inline code RE: Titles lost after running Setup - acrylian - 13-06-2026 Made some styling additions, inline code is now inline and blue and clode blocks generally work as well. But you have to put four spaces before each line.
For multiline blocks using three backticks before and after the block works:
RE: Titles lost after running Setup - ctdlg - 13-06-2026 charset = Ascii {"info":{"gyro_stabilized":false,"initial_view_changed":false}} creates the problem RE: Titles lost after running Setup - acrylian - 14-06-2026 That indeed looks really like a camera mistake. |