opensource-socialnetwork / opensource-socialnetwork

Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests. It is available in 17 international languages.
https://www.opensource-socialnetwork.org
Other
1.07k stars 506 forks source link

cleaning up of installation directory fails #138

Closed githubertus closed 9 years ago

githubertus commented 9 years ago

While installing the ossnMembers component I got: [19-Dec-2014 10:35:29 UTC] PHP WARNING: 2014-12-19 10:35:29 (UTC): "rmdir(/var/www/ossn_data/tmp/components/ossnMembers): Directory not empty" in file /var/www/ossn/classes/OssnFile.php (line 25)

[19-Dec-2014 10:35:29 UTC] PHP WARNING: 2014-12-19 10:35:29 (UTC): "unlink(/var/www/ossn_data/tmp/components/ossnMembers): Is a directory" in file /var/www/ossn/classes/OssnFile.php (line 27)

It' looks like the installer forgot to handle files that start with a dot. The remaining files in /ossn_data/tmp/components are: .gitattributes and .gitignore ...................... ossn 2.0-dev (Dec 18 release)

sathish4fri commented 9 years ago

can u change the name and check it .. OssnMembers for the folder

githubertus commented 9 years ago

pwd

/var/www/ossn_data/tmp/components/ossnMembers

ls -la

drwxr-xr-x 2 www-data www-data 4096 Dec 19 11:07 . drwxr-xr-x 3 www-data www-data 4096 Dec 19 10:35 .. -rw-r--r-- 1 www-data www-data 483 Dec 19 10:35 .gitattributes -rw-r--r-- 1 www-data www-data 606 Dec 19 10:35 .gitignore

There is nothing to change. And as I said, it's only these 2 files - the other ones have been removed correctly.

lianglee commented 9 years ago

Sorry @githubertus Ossnmembers is not part of our core, please report it to sathish4ri repository

githubertus commented 9 years ago

"githubertus referenced this issue in sathish4fri/OssnMembers 3 hours ago module not working #1"

That's true, but isn't hardly worth a look. :) Because this problem here is a general one. It will always be triggered by any module package which includes files starting with a DOT, like .gitignore.

lianglee commented 9 years ago

Yes sorry, thanks!

lianglee commented 9 years ago

Will look it and fix it

lianglee commented 9 years ago

Fixed thanks