<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Serious problem installing activeCollab</title>
  <link>http://www.activecollab.com/forums/topic/2942/</link>
  <description>Recent posts on topic: Serious problem installing activeCollab</description>
  <dc:language>en-us</dc:language>
  <pubDate>Fri, 21 Nov 2008 00:58:05 CST</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/14395/#post14395</link>
    <guid>http://www.activecollab.com/forums/post/14395/#post14395</guid>
    <title>Post #11 by Castor33</title>
    <dc:creator>Castor33</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>It depends under which user PHP is running. 777 is the safest bet...</blockquote></div><br />
<br />
That did it! Thanks a lot man!</p>]]></description>
    <pubDate>Wed, 13 Aug 2008 13:35:22 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14394/#post14394</link>
    <guid>http://www.activecollab.com/forums/post/14394/#post14394</guid>
    <title>Post #10 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>It depends under which user PHP is running. 777 is the safest bet...</p>]]></description>
    <pubDate>Wed, 13 Aug 2008 13:16:32 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14392/#post14392</link>
    <guid>http://www.activecollab.com/forums/post/14392/#post14392</guid>
    <title>Post #9 by Castor33</title>
    <dc:creator>Castor33</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>Make sure that /config folder is writable by PHP. Although installer says it is writable you should double check folder permissions. That is the most common cause of this type of error.<br />
</blockquote></div><br />
<br />
Will CHMOD 775 to/config fix this?</p>]]></description>
    <pubDate>Wed, 13 Aug 2008 13:02:27 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14389/#post14389</link>
    <guid>http://www.activecollab.com/forums/post/14389/#post14389</guid>
    <title>Post #8 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Make sure that /config folder is writable by PHP. Although installer says it is writable you should double check folder permissions. That is the most common cause of this type of error.<br />
</p>]]></description>
    <pubDate>Wed, 13 Aug 2008 11:45:40 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/14388/#post14388</link>
    <guid>http://www.activecollab.com/forums/post/14388/#post14388</guid>
    <title>Post #7 by Castor33</title>
    <dc:creator>Castor33</dc:creator>
    <description><![CDATA[<p>Ok. Our client finally upgraded their servers. I run the installer again and get this:<br />
<br />
ok — Database connection has been established successfully<br />
warning — InnoDB storage engine is not supported (recommended)<br />
ok — Tables created in 'acdb'. (Executed queries: 27)<br />
ok — Initial data imported into 'acdb'. (Executed queries: 8)<br />
ok — Owner company created<br />
ok — Administrator account created<br />
error — Failed to write config data into config file<br />
<br />
I've spoken with them and they'll enable InnoDB today. I'll give it another try, but what worries me is the &quot;failed to write&quot; error. The server is running PHP 4.3.9. Any ideas?</p>]]></description>
    <pubDate>Wed, 13 Aug 2008 11:11:40 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13704/#post13704</link>
    <guid>http://www.activecollab.com/forums/post/13704/#post13704</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Please send your FTP and database connection parameters to support@a51dev.com and we'll install activeCollab for you. <br />
<br />
Also, please tell us which user is owner of your license so we can get license file (there is no licenses attached to your profile).</p>]]></description>
    <pubDate>Fri, 04 Jul 2008 12:57:53 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13703/#post13703</link>
    <guid>http://www.activecollab.com/forums/post/13703/#post13703</guid>
    <title>Post #5 by Castor33</title>
    <dc:creator>Castor33</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>MySQL 4.0 does not support field collation. activeCollab installer should detect this and properly prepare queries, but from some reason it doesn't. To fix this open /public/installer/library/Installation.class.php and find this block of code (around like 228):<br />
<br />
<pre name="code" class="php">$mysql_version = mysql_get_server_info($this-&gt;database_connection);
if($mysql_version &amp;&amp; version_compare($mysql_version, '4.1', '&gt;=')) {
  $this-&gt;default_collation = 'utf8_unicode_ci';
  $this-&gt;default_charset = 'utf8';
  
  $constants['DB_CHARSET'] = 'utf8';
  
  @mysql_query(&quot;SET NAMES 'utf8'&quot;, $this-&gt;database_connection);
  
  $tpl-&gt;assign('default_collation', 'collate ' . $this-&gt;default_collation);
  $tpl-&gt;assign('table_collation', 'COLLATE=' . $this-&gt;default_collation);
  $tpl-&gt;assign('default_charset', 'DEFAULT CHARSET=' . $this-&gt;default_charset);
} else {
  $constants['DB_CHARSET'] = null;
  
  $tpl-&gt;assign('default_collation', '');
  $tpl-&gt;assign('table_collation', '');
  $tpl-&gt;assign('default_charset', '');
} // if</pre><br />
<br />
Replace it with:<br />
<br />
<pre name="code" class="php">$mysql_version = mysql_get_server_info($this-&gt;database_connection);

$constants['DB_CHARSET'] = null;
  
$tpl-&gt;assign('default_collation', '');
$tpl-&gt;assign('table_collation', '');
$tpl-&gt;assign('default_charset', '');</pre><br />
<br />
and run installer again. Please let me know how it went.<br />
<br />
PS: If upgrade to MySQL5 is an option please consider it. While activeCollab will work on earlier versions having latest stable version of DB is always a good thing.</blockquote></div><br />
<br />
<br />
Allright, this is the error I now get:<br />
<br />
*  ok — Database connection has been established successfully<br />
* ok — InnoDB storage engine is supported<br />
<br />
* error — SQL error: CREATE TABLE `acx_time_reports` ( `id` smallint(5) unsigned NOT NULL auto_increment, `name` varchar(50) collate utf8_unicode_ci NOT NULL, `group_name` varchar(50) collate utf8_unicode_ci NOT NULL, `is_default` tinyint(1) unsigned NOT NULL, `user_filter` enum('anyone','logged_user','company','selected') collate utf8_unicode_ci NOT NULL default 'anyone', `user_filter_data` text collate utf8_unicode_ci, `billable_filter` enum('all','billable','not_billable','billable_billed','billable_not_billed') collate utf8_unicode_ci NOT NULL default 'all', `date_filter` enum('all','today','last_week','this_week','last_month','this_month','selected_date','selected_range') collate utf8_unicode_ci NOT NULL default 'all', `date_from` date default NULL, `date_to` date default NULL, `sum_by_user` tinyint(1) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB<br />
<br />
* error — Failed to import database construction. MySQL said: 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 'collate utf8_unicode_ci NOT NULL, `group_name` varchar(50) co<br />
<br />
<br />
Could it be related to en encoding method used by the MySQL server?<br />
</p>]]></description>
    <pubDate>Fri, 04 Jul 2008 12:47:05 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13700/#post13700</link>
    <guid>http://www.activecollab.com/forums/post/13700/#post13700</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>MySQL 4.0 does not support field collation. activeCollab installer should detect this and properly prepare queries, but from some reason it doesn't. To fix this open /public/installer/library/Installation.class.php and find this block of code (around like 228):<br />
<br />
<pre name="code" class="php">$mysql_version = mysql_get_server_info($this-&gt;database_connection);
if($mysql_version &amp;&amp; version_compare($mysql_version, '4.1', '&gt;=')) {
  $this-&gt;default_collation = 'utf8_unicode_ci';
  $this-&gt;default_charset = 'utf8';
  
  $constants['DB_CHARSET'] = 'utf8';
  
  @mysql_query(&quot;SET NAMES 'utf8'&quot;, $this-&gt;database_connection);
  
  $tpl-&gt;assign('default_collation', 'collate ' . $this-&gt;default_collation);
  $tpl-&gt;assign('table_collation', 'COLLATE=' . $this-&gt;default_collation);
  $tpl-&gt;assign('default_charset', 'DEFAULT CHARSET=' . $this-&gt;default_charset);
} else {
  $constants['DB_CHARSET'] = null;
  
  $tpl-&gt;assign('default_collation', '');
  $tpl-&gt;assign('table_collation', '');
  $tpl-&gt;assign('default_charset', '');
} // if</pre><br />
<br />
Replace it with:<br />
<br />
<pre name="code" class="php">$mysql_version = mysql_get_server_info($this-&gt;database_connection);

$constants['DB_CHARSET'] = null;
  
$tpl-&gt;assign('default_collation', '');
$tpl-&gt;assign('table_collation', '');
$tpl-&gt;assign('default_charset', '');</pre><br />
<br />
and run installer again. Please let me know how it went.<br />
<br />
PS: If upgrade to MySQL5 is an option please consider it. While activeCollab will work on earlier versions having latest stable version of DB is always a good thing.</p>]]></description>
    <pubDate>Fri, 04 Jul 2008 06:30:25 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13699/#post13699</link>
    <guid>http://www.activecollab.com/forums/post/13699/#post13699</guid>
    <title>Post #3 by Castor33</title>
    <dc:creator>Castor33</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>What version of MySQL are you using? You can see it in your phpMyAdmin (outlined on the screenshot attached to this message).</blockquote></div><br />
<br />
The server's running 4.0.27-standard.</p>]]></description>
    <pubDate>Fri, 04 Jul 2008 06:25:47 CDT</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/13691/#post13691</link>
    <guid>http://www.activecollab.com/forums/post/13691/#post13691</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>What version of MySQL are you using? You can see it in your phpMyAdmin (outlined on the screenshot attached to this message).</p>]]></description>
    <pubDate>Fri, 04 Jul 2008 02:08:58 CDT</pubDate>
  </item>
</channel>
</rss>