| Joomla! http://forum.joomla.org/ |
|
| failed to open directory - permission denied - LITE.php http://forum.joomla.org/viewtopic.php?f=149&t=129718 |
Page 1 of 1 |
| Author: | RavenLife [ Wed Jan 10, 2007 1:56 pm ] |
| Post subject: | failed to open directory - permission denied - LITE.php |
hey guys i wonder if anyone could tell me what this is, as i randomly get this and i'm not sure why aslo i randomly get emails stating SMF could not connect to DB could this be the same problem thanks RL Im using SMF 1.1.1 with the Joomla Hacks Bridge Quote: Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_d/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611
Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_e/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_8/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_2/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_c/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_1/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_3/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_4/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_6/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_9/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_a/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_5/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_7/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_f/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_b/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 Warning: opendir(/home/corvus/public_html/administrator/components/com_smf/cache/db/cache_0/) [function.opendir]: failed to open dir: Permission denied in /home/corvus/public_html/administrator/components/com_smf/includes/Lite.php on line 611 |
|
| Author: | Wolverine [ Wed Jan 10, 2007 2:49 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
these are the caching directories and are created and should be owned by the php process. They should never be changed. If this is occurring your webhost might have a process that is going through your website and resetting permissions(I've seen it before). If you can not find the culprit you can change the hashedDirectoryLevel setting to 0 which will in turn not use or create those directories. Do this on or around line line 96 in administrator/components/com_smf/admin.smf.class.php by changing this line: Code: 'hashedDirectoryLevel' => 1); to this Code: 'hashedDirectoryLevel' => 0); Then go into JSMF configuration and click save, which clears the cache. |
|
| Author: | RavenLife [ Wed Jan 10, 2007 2:59 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
thanks are there any downsides to doint this? |
|
| Author: | Wolverine [ Wed Jan 10, 2007 3:14 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
the downside is possible performance decrease but unless your site is very busy, not much. Essentially, every function call is cached for performance. This results in a large number of cache files. If they all reside in one directory it can slow performance. But if your host is doing something like changing permissions, well, you probably don't have much choice. |
|
| Author: | RavenLife [ Wed Jan 10, 2007 3:52 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
well i was going to do what you said - as the site isnt really busy so wouldnt really effect me but it would seem i dont have pemission either through FTP my Cpanel or JoomlaXplorer so looks like i need to speak with my host |
|
| Author: | RavenLife [ Wed Jan 10, 2007 6:35 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
sorry for the second post it would seem my host have been messing around with permissions, due to a recent hard drive issue there on to it thanks very much for the help RL |
|
| Author: | SodaJim [ Sun Sep 30, 2007 6:52 pm ] |
| Post subject: | Re: failed to open directory - permission denied - LITE.php |
Just raising this from the archives... Quote: these are the caching directories and are created and should be owned by the php process. They should never be changed. Does this mean they should owned by www and part of the www group...? Thanks, as this could be the solution I've been looking for... Jim |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|