Simple Membership Plugin › Forums › Simple Membership Plugin › Permission to access log file denied
Tagged: permissions
- This topic has 2 replies, 2 voices, and was last updated 3 years, 10 months ago by
RogerK.
-
AuthorPosts
-
June 20, 2022 at 2:42 pm #24012
RogerK
ParticipantHi
When I try to login to WordPress, I get a series of error messages following the last SMP update.Warning: fopen(/var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/log-auth-616445070ea6d.txt): failed to open stream: Permission denied in /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php on line 158
Warning: fwrite() expects parameter 1 to be resource, bool given in /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php on line 159
Warning: fclose() expects parameter 1 to be resource, bool given in /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php on line 160
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php:158) in /var/sites/j/javierlombarda.es/public_html/wp-includes/pluggable.php on line 1112
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php:158) in /var/sites/j/javierlombarda.es/public_html/wp-includes/pluggable.php on line 1113
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php:158) in /var/sites/j/javierlombarda.es/public_html/wp-includes/pluggable.php on line 1114
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/j/javierlombarda.es/public_html/wp-content/plugins/simple-membership/classes/class.swpm-log.php:158) in /var/sites/j/javierlombarda.es/public_html/wp-includes/pluggable.php on line 1115
etc.
The issue seems to be to do with permissions on /simple-membership/log-auth-616445070ea6d.txt. This file exists and I can read it on the server. The content looks OK. I tried changing the permissions to something higher but any change was rejected. Current permissions are 0644.
Any thoughts about what is happening here?
Thanks
June 21, 2022 at 2:04 am #24014mbrsolution
ModeratorHi, please carry out the following troubleshooting steps.
Let me know how you go.
Thank you.
June 21, 2022 at 7:22 am #24015RogerK
ParticipantTurns out this is not an issue with the plugin at all. THe issue is with the hosting.
Thanks anyway.
-
AuthorPosts
- You must be logged in to reply to this topic.