Home arrow Forum Warning: failed to open dir: Permission denied in Lite.php on line 611
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 02:37:30 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Warning: failed to open dir: Permission denied in Lite.php on line 611
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Warning: failed to open dir: Permission denied in Lite.php on line 611  (Read 2062 times)
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Warning: failed to open dir: Permission denied in Lite.php on line 611
« on: March 15, 2007, 01:39:36 PM »

Hi!!
I have one probelm and I d'n't understand, some time when i change page i see

Quote
Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_0/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_1/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_2/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_3/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_4/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_5/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_6/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_7/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_8/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_9/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_a/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_b/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_c/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_d/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_e/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

Warning: opendir(/var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/cache/db/cache_f/): failed to open dir: Permission denied in /var/www/vhosts/mysite.com/httpdocs/administrator/components/com_smf/includes/Lite.php on line 611

How I can fix it?

Best Regards

dafebe
« Last Edit: March 24, 2007, 04:26:35 PM by dafebe » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +376/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #1 on: March 19, 2007, 08:57:31 PM »

this has been reported before and it is permission problems on those directories.  PHP created them but it seems something else has changed the permissions so that PHP can no longer read them.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #2 on: March 20, 2007, 07:25:24 AM »

HI -Wolverine,
Tnx for reply!!!

I have understand but I don't know why  Cry

When I refresh it's all ok.

Do you have some idea how I can solve it?

Best Regards

dafebe
« Last Edit: March 20, 2007, 10:49:56 AM by dafebe » Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #3 on: March 24, 2007, 08:45:40 AM »

I have read THIS and I have a IDEA  Grin

I have set in my chown fot cache root:root

chown -R root:root *

now all ok
DON?T WORK

Best Regards

dafebe
« Last Edit: March 24, 2007, 04:25:56 PM by dafebe » Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #4 on: March 24, 2007, 04:26:13 PM »

HOW I must set my chmod and chown?
Can any one help me please?

Best Regards

dafebe


is good this solution
or there is another one best solution?

first error could be fixed by deleting all the cache directories in the directory:

/home/pandaig/public_html/administrator/components/com_smf/cache/db/

when you copied things over they received incorrect permissions, that is why you received the permission denied error.



Best Regards

dafebe
« Last Edit: March 24, 2007, 04:38:43 PM by dafebe » Logged
Livebox
Guest
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #5 on: March 24, 2007, 04:45:06 PM »

HOW I must set my chmod and chown?


When you have not the right to do this. You have to ask your Hosting Provider.

Chmod you can do with your FTP program like FlashFXP
Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #6 on: March 24, 2007, 04:48:27 PM »

I have my server I can set all how I want.
Can you help me?

TNX for help and your time.

Best Regards

dafebe
Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #7 on: March 24, 2007, 04:54:21 PM »

Hi I have read this solution

first error could be fixed by deleting all the cache directories in the directory:

/home/pandaig/public_html/administrator/components/com_smf/cache/db/

when you copied things over they received incorrect permissions, that is why you received the permission denied error.

I have a question whit this solution cache work or the downside is possible performance decrease.
My site is very busy, I have more user.

I have chmod for folder 755
and file 644

Best Regards

dafebe
« Last Edit: March 24, 2007, 04:56:43 PM by dafebe » Logged
anthony hall
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #8 on: July 24, 2007, 10:22:49 PM »

This thread I think will be useful for me. Posting here so I can track it easily & hopefully google will index it - was no luck on google earlier.

My site was hacked (globals I presume) & after restore from backup I occasionally get the error :
Code:
Warning: opendir(/home/buddh/public_html/administrator/components/com_smf/cache/db/cache_0/) [function.opendir]: failed to open dir: Permission denied in /home/buddh/public_html/administrator/components/com_smf/includes/Lite.php on line 611

Im trying to fix it now.
cache/db/cache_x folders have permission 700
and in filezilla :
550 Could not change perms on cache_0: Permission denied
same in joomlaexplorer
owner is "nobody (99)"
...cant even rename it. So ownership is an issue. Strange that the error is only intermittent (& rare)

Is there any solution if your host is not likely to want to get involved? Its a shared situation. eg maybe I can re-create the cache in a different spot?

Trouble is.. I bet this isnt the last I see of the problem of permissions.

Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Warning: failed to open dir: Permission denied in Lite.php on line 611
« Reply #9 on: July 25, 2007, 06:35:59 AM »

I remeber it but i'don' remeber how I have fix it.

if my mind don't put me in error I have only restore my backupand anfter all ok.

But I don't remeber very well it
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login