I recently upgraded from 1.2.6. to 1.2.7 per the upgrade instructions here:
http://www.zenphoto.org/2008/08/installation-and-upgrading/ Generally I am working but have a few MSQL/Zenphoto errors that happen when I open a gallery or certain pictures. Please note all the pictures have XMP in them and it seems related to the error. The error when opening the gallery or some images is:
Zenphoto Error
MySQL Query ( INSERT INTO `zp_tags` (name) VALUES ('text of XMP entires') ) failed. Error: Duplicate entry 'text of XMP entires' for key 2
Any ideas?
Thanks in advance!
Comments
Yes, I have the XMP plugin on and the error seems to be indicating that it might relate to that. Or am I off here?? Any other ideas relating to what might be causing this?
Thanks!
Otherwise, does this happen with a particular image? Maybe there is something with that image which causes the problem.
Any suggestions?
TIA
The exact text is as follows:
Zenphoto Error
MySQL Query ( INSERT INTO zp_tags (name) VALUES ('Christmas Party 2008 Jim and friends having some fun at Santa's expense') ) failed. Error: Duplicate entry 'Christmas Party 2008 Jim and friends having some fun at Santa's expense' for key 2
Any ideas? Should I check the XMP in the image files themselves?
Zenphoto Error
MySQL Query ( INSERT INTO `zp_obj_to_tag`(`objectid`, `tagid`, `type`) VALUES (11,,'images') ) failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''images')' at line 1
If you disable the XMPMetadata plugin do you still get the errors?