• Ok, so I have been pulling my hair trying to figure this one out. I have sent a ticket to the hosting provider, but while I get an answer, I would like to ask in here too.

    Ok, so what is happening is, I cannot add plugins, themes, images, etc without getting this error. Also, I cannot update anything either. This is very weird as last week site has been working perfectly fine with no issues what so ever. Now, I did the small trick where you specify a temp folder in the wp-config.php file. This worked on the network admin area. I can now add plugins and themes, and update them again. However, when I try to go in one of the sites in the network, I cannot upload any images, or import anything(like maybe demo content) without getting either the “Missing a temporary folder.” or an error 400. This is really vexing as, like I mentioned before, I was using the sites just fine last week. From what I have researched, it could have been cPanel update issue, but then again, my other sites in the same reseller account are using the same exact version, which is 80.0 (build 18), and those do not have any issues. That is why I kinda think it may be just an error for Multisite environment. Let me know what you guys think, this is really stressing me out because I cannot work on any of the sites in the network till this is fixed.

    A bit more info, I am using PHP 7.1 and it has PHP-FPM activated on them. The network is using subdomains rather than directories. I also tried setting the upload_tmp_dir in php.ini file, to no avail.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m not sure what little trick you did in wp-config.php, but it may not be compatible with a network WP. It may just be a cover-up of the root cause and not a real solution. A missing temp folder is a server problem external to WP and is an issue that should be addressed by your host.

    Thread Starter ds00x

    (@ds00x)

    Hello,

    Thanks for the reply. And yes, it is as you said, it was a server issue. Not sure what the hosting provider did that fixed the issue, so sorry I can’t be of much help, but it was apparently something to do with the PHP settings not using the correct PHP.ini file.

    For reference on the trick on the wp-config.php, it was just defining a new path for the temp folder within the server rather than the one specified by PHP.

    Moderator bcworkz

    (@bcworkz)

    Yeah, redefining the temp folder in wp-config.php helps with backend functionality, but uploads fail because PHP must do something with the upload data before wp-config.php is processed.

    Using the wrong php.ini file could certainly cause issues. I’m glad they were able to resolve it for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing a temporary folder. (Multisite)’ is closed to new replies.