<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Tracmor Forum - Upgrading to 0.3.0 from 0.2.0 problems]]></title>
		<link>http://www.tracmor.com/forum/topic/304/upgrading-to-030-from-020-problems/</link>
		<description><![CDATA[The most recent posts in Upgrading to 0.3.0 from 0.2.0 problems.]]></description>
		<lastBuildDate>Thu, 14 Oct 2010 17:14:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/972/#p972</link>
			<description><![CDATA[<p>I modified the update script but I have the same error message.</p><p>ERROR 1025 (HY000) at line 49: Error on rename of &#039;./tracmor/inventory_location&#039; to &#039;./tracmor/#sql2-2ef-ed&#039; (errno: 152)</p>]]></description>
			<author><![CDATA[null@example.com (timtimar)]]></author>
			<pubDate>Thu, 14 Oct 2010 17:14:33 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/972/#p972</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/971/#p971</link>
			<description><![CDATA[<p>Try modifying the db_update-0.3.0.sql file as shown below. As we always recommend, make sure you have a backup of your database before attempting the upgrade.</p><p>Add at top:<br /></p><div class="codebox"><pre><code>SET foreign_key_checks = 0;</code></pre></div><p>Add at bottom:<br /></p><div class="codebox"><pre><code>SET foreign_key_checks = 1;</code></pre></div><p>Let us know if that fixes it for you.</p>]]></description>
			<author><![CDATA[null@example.com (jsinclair)]]></author>
			<pubDate>Thu, 14 Oct 2010 16:59:55 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/971/#p971</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/969/#p969</link>
			<description><![CDATA[<p>I have the same error message on my server as well</p><p>ERROR 1025 (HY000) at line 48: Error on rename of &#039;./tracmor/inventory_location&#039; to &#039;./tracmor/#sql2-2ef-ab&#039; (errno: 152)</p><p>Is there a solution?</p>]]></description>
			<author><![CDATA[null@example.com (timtimar)]]></author>
			<pubDate>Thu, 14 Oct 2010 16:32:13 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/969/#p969</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/932/#p932</link>
			<description><![CDATA[<p>I have that same error here.&nbsp; Did you ever find a solution?&nbsp; Has it caused any issues?</p><p>I dug a bit and found that it likely has something to do with a foreign key constraint and when I do a &quot;show engine innodb status&quot; I see this:</p><p>LATEST FOREIGN KEY ERROR<br />------------------------<br />100812 11:17:35 Error in foreign key constraint of table fsdinventory/#sql-d43_188b:<br />FOREIGN KEY (&nbsp; `inventory_model_id` ) REFERENCES&nbsp; `tracmor`.`inventory_model` (<br />`inventory_model_id`<br />) ON DELETE CASCADE ON UPDATE NO ACTION:<br />Cannot resolve table name close to:<br /> (<br />`inventory_model_id`<br />) ON DELETE CASCADE ON UPDATE NO ACTION</p><p>Any help would be great.</p>]]></description>
			<author><![CDATA[null@example.com (Petaris)]]></author>
			<pubDate>Thu, 12 Aug 2010 16:42:12 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/932/#p932</guid>
		</item>
		<item>
			<title><![CDATA[Re: Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/899/#p899</link>
			<description><![CDATA[<p>Please ignore the last error message. I forgot to change the __SUBDIRECTORY__ variable in the configuration.inc.php file after changing the directory for testing purposes. Everything seems to be working so far except the first error message.</p>]]></description>
			<author><![CDATA[null@example.com (olejl)]]></author>
			<pubDate>Mon, 19 Jul 2010 09:31:32 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/899/#p899</guid>
		</item>
		<item>
			<title><![CDATA[Upgrading to 0.3.0 from 0.2.0 problems]]></title>
			<link>http://www.tracmor.com/forum/post/898/#p898</link>
			<description><![CDATA[<p>I am trying to upgrade my database from 0.2.0 to 0.3.0.</p><p>When i execute <br /></p><div class="codebox"><pre><code>mysql test -uroot -p &lt; ./db_update-0.3.0.sql</code></pre></div><p>I get the following error message:<br /></p><div class="codebox"><pre><code>ERROR 1005 (HY000) at line 49: Can&#039;t create table &#039;test.#sql-536_54b&#039; (errno: 150)</code></pre></div><p>The rest of the steps are OK, but when logging in I get this error message:<br /></p><div class="codebox"><pre><code>Exception in PHP Script
/tracmor-0.3.0/assets/index.php     PHP Version: 5.2.10-2ubuntu6.4;  Zend Engine Version: 2.2.0;  Qcodo Version: 0.3.32 (Qcodo Beta 3)
Application: Apache/2.2.12 (Ubuntu);  Server Name: 10.1.3.31
HTTP User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100401 Ubuntu/9.10 (karmic) Firefox/3.5.9
Undefined GET property or variable in &#039;QAdvancedSearchComposite&#039; class: chkArchived
Exception Type:   QUndefinedPropertyException

Source File:   /var/www/alameen-test/includes/qcodo/_core/qform/QControlBase.class.php     Line:   736

Line 731:            public function Render($blnDisplayOutput = true) {
Line 732:                // Call RenderHelper
Line 733:                $this-&gt;RenderHelper(func_get_args(), __FUNCTION__);
Line 734:                
Line 735:                try {
Line 736:                    $strOutput = $this-&gt;GetControlHtml();
Line 737:                } catch (QCallerException $objExc) {
Line 738:                    $objExc-&gt;IncrementOffset();
Line 739:                    throw $objExc;
Line 740:                }
Line 741:    


Call Stack:

#0 /var/www/alameen-test/includes/qcodo/_core/qform/QControlBase.class.php(933): QBaseClass-&gt;__get(&#039;chkArchived&#039;)
#1 /var/www/alameen-test/includes/qcodo/qform/QControl.class.php(252): QControlBase-&gt;__get(&#039;chkArchived&#039;)
#2 /var/www/alameen-test/includes/qcodo/qform/QAdvancedSearchComposite.class.php(374): QControl-&gt;__get(&#039;chkArchived&#039;)
#3 /var/www/tracmor-0.3.0/common/advanced_search_composite.tpl.php(56): QAdvancedSearchComposite-&gt;__get(&#039;chkArchived&#039;)
#4 /var/www/alameen-test/includes/qcodo/qform/QAdvancedSearchComposite.class.php(123): require(&#039;/var/www/tracmo...&#039;)
#5 /var/www/alameen-test/includes/qcodo/_core/qform/QControlBase.class.php(736): QAdvancedSearchComposite-&gt;GetControlHtml()
#6 /var/www/tracmor-0.3.0/assets/asset_search_composite.tpl.php(31): QControlBase-&gt;Render()
#7 /var/www/alameen-test/includes/qcodo/qform/QAssetSearchComposite.class.php(225): require(&#039;/var/www/tracmo...&#039;)
#8 /var/www/alameen-test/includes/qcodo/_core/qform/QControlBase.class.php(736): QAssetSearchComposite-&gt;GetControlHtml()
#9 /var/www/alameen-test/assets/asset_list.tpl.php(43): QControlBase-&gt;Render()
#10 /var/www/alameen-test/includes/qcodo/_core/qform/QFormBase.class.php(790): require(&#039;/var/www/alamee...&#039;)
#11 /var/www/alameen-test/includes/qcodo/_core/qform/QFormBase.class.php(297): QFormBase-&gt;Render()
#12 /var/www/tracmor-0.3.0/assets/asset_list.php(465): QFormBase::Run(&#039;AssetListForm&#039;, &#039;/var/www/alamee...&#039;)
#13 /var/www/tracmor-0.3.0/assets/index.php(22): include(&#039;/var/www/tracmo...&#039;)
#14 {main}


Variable Dump:   Show/Hide</code></pre></div><p>This is only happening for asset. Other things such as inventory / admin / reports seems to be working OK.</p>]]></description>
			<author><![CDATA[null@example.com (olejl)]]></author>
			<pubDate>Mon, 19 Jul 2010 09:19:33 +0000</pubDate>
			<guid>http://www.tracmor.com/forum/post/898/#p898</guid>
		</item>
	</channel>
</rss>

