• Hi everyone!

    I figure I should probably begin this query by apologizing, because I know this issue comes up a lot. I mean a lot. I spent the best part of today scouring the web for various solutions (none of which appeared to work) and it seems as though different servers and different server organisations require different solutions, so I thought I’d pose the question here!

    Anyway, I’m a brand new user to WordPress and after some troubles with a White Screen of Death, I managed to get WordPress and some plugins functioning on my site using the manual / five minute install (my host doesn’t have a 1 click install option). Everything has been running smoothly until today I was editing a post and went to insert/upload an image, only to be met with the ‘missing temporary folder’ issue. The host server is a sftp server running on nginx. The vast majority of solutions I could find on the net involved editing the php.ini file, which I do not have access to, or the public_html folder which is apparently non-existent. I’ve included a screenshot of how the site displays in Filezilla in case I just have a shocking case of newbie mistake.

    A screenshot of my server's directories

    Sorry if this is posted in the wrong spot, but I figured it would be best to go straight to the source when querying this!

    Thanks in advance for any assistance!

    Best wishes,
    FByten

Viewing 3 replies - 1 through 3 (of 3 total)
  • sys_get_temp_dir

    Will show you the tmp folder on the box
    https://php.net/manual/en/function.sys-get-temp-dir.php

    You could speak to your hosting provider and find out if the permissions have been modified recently.

    Thread Starter fbyten

    (@fbyten)

    Thanks for your help!

    Here’s where I show just exactly how green I am, by asking where do I put/run that code? Is there a console I should have on my dashboard, or do I make a file with the code, or am I totally misinterpreting your help!

    Thanks so much though for your help! ??

    Thread Starter fbyten

    (@fbyten)

    Hi Everyone!

    Sorry to bug everyone again within a short space of time, but I contacted my host who said that he had recreated a ‘tmp’ folder under the .php directory. Unfortunately, I am still getting the ‘Missing Temporary Folder’ error.

    I have tried including the line
    define('WP_TEMP_DIR', 'DIRECTORY')
    (Where DIRECTORY is the address / path to the temp folder in .php) however that didn’t fix the issues.

    I then tried including
    define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/')
    (Verbatim this time) with the first line of code commented out.

    And this code caused an HTTP:// 500 error. If I comment out the above line the site works fine (save for the missing temp folder issue) so it’s that code causing the issue, but I’m wondering if the fact that it’s causing the 500 error means I’m getting closer (I could just be deluding myself).

    Anyway, again, any help would be greatly appreciated!

    Best wishes,
    First Byten

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘Missing Temporary Folder’ issue?’ is closed to new replies.