Elxis CMS Forum

Support => Administration => Topic started by: sawaedy on August 21, 2012, 21:48:21

Title: err0r in cleaning cache
Post by: sawaedy on August 21, 2012, 21:48:21
when i cleaning the cache from tools administrator is show the error:
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/.../cache/static/blog/m-a/) [
and
URI: index2.php?option=com_admin&task=tools&tname=clean_cache
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/.../cache/static/blog/) [

what i do?
Title: Re: err0r in cleaning cache
Post by: sawaedy on August 22, 2012, 21:20:08
anyone help me
Title: Re: err0r in cleaning cache
Post by: Ivan Trebješanin on August 22, 2012, 23:36:42
Looks to me like permission issue. What are permissions for given directory(/home/.../cache/static/SomeDir)?
Title: Re: err0r in cleaning cache
Post by: sawaedy on August 30, 2012, 09:23:45
permission is 755
Title: Re: err0r in cleaning cache
Post by: Ivan Trebješanin on August 30, 2012, 12:13:58
Can you check the owner? If owner is you, but you don't have permission to delete files, then your server has PHP running as apache module and you need to chmod those dirs 777. Anyway, just tell me who is the owner.
Title: Re: err0r in cleaning cache
Post by: sawaedy on August 30, 2012, 19:13:14
im owner
Title: Re: err0r in cleaning cache
Post by: Ivan Trebješanin on August 30, 2012, 19:26:51
OK, it seems your PHP is running as apache(nobody,www, etc...), thus not being able to delete files. What happens when you CHMOD cache folder recursively 777?

EDIT
My line 928 in filemanager.class.php is comented. Have you been changing something in code?
Title: Re: err0r in cleaning cache
Post by: sawaedy on September 07, 2012, 20:27:02
im chane the cache folder in 777 but not work
what mean from: My line 928 in filemanager.class.php is comented. Have you been changing something in code?
Title: Re: err0r in cleaning cache
Post by: Ivan Trebješanin on September 07, 2012, 20:42:26
what mean from: My line 928 in filemanager.class.php is comented. Have you been changing something in code?

I mean that line 928 is commented. Which means it is not executed, thus cannot raise an error.