Login or Register

RSS IconRecent posts in this topic

avatar
bochenn on Nov 30. 2006. 9:28 pm
when i try to upload files larger than 1 Mb i get this error message:

Failed to import file '/Applications/MAMP/tmp/php/phpIG2ZtX' to the file repository (unique file id: d3b8f3a78204c3ec2da408d61ce085219ca93019)

the strange thing is that below the form i see this message:
You can upload files of any type. Max filesize you are allowed to upload is 32MB

whats wrong?
avatar Staff
Ilija Studen on Dec 1. 2006. 3:16 am
If уоu are using MySQL storage engine don't forget to set max_allowed_packet value to something larger than 1MB. That is what limits you...
activeCollab Team Member
avatar
bochenn on Dec 1. 2006. 12:41 pm
sorry but i'm not very experienced with this. where i cange this max_allowed_packet?

thanks
avatar
Nick on Dec 1. 2006. 12:59 pm
Hi,

Try /etc/my.cnf - I think this is where it's stored.

You'll need to be root though, or have your hosting provider change it for you.
avatar
sajseven on Dec 1. 2006. 1:28 pm
Who's your hosting provider? Do you have access to your home folder? (i.e. - above public_html)

If so, I can probably help you.
activeCollab Team Member (NOT)
avatar
bochenn on Dec 1. 2006. 6:33 pm
i have activecollab installed at one of my computers in my LAN. It's a Mac OS X Tiger 10.4.6 (Intel) using MAMP (www.mamp.info)
avatar
sajseven on Dec 1. 2006. 7:14 pm
Ah! It can be fixed then!

Add this to a line of your .htaccess in your root public_html or htdocs folder:

php_value memory_limit 32M

You can change the amount of memory, if you wish.
activeCollab Team Member (NOT)
avatar
sajseven on Dec 1. 2006. 7:36 pm
bochenn:
sorry but i'm not very experienced with this. where i cange this max_allowed_packet?

thanks

Check your phpMyAdmin or MySQL...
activeCollab Team Member (NOT)
avatar
bochenn on Dec 1. 2006. 8:02 pm
in phpmyadmin i see this, but i don't know where can i change that. any suggestions? thanks

max allowed packet
session variable 1048576
global variable 1048576
avatar Staff
Ilija Studen on Dec 1. 2006. 10:46 pm
You need to set the value in MySQL configuration file (usually my.cnf). I don't know where that file is located...
activeCollab Team Member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic