Elxis CMS Forum

Support => Administration => Topic started by: rentasite on July 07, 2010, 23:21:47

Title: PHP Error - on Elxis Admin Tools [Solved]
Post by: rentasite on July 07, 2010, 23:21:47
Specifically from the backend, i tried to use the tool "Empty Temporary" and i got 10 PHP Errors. i Quote 2 of these.

This occurred suddenly, as few days ago it was working ok.

Quote
PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=empty_temporary
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/xxxxx/public_html/tmpr/273-1277115563/mod_ksaccordion/js/) [function.rmdir]: Permission denied

PHP Error [Warning]
URI: index2.php?option=com_admin&task=tools&tname=empty_temporary
Path: /includes/Core/filemanager.class.php
Line: 928
rmdir(/home/xxxxx/public_html/tmpr/273-1277115563/mod_ksaccordion/css/) [function.rmdir]: Permission denied

edit: i manually deleted 2 folders from the /tmpr directory and it's ok now. But why did this happen?  ??? Chmod of tmpr was correctly 777.

Title: Re: PHP Error - on Elxis Admin Tools
Post by: datahell on July 08, 2010, 08:48:14
It depends on the permissions and the owner of the files as well as the server setup (possible suexec).
Title: Re: PHP Error - on Elxis Admin Tools
Post by: webgift on July 08, 2010, 08:57:08
Ι have faced in past relative errors.
Maybe when created the folders by elxis JS and CSS on the path of server : public_html/tmpr/273-1277115563/mod_ksaccordion/ took automatically Owner group other than what you have.

So php return to you this error : Permission denied

// Datahell you are fast!!
Title: Re: PHP Error - on Elxis Admin Tools
Post by: rentasite on July 08, 2010, 16:00:15

Thanks

after the deletion, no prob.