Support

Admin Tools

#11198 Error PHP Warning in Admin Tools Professional > Clean Temp-Directory

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 22 February 2012 09:20 CST

user44196
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? No
Have I read the documentation before posting (which pages?)? No
Joomla! version: 1.5.25
PHP version: (5.2.17)
MySQL version: (5.0.92)
Host: (optional, but it helps us help you)
Admin Tools version: Admin Tools Professional 2.2.0

Description of my issue:

Admin Tools Professional > Clean Temp-Directory

You get this error:

Warning: opendir(/tmp/lost+found) [function.opendir]: failed to open dir: Permission denied in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 484

Warning: readdir(): supplied argument is not a valid Directory resource in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 485

Warning: closedir(): supplied argument is not a valid Directory resource in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 511

Warning: opendir(/tmp/lost+found) [function.opendir]: failed to open dir: Permission denied in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home/caracasb/public_html/libraries/joomla/filesystem/folder.php on line 450
Finished Cleaning Temp-directory
This window will close automatically in 3 seconds.

nicholas
Akeeba Staff
Manager
You are using your system-wide temporary directory (/tmp) which is set up to be in a separate hard drive (or RAM disk) partition. This is a bad idea. As I've written many times, you have to reconfigure Joomla! to use the tmp directory under your site's root directory.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44196
Hi, Nicholas

temp fix path, but now this error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/caracasb/public_html/administrator/components/com_admintools/models/cleantmp.php on line 151

nicholas
Akeeba Staff
Manager
If you try it a few times, it will work without an error. You seem to have too many files in your temporary directory, in many nested directories, which throws off Admin Tools' temporary directory cleaner.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!