<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails)]]></title><description><![CDATA[<p dir="auto">Using FOP22.31.28 with MySQL 8.0.2 will fail due the use of the "groups" reserved keyword <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":-(" alt="😞" /><br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/keywords.html#G" rel="nofollow ugc">https://dev.mysql.com/doc/refman/8.0/en/keywords.html#G</a><br />
Impact: It is not possible to create any templates from the /admin/<br />
<code>256, SQL Error: UPDATE fop2templates SET groups = '', permissions='all', plugins='', isdefault='0' WHERE id = '1' 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 'groups = '', permissions='all', plugins='', isdefault='0' WHERE id = '1'' at line 1 (/var/www/html/fop2/admin/dblib.php, 108</code></p>
]]></description><link>http://localhost:4567/topic/2871/fop22.31.28-fails-with-mysql-8.0.2-groups-is-a-reserved-keyord-template-creation-fails</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 01:45:58 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2871.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Jul 2020 14:30:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Tue, 21 Jul 2020 18:56:57 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, will add the fixes to the next release!</p>
]]></description><link>http://localhost:4567/post/12006</link><guid isPermaLink="true">http://localhost:4567/post/12006</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 21 Jul 2020 18:56:57 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 15:23:29 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Templates creation, update and delete is working now.</strong><br />
Attached are the modified files from the /var/www/html/fop2/admin/</p>
<ul>
<li>dbsetup.php   (altered the custom field creation, it can't block an insert if its null)</li>
<li>functions.php (quotes all usages of <code>groups</code> with a back ticked `  )</li>
</ul>
<p dir="auto">Please see the attached Archive.zip for the patched files</p>
]]></description><link>http://localhost:4567/post/12005</link><guid isPermaLink="true">http://localhost:4567/post/12005</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 15:23:29 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 15:13:45 GMT]]></title><description><![CDATA[<p dir="auto">The <code>custom</code> text field is created as NOT NULL, however for a <code>text</code> field you cant set a <code>default value ''</code>, so as a fix, just remove the NOT NULL ?</p>
]]></description><link>http://localhost:4567/post/12004</link><guid isPermaLink="true">http://localhost:4567/post/12004</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 15:13:45 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 14:52:47 GMT]]></title><description><![CDATA[<p dir="auto">(delete this comment)</p>
]]></description><link>http://localhost:4567/post/12003</link><guid isPermaLink="true">http://localhost:4567/post/12003</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:52:47 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 14:49:35 GMT]]></title><description><![CDATA[<p dir="auto">The next problem you'll run into is that the custom field has no default value set, so an insert of a new template will blow up on this. Setting the default value on the custom field wil solve this.</p>
]]></description><link>http://localhost:4567/post/12002</link><guid isPermaLink="true">http://localhost:4567/post/12002</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:49:35 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 14:40:49 GMT]]></title><description><![CDATA[<p dir="auto">FIX:<br />
<code>groups</code><br />
Wherever you use the keyword groups use the back ticked ` around it.</p>
]]></description><link>http://localhost:4567/post/12001</link><guid isPermaLink="true">http://localhost:4567/post/12001</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:40:49 GMT</pubDate></item><item><title><![CDATA[Reply to FOP22.31.28 fails with MySQL 8.0.2 "groups" is a reserved keyord (template creation fails) on Thu, 16 Jul 2020 14:38:23 GMT]]></title><description><![CDATA[<p dir="auto">Still a problem on MySQL 8.0.20 although some posts report that groups is no longer a reserved word</p>
]]></description><link>http://localhost:4567/post/12000</link><guid isPermaLink="true">http://localhost:4567/post/12000</guid><dc:creator><![CDATA[wxll]]></dc:creator><pubDate>Thu, 16 Jul 2020 14:38:23 GMT</pubDate></item></channel></rss>