Re: problems with uploads to wordpress

Glenn Enright <[email protected]> Sat, 3 Dec 2011 11:20:55 +1300
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <CAN7jt22BEuU5Cr9DMfVVcHgp8=0PUvzKvcd-F8YKXiy8ry4P5A@mail.gmail.com>
On 3 December 2011 10:58, Robin Paulson <[email protected]> wrote:
> On Sat, 3 Dec 2011 10:55:47 +1300, Nick Rout wrote:
>>
>> On Sat, Dec 3, 2011 at 10:44 AM, Robin Paulson <[email protected]>
>> wrote:
>>>
>>> i'm having some issues uploading files to my wordpress installation. when
>>> i
>>> try, i get "Error saving media attachment." at the top of the screen.
>>>
>>> i've done a few searches and the only thing which might be relevant is
>>> the
>>> 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
>>>
>>> any ideas what might be the problem?
>>
>>
>> Did you restart apache? I am not sure if that is needed, but might be
>> worth a try.
>
>
> yes, already done that thanks.
>
>
> --

Depending on how apache is configured there may be security rules
limiting that. What modules do you have in place? Is there a seperate
php.ini for the site itself?

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