MyBB Community Forums

Full Version: Another attachment problem..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
okay, here's the problem.

On my forum, I couldn't attach a 3 MB file even though the maximum size limit for that filetype is set to 5 MB. There is no single file limit restriction on my hosting.. so I don't know what's wrong.

Anyone know what could possibly be it?
PHP is not configured to either a) accept file uploads over a specific size b) accept POST requests over a specific size.

Can you please post the URL to a phpinfo page which contains:
<?php
phpinfo();
?>
Is it this one?

[attachment=3536]
Yep, you're not allowed to upload anything over 2M

Quote:upload_max_filesize 2M 2M
exactly what I am experiencing Sad

Is it possible for the web hosting (not me) to reset it?
Possibly, if you're on your own dedicated server.

Shared servers, not likely. Smile
You should be able to set it in a .htaccess file...

php_value upload_max_filesize 6M
oh my god WDZ your a savior yet again Smile

works like a charm
only if windows could support .htaccess >.>
Tikitiki Wrote:only if windows could support .htaccess >.>

It does Big Grin You can't use the normal tools to create files that begin with a period, though.

The easiest work around would be to change httpd.conf to specify a different file name instead of .htaccess .
Pages: 1 2