Hello,
So, I'm not sure if I need to edit the php.ini or my.cnf file (or both), but when I try to upload a file (very small 4kb) I get "File is not valid for upload - test.txt exceeds the max filesize". My site is on a shared environment so I'm not sure if the my.cnf is doable, but the php.ini is. Thanks in advance for the help!

Eric

Comments

vm’s picture

run a php info() and find out what your max_file_size is and check max_post as well.

ericj’s picture

So, yeah, too small...but even with such a small file size (test.txt = 4kb) it seems like it would work. No?

upload_max_filesize = 7M
post_max_size = 8M

geoff_eagles’s picture

Actually the PHP "memory_limit" field would probably be the first thing to check.

geoff_eagles’s picture

It's probably not a good idea to be using the beta code, you're better off sticking to the main releases

ericj’s picture

Thank Geoff, I went to the main release and it's working well now.

geoff_eagles’s picture

Status: Active » Closed (fixed)

Problem should be gone for the full release