WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Missing a temporary folder (6 posts)

  1. pulsewebdesigns
    Member
    Posted 1 year ago #

    It seems like a million people had this problem already, and some of them were able to fix it and others couldn't. This just hit me today and I didn't have this problem before. I've been running WP for 2 mos with no issues prior. Here's where I'm at...

    I cannot install new plugins or upload new media. I get the very general error "Missing a temporary folder."

    I have tried to rectify this by creating a new temp folder called "tmp" in my root directory and pointing the php5.ini file to it. I believe (but I could be wrong) that I successfully attemted this because phpinfo() tells me:

    Loaded Configuration File: /home/content/j/r/o/jroodman/html/php5.ini
    _ENV["TMPDIR"] /var/chroot/home/content/j/r/o/jroodman/tmp

    Any idea what might be causing this or can anyone figure out a solution? I'd be very grateful. Thank you for your time.

  2. David Choi
    Member
    Posted 1 year ago #

    Check out phpinfo()'s value for

    upload_tmp_dir

    and see if that directory has the correct writable permission.

  3. pulsewebdesigns
    Member
    Posted 1 year ago #

    Permissions for that folder are 775. Even when I set it to 777 I still get the same error.

  4. pulsewebdesigns
    Member
    Posted 1 year ago #

    Digging further into this... I used the following script

    <?php
    var_dump(ini_get('upload_tmp_dir'));
    ?>

    and the script returns "bool(false)" Theoretically that means upload_tmp_dir has no value? How is that possible considering that phpinfo() tells me there is a set tempdir?

  5. pulsewebdesigns
    Member
    Posted 1 year ago #

    In case anyone encounters this issue, it's definitely something to do with a PHP setting on the server and has nothing to do with WordPress itself. I was hosting on GoDaddy (who offered zero support on this issue) and I managed to solve my problem by changing hosting providers (shameless plug coming) to Hostgator who even offered to migrate my site for me at no charge.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    We do keep telling people this but they frequently don't seem to believe us. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic