Page 1 of 1

News module and field definition

Posted: Fri Mar 26, 2010 9:48 am
by jackgittes
Question about news module

I am using the News Module in CMSMS. I have a little problem there. I am using a Field definition for uploading an image. But when I choose an image en choose 'Submit' the system gives an error:

Could not create directory: /var/www/vhosts/domain.nl/httpdocs/uploads/news/id1 (Troubleshooting)

I suspect this has something to do with the rights of the user. The owner of all files en folders is 'kbc'. But when I look at the owner of the News folder (in /uploads/) it is 'Apache'. Could this be the problem?

Anyone a great idea?

Regards,

Jan

Re: News module and field definition

Posted: Fri Mar 26, 2010 11:16 am
by Peciura
Try to set access rule to 0777 to folder "uploads" and all subfolders.

Code: Select all

 chmod -R 0777 /var/www/vhosts/domain.nl/httpdocs/uploads