Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM Permissions issue in admin
#1
I am in my admin panel and I have turned debug mode on, now when I do things like press save settings in settings page it shows as saving successfully but php outputs:

Quote:Warning: file_put_contents(../sitemap.xml): failed to open stream: Permission denied in ../admin/inc/basic.php on line 315


Also I am testing the Multi User plugin, and when I go to user management in settings and press update plugin I am faced with:

Quote:Warning: file_put_contents(../plugins/user-managment.php): failed to open stream: Permission denied in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/): failed to open stream: Is a directory in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/ckeditor.php): failed to open stream: Permission denied in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/lang/): failed to open stream: Is a directory in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/lang/.htaccess): failed to open stream: Permission denied in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/lang/en_US.php): failed to open stream: Permission denied in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

Warning: file_put_contents(../plugins/user-managment/lang/it_IT.php): failed to open stream: Permission denied in ../plugins/user-managment.php on line 537

Warning: chmod(): Permission denied in ../plugins/user-managment.php on line 539

How can I correct these permission issues? Also, I have set permissions to 777 on everything in the gms folder (Bad practice) so what would be the best permissions for normal and safe usage ?
Reply
#2
755?
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2017-02-01, 22:57:56)shawn_a Wrote: 755?

My thoughts exactly. Any clue on why my permission issues are occurring? little perplexed.
Reply
#4
I am also recieving:


Warning: file_put_contents(../sitemap.xml): failed to open stream: Permission denied in ../admin/inc/basic.php on line 315
Reply
#5
could be a owner issue, if permissions are not fixing it.
Maybe you uploaded files and now they the owner is not in the same group as php.

not all hosts allow 777 or actually block stuff if perms are wrong.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)