By LAC Webadmin on Monday, 09 October 2017
Posted in Technical Issues
Replies 4
Likes 0
Views 700
Votes 0
In my Test Server, when I try to save on Views Settings I get an error 500 but it's fine in other settings. Weird!

Thanks,

Jackson
Nevermind, figures it out

If you are using nginx, check your log:

/var/log/nginx/domain.com.error.log

If you are getting this error:


2017/10/08 17:18:46 [crit] 2392#0: *2210 open() "/var/lib/nginx/tmp/client_body/0000000004" failed (13: Permission denied), client: 710.193.223.123, server: domain.com, request: "POST /administrator/index.php HTTP/2.0", host: "http://www.domain.com", referrer: "https://www.domain.com/administrator/index.php?option=com_easyblog&view=settings&layout=views"


You may have to check your default nginx system user (default is nginx) if you changed it, you will have to change the folder owner of:

/var/lib/nginx

Do chown -Rf <nginxuser>:<nginxgroup> /var/lib/nginx

That should fix that error above. FYI, that error is also visible when editing a user in EasySocial in the backend.
·
Monday, 09 October 2017 09:05
·
0 Likes
·
0 Votes
·
0 Comments
·
May i know are you still hitting that 500 error when you save the setting from backend Easyblog?
·
Monday, 09 October 2017 10:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

No, I don't see the error anymore after I changed the system folder permission. What's strange is that I never had this error before until recently. Weird!

You may want to investigate as to why EB and ES is using that system folder to write something though, now I am curious and only for some setting pages that I mentioned.

Thanks for the follow up.

Jackson
·
Tuesday, 10 October 2017 00:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, EasyBlog doesn't actually write to that path. I believe, it's being written by PHP for whatever reasons to store temporary files.
·
Tuesday, 10 October 2017 01:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post