• some problems uploading media files w/ error about temporary folder

  • Tell error you get when using VPSSIM & Other members help fix it

Tell error you get when using VPSSIM & Other members help fix it
 #2383  by pauloficaadica
 25 Sep 2018 23:05
Hello!

I'm having some problems uploading media files in wordpress.

I have followed some tutorials on correcting this in Wordpress but I feel that this may be a problem in VPSSIM.

I think the problem is in the VPSSIM because I did some testing with the same backup site on my server with cPanel and I had no problems.

The problem:
When I send an image to the Media Files in Wordpress I get the error that a temporary folder is missing.

As I've tried to resolve:
I have followed the tutorials to include in the wordpress configuration file and create the /temp/ folder with permissions, but this doesn't always work, actually, most of the time, this definitely doesn't work.

Below is the code that I found to try to correct, but as mentioned, this doesn't work:

define('WP_TEMP_DIR', dirname(_FILE_) . '/wp-content/temp/');

Save your changes and upload the wp-config.php file back to your website.

Next, you need to go to /wp-content/ folder and create a new folder inside it. You need to name this new folder temp.
This topic has 1 reply
You must be a registered member and logged in to view the replies in this topic.
Get 25 USD Free To USE VPSSIM