• Resolved shinde77

    (@shinde77)


    Hi,

    I get the “Missing temporary folder” error whenever I try to upload an image to Media Library. But I can directly upload and insert any image to my posts, and those images then appear in Media Library. I can also scan uploads folder by using a plugin to then add any image to Media Library.

    1. I tried to add these lines to wp-config before “That’s all, stop editing.” I also created various temp files named temp, TEMP, tmp. It didn’t work.

    define('UPLOADS', 'wp-content/'.'uploads');	
    define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');

    2. I tried to change the permissions for wp-content, wp-admin, etc. I tried all possible combinations, and even 777,755 doesn’t work. I tried to change the permissions for wp-config too, but it just messed up with the site and didn’t work either.

    What else do you think I can try?
    It is very very urgent for me?please help me asap
    Thank you very much in advance.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support aracelil

    (@aracelil)

    Hi, @shinde77.

    A missing temporary folder indicates a problem with the server’s PHP settings for your website. As such, I recommend reaching out to your hosting provider for assistance in this matter.

    Hope this helps.

    Kind Regards,

    Thread Starter shinde77

    (@shinde77)

    what’s the step to solving this issue because I can’t do anything in the elementor and media folder in updated wordpress and theme.
    it’s issue occures when I update the wordpress and theme.

    Plugin Support aracelil

    (@aracelil)

    Hi, @lukedouglas.

    Have you contacted your hosting provider regarding this error? If not, please do so as this error indicates an issue with the server’s PHP settings.

    Kind Regards,

    Plugin Support enmanueldiaz

    (@enmanueldiaz)

    Greetings, @lukedouglas.

    I trust this message finds you well. In addressing the error you’ve encountered, it’s imperative to consider reaching out to your hosting provider for further assistance. The nature of this error suggests a potential discrepancy within the server’s PHP settings, which necessitates professional intervention from your hosting provider.

    Your cooperation in resolving this matter with your hosting provider will greatly contribute to achieving a swift and effective resolution.

    Warm regards,

    Please check and verify whether upload_tmp_dir is enabled or disabled in your hosting provider’s configuration.

    If you need to verify this setting, you can check the php.ini file or use phpinfo() to see the current configuration

    In the php.ini file, you specify the temporary upload directory using the upload_tmp_dir directive. Here’s how to do it:

    1. Locate the php.ini File:
      • Use the phpinfo() method to find the exact path if you haven’t already.
    2. Edit the php.ini File:
      • Open the php.ini file in your preferred text editor. For example:bashCopy codesudo nano /etc/php/{version}/fpm/php.ini
      • Find the upload_tmp_dir setting. (Search for upload_tmp_dir. If it’s not present, add it)
    3. Specify the Temporary Folder:
      • Add or update the line to specify the path to your temporary directory:iniCopy codeupload_tmp_dir = /path/to/your/temp/folder
      • Replace /path/to/your/temp/folder with the actual path where you want PHP to store temporary files. For example, it might be /var/lib/php/sessions.
    4. Save and Exit:
      • Save the changes and exit the text editor (e.g., Ctrl + X, then Y to confirm in nano).
    5. Restart PHP-FPM version and Nginx or Apache
    • This reply was modified 3 months, 3 weeks ago by jacobmv. Reason: changes some format
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.