Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 5:51 am (All times are UTC )

 




Post new topic Reply to topic  [ 7 posts ] 
Author Message
Posted: Wed Jan 10, 2007 1:56 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Jul 23, 2006 1:03 am
Posts: 191
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

_________________
http://ninjaforge.com - Get on the cutting edge!


Last edited by RavenLife on Wed Jan 10, 2007 6:35 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Wed Jan 10, 2007 2:49 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jan 17, 2006 3:27 pm
Posts: 120
Location: Atlanta
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.

_________________
Zend PHP5 Certified Engineer
http://www.zend.com/store/education/certification/authenticate.php?ClientCandidateID=ZEND005972&RegistrationID=222040204


Top
  E-mail  
 
Posted: Wed Jan 10, 2007 2:59 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Jul 23, 2006 1:03 am
Posts: 191
thanks

are there any downsides to doint this?

_________________
http://ninjaforge.com - Get on the cutting edge!


Top
  E-mail  
 
Posted: Wed Jan 10, 2007 3:14 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Jan 17, 2006 3:27 pm
Posts: 120
Location: Atlanta
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.

_________________
Zend PHP5 Certified Engineer
http://www.zend.com/store/education/certification/authenticate.php?ClientCandidateID=ZEND005972&RegistrationID=222040204


Top
  E-mail  
 
Posted: Wed Jan 10, 2007 3:52 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Jul 23, 2006 1:03 am
Posts: 191
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

_________________
http://ninjaforge.com - Get on the cutting edge!


Top
  E-mail  
 
Posted: Wed Jan 10, 2007 6:35 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Jul 23, 2006 1:03 am
Posts: 191
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

_________________
http://ninjaforge.com - Get on the cutting edge!


Top
  E-mail  
 
Posted: Sun Sep 30, 2007 6:52 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Aug 04, 2006 4:22 pm
Posts: 85
Location: South Florida
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


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group