The file could not be uploaded.When I try to upload image from article or basic page

+1
0
-1

Hi, I installed Starter theme Methys, I tried to upload a Slideshow image from local and I get the error: The file could not be uploaded.

I upload a new logo in theme settings and it was ok, only appers in Basic, articles editing pages.

Also apper in front:
Warning: unlink(/var/www/vhosts/jardindehara.com/httpdocs/2014/sites/default/files/field/slideshow/sl-3.jpg) [function.unlink]: Permission denied in drupal_unlink() (line 2202 of /var/www/vhosts/jardindehara.com/httpdocs/2014/includes/file.inc).

Could you help to me?
Thank you very much

+1
0
-1

Hi rotvic,
In this issue, there are some cases, I give you
solution below:
Step 1: Login your system with "root" user
Step 2: Set permission on "file.inc" file by command line:
chmod -R 775

Let me know if you have any questions.

Thanks

+1
0
-1

Hi, thanks a lot, its works now!
solved!