PHP storm on ubuntu not working proper
已回答
Hi,
I am Using PHP storm since 2014, now. But I did it on Windows.
A few days before I decided to get rid of the windows trouble on developing PHP. Problems like VM not working, Symlinks not really accessible or other windows related stuff will not appear on a Linux system. So I moved to ubuntu on a real machine. But There is a problem with php storm.
I cannot create or open projects.
- On Problem is, that storm does not provide me any files or folders in the create or open project dialog.
- If I type in a folder path manually to open or create a folder, I get an error that save failed but the project is open.
- If I open or create a project I can just create a scratch file, the expected options for php, class, css, etc files to create is missing.
Any hint?
Regards
Dirk
请先登录再写评论。
Please start PhpStorm with an empty config (rename the ~/.PhpStorm2018.1 directory), check how it goes and if it's still bad please collect and upload the IDE log somewhere.
https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Hi,
I put some files on my GDRIVE:
https://drive.google.com/drive/folders/16-tKFYLA7HlkbSBt0KlZpZk6awUF8Pc4
I removed the config and restarted PhpStorm. Same behavior and you can find the idea.log at the location above.
You will also find two files named permissions which will show you the permissions for /home/usr/project... and /var/www/....
It does not have the expected behaviour I know from a DEV Machine on work (Ubuntu 16.4 / LDXE, ..). On this machine at home I got Ubuntu 17.10 and ...
Regards
Dirk
It looks like you have high permission restrictions on this system. Is it necessary? Are you launching PhpStorm as a "dml" user?
There's following error in a log: Root '/' has no children - is it readable? - would it be possible to grant user dml corresponding permissions?
Hi,
yes, my working user is "dml" and it should never get access to root without sudo.
I never had this kind of trouble before. PhpStorm tries to allocate the root folder. / which it should never be able, too.
But I will try if this would solve the problem.
Will get back to yoy, s00n.
Regards,
Dirk
OK; solved, ... gave the user 775 to root folder of the system.
Never had such a problem. THX for assistence.