Advertisement
pusatdata

WP-Trik: Resolved Temporary Folder Missing

Feb 11th, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. ═════════════════════ஜ۩۞۩ஜ═════════════════════
  2. •● WP-Trik: Resolved Temporary Folder Missing ●•
  3. ═════════════════════ஜ۩۞۩ஜ═════════════════════
  4.  
  5.  
  6.  
  7.  
  8. The first option is:
  9.  
  10. 1. Log into Hosting Cpanel of your server or use your FTP.
  11.  
  12. 2. Locate wp-config.php file in the root of your wordpress site.
  13.  
  14. 3. Download the file and open it in any text editor.
  15.  
  16. 4. Add following code after /* That’s all, stop editing! Happy blogging. */:
  17.  
  18. define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');
  19.  
  20. 5. Save the file and replace it on your server.
  21.  
  22. 6. Create a new folder temp in wp-content folder.
  23.  
  24. ============================
  25.  
  26. The second option is:
  27.  
  28. 1. Log into Hosting Cpanel of your server or use your FTP.
  29.  
  30. 2. Open public_html folder.
  31.  
  32. 3. Now create a file with a name php.ini.
  33.  
  34. 4. Place the following code inside the file:
  35.  
  36. upload_tmp_dir= /home/username/public_html/temp/
  37.  
  38. 5. Save the file.
  39.  
  40. Create a temp folder at the same location, i.e. inside public_html.
  41.  
  42. If the issue is not resolved, we strongly recommend you to contact your hosting provider as this is a server configuration problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement