valkyrjan Posted June 6, 2015 Share Posted June 6, 2015 Hi,My site's been working ok for quite a while but now 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? It seems fine until you try to log in, including the admin panel. Quote Link to comment Share on other sites More sharing options...
jamesmpollard Posted June 6, 2015 Share Posted June 6, 2015 (edited) Check that plugins/user/jomsocialuser/jomsocialuser.php exists. If it does, change the permissions to 755. Edited June 6, 2015 by jamesmpollard Quote Link to comment Share on other sites More sharing options...
jcbones Posted June 6, 2015 Share Posted June 6, 2015 Most PHP files can be set to 640 with directories set at 755. PHP needs read/execute permission on directories in order to enter a directory, but it only needs to read a file. Only shell or binary scripts need to execute a file. Any file that is called by a user directly should be at least 644. If your directories are set to 755, and your included files are at least 640, you need to check the file owner/group to make sure it hasn't been changed. Quote Link to comment 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.