valkyrjan91 Posted May 24, 2015 Share Posted May 24, 2015 Hi,My site's been working ok for quite a while but today it's giving everyone this message when they try to log in: Warning: require_once(/home/knottyolly/dreadlocktruth.com/components/com_community/libraries/videos.php) [function.require-once]: failed to open stream: Permission denied in /home/knottyolly/dreadlocktruth.com/plugins/user/jomsocialuser/jomsocialuser.php on line 20 Fatal error: require_once() [function.require]: Failed opening required '/home/knottyolly/dreadlocktruth.com/components/com_community/libraries/videos.php' (include_path='.:/home/knottyolly/dreadlocktruth.com/plugins/system/zend:.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/knottyolly/dreadlocktruth.com/plugins/user/jomsocialuser/jomsocialuser.php on line 20 Line 20 on jomsocialuser.php is as follows: require_once(JPATH_ROOT . DS . 'components' . DS . 'com_community' . DS . 'libraries' . DS . 'videos.php'); Does anyone know what to do? Permissions for jomsocialuser.php are adfrw (0644), the directory is flcdmpe (0755), are these correct? It's fine until you try to log in. Quote Link to comment https://forums.phpfreaks.com/topic/296470-failed-to-open-stream/ Share on other sites More sharing options...
ginerjm Posted May 24, 2015 Share Posted May 24, 2015 Who changed the permissions? If what you say is completely accurate, the error message is spot on. You don't have permission to access that file or folder. Did someone remove a user from that folder? Did someone change the user that php is running under? Did your folder name change for some other reason and your access is now flawed? Quote Link to comment https://forums.phpfreaks.com/topic/296470-failed-to-open-stream/#findComment-1512558 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.