![]() |
|
mysql error on comments - 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: mysql error on comments (/thread-2103.html) |
mysql error on comments - BertSimons - 2008-01-19 using printLatestComments() I get this error: ' however with using a query like: I am able to retriev the commnets. I am using the nightlybuild 18 december.. mysql error on comments - sbillard - 2008-01-19 Have you run setup.php with this version? The type field was added to the database when comments for albums was implemented. It is also possible that images needs to be enclosed in quotes. mysql error on comments - BertSimons - 2008-01-21 yes I ran setup. checked the database table and in zp_comments there is a field named type. However phpmyadmin showed a warning on the table: "Warning More than one INDEX key was created for column indexes showed up til 19 keys: I just deleted all extra keys but no change on the error.. and if I use the function: '' the error now is: MySQL Query ( SELECT c.id, c.name, c.website, c.date, c.comment, a.folder, a.title AS albumtitle, FROM mysql error on comments - acrylian - 2008-01-21 There is indeed a error in printlatestcomment(). We are working on it. mysql error on comments - acrylian - 2008-01-22 FYI: The printLatestComments function is fixed in the svn. mysql error on comments - BertSimons - 2008-01-22 thanks!! mysql error on comments - acrylian - 2008-01-22 I forgot to mention that there is no longer an option to choose between images and albums comments, it prints just all latest comments from both. But now you can set the text length to shorten the comment... |