Ask your WordPress questions! Pay money and get answers fast! (more info)

Error uploading images WordPress

Hi,
there are errors when trying to add images to 'events' category in my site.

There were errors yesterday with the site (please see my question asked yesterday), this has now been fixed.

I have attached image showing the error that is shown.

R

JJ

Answers (2)

2013-12-08

Arnav Joy answers:

open wp-config.php file and write following line

define('WP_TEMP_DIR',ABSPATH.'wp-content/uploads/');


inmcr comments:

Where do I write this line?

Thanks

Jon


Arnav Joy comments:

you will find this file wp-config.php at root of your wordpress installation where all other folder like wp-conten , wp-admin etc.. exists .


inmcr comments:

Where do I add it in the wp-config.php.

which Line No. do I add "define('WP_TEMP_DIR',ABSPATH.'wp-content/uploads/');" to?

Many Thanks

JJ


Arnav Joy comments:

you can add it to last line after this line

require_once(ABSPATH . 'wp-settings.php');


inmcr comments:

I have done this and it hasn't resolved the issue, it still shows error.

R

JJ


inmcr comments:

Picture attached