Ticket #695 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

File upload problem with TTT WordPress site

Reported by: chris Owned by: chris
Priority: critical Milestone: Maintenance
Component: Parrot server Keywords:
Cc: ed, laura Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.25

Description

Laura has reported:

Had a report this evening that the TTT website isn't letting any uploads happen (adding of a new plugin by another admin, and also media/image uploads not being able to uploaded - no real error message as such just doesn't upload).

I just logged in quickly to see if I could upload a pic to test and wouldn't upload.

Just wanted to check if anything had changed server side re permissions.

Change History

comment:1 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.0 to 0.25

Looking at the /home/ttt/logs/error.log we have:

[Sun Mar 02 14:02:17 2014] [error] [client XX.XX.XX.XX] PHP Warning:  POST Content-Length of 9775595 bytes exceeds the limit of 8388608 bytes in Unknown on line 0, referer: http://www.transitiontowntotnes.org/wp-admin/plugin-install.php?tab=upload

So the following variables were edited in /etc/php5/apache2/php.ini:

;max_input_time = 60
max_input_time = 120

;post_max_size = 8M
post_max_size = 80M

;upload_max_filesize = 2M
upload_max_filesize = 20M

And apache restarted.

comment:2 Changed 3 years ago by chris

  • Status changed from new to closed
  • Resolution set to fixed

Laura has reported:

uploads are now working

So closing this ticket.

Note: See TracTickets for help on using tickets.