<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged version-12</title>
<link>https://www.question2answer.org/qa/tag/version-12</link>
<description>Powered by Question2Answer</description>
<item>
<title>Database upgrade fails on 1.0 to 1.2 upgrade</title>
<link>https://www.question2answer.org/qa/2290/database-upgrade-fails-on-1-0-to-1-2-upgrade</link>
<description>I've upgraded from 1.0 to 1.2 and was prompted to upgrade the database. With 5 update steps remaining, I got this error:&lt;br /&gt;
&lt;br /&gt;
----------&lt;br /&gt;
Warning: Cannot modify header information - headers already sent by (output started at [my path]/qa-include/qa-db-install.php:695) in [my path]/qa-include/qa-install.php on line 68&lt;br /&gt;
&lt;br /&gt;
Question2Answer was unable to perform the installation query below. Please check the user in the config file has CREATE and ALTER permissions:&lt;br /&gt;
&lt;br /&gt;
ALTER TABLE qa_posts ADD CONSTRAINT qa_posts_ibfk_2 FOREIGN KEY (parentid) REFERENCES qa_posts(postid), ADD COLUMN categoryid SMALLINT UNSIGNED, ADD KEY categoryid (categoryid, type, created), ADD CONSTRAINT qa_posts_ibfk_3 FOREIGN KEY (categoryid) REFERENCES qa_categories(categoryid) ON DELETE SET NULL&lt;br /&gt;
&lt;br /&gt;
Error 1452: Cannot add or update a child row: a foreign key constraint fails (`pokemondb`.`#sql-57f_b8`, CONSTRAINT `qa_posts_ibfk_2` FOREIGN KEY (`parentid`) REFERENCES `qa_posts` (`postid`))&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
The user definitely has CREAT/ALTER permissions. Any ideas what may be causing this? I'm don't know much about foreign key constraints and the like.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2290/database-upgrade-fails-on-1-0-to-1-2-upgrade</guid>
<pubDate>Tue, 03 Aug 2010 20:00:26 +0000</pubDate>
</item>
<item>
<title>New CSS classes in V1.2b1?</title>
<link>https://www.question2answer.org/qa/1702/new-css-classes-in-v1-2b1</link>
<description>Hey Gidgreen, wonder what new CSS classes you added and ones you modified in version 1.2 CSS as i seem to be encountering some problems with my theme.&lt;br /&gt;
&lt;br /&gt;
Just a future suggestion, you should probably note what changes are in CSS too in the release notes as it will make it much easier for theme developers, Thanks!&lt;br /&gt;
Dakota</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/1702/new-css-classes-in-v1-2b1</guid>
<pubDate>Fri, 02 Jul 2010 19:42:29 +0000</pubDate>
</item>
</channel>
</rss>