This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

jmunoz10034
jmunoz10034

Hi guys,

I've encounered an error that I tried to avoid as long as possible but now there is no way around it for me, when I use the "Media" tab on my backend and I try to upload a file, I select it and the upload begins as normal and finishes but when the upload is over the file is not in my server and it is not shown on the media tab either.

Working with the blog plugin from rainlab, I encountered another error that may be linked to the previous one, I upload a picture and when the upload is over i get the following error message: "File missing from request" and the file is not uploaded. It works sometimes, but it is a hit and miss situation most of the time.

beluca
beluca

Hi - I just encountered a similar situation and for me it seems to be related to the PHP upload limit on my server. If I reduced the image size it would work and if I increase the upload limit in PHP it works.

Hope it helps.

Keios
Keios

Sorry if necrobumping, but beluca answer is not the only possible one and the issue may be harsh to figure out.

Try to check your ini_get('upload_tmp_dir'). If it's /tmp, then maybe some other process is filling up your tmpfs /tmp partition (tmpfs partitions are in RAM and are limited in size) and php cannot save files there when it's full and everything works when some space is freed.

I had this issue on ArchLinux when I was installing big apps from AUR - they download to /tmp and it was 100% occupied while i was testing frontend upload in October, HHVM error log guided me to /tmp.

KurtJensen
KurtJensen

Things to check in php.ini

post_max_size

upload_max_filesize

upload_tmp_dir

Last updated

administrator57283
administrator57283

on CyberPanel I fixed it by following steps:

  1. Added made sure PHP version I am using is the same for what is for my website, i.e. 7.3
  2. Turned on file_uploads "ON" (Most important) (this is where everything started working good)
  3. Adding upload_tmp_dir dir might work but for me turning on only file_uploads worked
  4. Added /tmp directory to OpenLiteSpeed > Server Configuration > File Uploads

Last updated

alexmarcxyz38868
alexmarcxyz38868

If it doesn’t then don’t fret, there are many ways you can increase the max upload size in WordPress. I am going to highlight the following ways in this tutorial. You can easily increase media file maximum upload size in WordPress, By default, the maximum upload size in WordPress ranges from 2MB to 150MB.

Last updated

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.