Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid project contents directory error

Tags:

php

eclipse

When I try to load my existing project using Eclipse I get the error of "Invalid project contents directory".

I have created those files in Windows environment and now I'm trying to open those files as PHP projects in Linux.

What can I do to fix this problem?

enter image description here

like image 227
platypus Avatar asked Jun 12 '13 19:06

platypus


1 Answers

After using chown command on my www folder recursively, the problem was gone. I think the problem was that eclipse can't create new files inside those folders. (Duh!)

So:

sudo chown -R /var/www user:group
like image 164
platypus Avatar answered Oct 15 '22 18:10

platypus