<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Problem Uploading Files! MySQL?</title>
  <link>http://www.activecollab.com/forums/topic/2292/</link>
  <description>Recent posts on topic: Problem Uploading Files! MySQL?</description>
  <dc:language>en-us</dc:language>
  <pubDate>Sat, 30 Aug 2008 10:35:12 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/11070/#post11070</link>
    <guid>http://www.activecollab.com/forums/post/11070/#post11070</guid>
    <title>Post #6 by bmartinsen</title>
    <dc:creator>bmartinsen</dc:creator>
    <description><![CDATA[<p>Do you know:<br />
What is the DEFAULT file upload size limit for activeCollab 0.7.1 ? <br />
THANKS!</p>]]></description>
    <pubDate>Fri, 07 Dec 2007 15:47:12 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/11004/#post11004</link>
    <guid>http://www.activecollab.com/forums/post/11004/#post11004</guid>
    <title>Post #5 by rblake</title>
    <dc:creator>rblake</dc:creator>
    <description><![CDATA[<p>I was having the same problem.  I changed the max_execution_time from 30 to 300 with no success, then I changed it to 6400 and the problem went away.  If you are using IIS 6.x with the IIS lockdown tool, there is a setting that needs to be changed there as well otherwise IIS can timeout and cause errors.<br />
<br />
Hope this helps.   Here are all of the settings that I changed, which may or may not be relevant.  These are on a windows machine running iis 5.0, but I believe the settings hold true for Apache installs as well.  Make sure your restart your services after making the changes.<br />
<br />
my.ini (Windows)<br />
  [mysqld]<br />
     max_allowed_packet = 100M<br />
<br />
php.ini<br />
   :::Resource Limits::: <br />
      max_execution_time = 6400<br />
      max_input_time=60<br />
   :::Data Handling:::<br />
      post_max_size=100M<br />
   :::File Uploads:::<br />
      upload_max_filesize=100M<br />
   :::FOpen Wrappers:::<br />
      default_socket_timeout=6400<br />
   :::My SQL:::<br />
      mysql.connect_timeout=-1<br />
   [mysqld]<br />
      wait_timeout=1200000<br />
      max_allowed_packet=100M</p>]]></description>
    <pubDate>Mon, 03 Dec 2007 16:02:09 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10864/#post10864</link>
    <guid>http://www.activecollab.com/forums/post/10864/#post10864</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>It is MySQL configuration option. You should consult MySQL documentation or Google to learn how to change it (if I remember correctly, you'll need to add it to [mysql] section of your my.cnf file). <br />
<br />
Still, I would recommend you to use File System storage engine (you can change it in Configuration -&gt; General)...</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 22:50:32 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10863/#post10863</link>
    <guid>http://www.activecollab.com/forums/post/10863/#post10863</guid>
    <title>Post #3 by juamovi</title>
    <dc:creator>juamovi</dc:creator>
    <description><![CDATA[<p><div class="postQuote"><blockquote><div class="quoteAuthor">Ilija Studen:</div>The easiest possible solution would be just to change to File System Storage in General settings.</blockquote></div><br />
<br />
Hi again, <br />
<br />
   Could you tell how could I change this? I've also been searching for the max_packet_size parameter and I didn't find it. <br />
<br />
   Sorry and thanks<br />
<br />
</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 21:34:03 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10859/#post10859</link>
    <guid>http://www.activecollab.com/forums/post/10859/#post10859</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>The easiest possible solution would be just to change to File System Storage in General settings. If you are forced to use MySQL storage engine you should increase max_packet_size value to the max file size value you want to upload (8MB in your case).</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 14:18:55 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10858/#post10858</link>
    <guid>http://www.activecollab.com/forums/post/10858/#post10858</guid>
    <title>Post #1 by juamovi</title>
    <dc:creator>juamovi</dc:creator>
    <description><![CDATA[<p>Hi everybody,<br />
<br />
   I've just installed the v0.71 aC this week on my company. Now, I'm testing how it work before starting the normal use. <br />
<br />
   I found one problem uploading files which size is bigger than 1Mb. I've read a lot of topics about that here but I cannot correct this problem. <br />
<br />
   I've checked the following parameters: <br />
<br />
                upload_max_filesize = 200M<br />
                post_max_size =         8M<br />
                max_execution_time = 30<br />
<br />
   The application shows me the following message : <br />
<br />
          Query failed with message 'MySQL server has gone away' <br />
          Error params: <br />
          File: .\activecollab\environment\library\database\adapters\AbstractDBAdapter.class.php  <br />
          Line: 371  <br />
          Sql: ROLLBACK  <br />
          Error number: 2006  <br />
          Error message: MySQL server has gone away  <br />
<br />
  I'd be pleased if sb can help me. <br />
<br />
  Thanks<br />
</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 13:00:07 UTC</pubDate>
  </item>
</channel>
</rss>