Re: problems with uploads to wordpress

Robin Paulson <[email protected]> Sat, 03 Dec 2011 12:59:47 +1300
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
 On Sat, 03 Dec 2011 12:47:43 +1300, Steve Holdoway wrote:
> On Sat, 2011-12-03 at 12:22 +1300, Robin Paulson wrote:
>> On Sat, 3 Dec 2011 11:28:13 +1300, David Pando wrote:
>> >> size. i can upload a small png no problem, but the 3.6MB .xpi 
>> files
>> >> causes
>> >> problems as it is beyond the maximum of 2MB. so, i increased the
>> >> value of
>> >> upload_max_filesize in /etc/php5/apache2/php.ini to 5MB, but it
>> >> still fails
>> >>
>> >>
>> >>
>> > Increasing upload_max_filesize is not usually enough, as you also
>> > have to
>> > increase post_max_size .
>>
>>  that's at 8MB already, should it be bigger than upload_max_filesize 
>> by
>>  some factor?
>>
> You can also set  MAX_FILE_SIZE in a form to limit it. Also, check 
> that

 i'm not sure what you mean by "a form"

> the default upload_max_filesize and post_max_size aren't being
> overridden either in code or .htaccess.

 i haven't defined any .htaccess files, where in the code is it likely 
 to be altered? the web searches i ahve found point to wordpress taking 
 whatever is defined by php as the limiting factor

-- 
 robin

 http://fu.ac.nz - Auckland's Free University

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug