Support

Akeeba Backup for Joomla!

#8646 error on line 235 of configuration.php

Posted in ‘Akeeba Backup 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
Akeeba Backup version
n/a

Latest post by nicholas on Friday, 01 October 2010 00:08 CDT

user12012
The following was found in my system error log:
"29 Sep 2010 16:29:00","..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/dump) [function.opendir]: failed to open dir: No such file or directory"
"29 Sep 2010 16:29:00","/..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/scan) [function.opendir]: failed to open dir: No such file or directory"
"29 Sep 2010 16:29:00","/..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/writer) [function.opendir]: failed to open dir: No such file or directory"
"29 Sep 2010 16:29:00","/..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/dump) [function.opendir]: failed to open dir: No such file or directory"
"29 Sep 2010 16:29:00","/..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/scan) [function.opendir]: failed to open dir: No such file or directory"
"29 Sep 2010 16:29:00","/..../administrator/components/com_akeeba/akeeba/configuration.php: 235","(Warning) opendir(/..../administrator/components/com_akeeba/akeeba/plugins/engines/writer) [function.opendir]: failed to open dir: No such file or directory"

I'm not sure of what I'm reading because I don't know what file it's looking for.
This is line 235:
$handle = @opendir($root);

Any suggestions?

nicholas
Akeeba Staff
Manager
The permissions of the administrator/components/com_akeeba/akeeba directory are wrong. As a result, Akeeba Backup can not read the INI files contained in there, which tell it about the necessary configuration options. You should give that directory and all its subdirectories 0755 permissions and 0644 permissions to the files contained therein. This will fix this issue.

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!

user12012
Thanks you for responding but that's not it as my permissions are as you suggested already.

nicholas
Akeeba Staff
Manager
OK, I am blind. I just saw that the message was referring to directories inside the administrator/components/com_akeeba/akeeba/plugins/engines directory. These warnings are nothing to worry about. Let me explain what is going on.

Akeeba Backup Professional has two directories where engines are installed. The administrator/components/com_akeeba/akeeba/engines directory and the administrator/components/com_akeeba/akeeba/plugins/engines directory. Each engine consists of a PHP file with the actual logic code and an INI file with its configuration settings prototype. During the configuration initialization phase, Akeeba Backup is searching for INI files inside specific subdirectories of these two locations. It expects that it shouldn't find some of them. In order to do that it runs an opendir() command on all of them and tests which could not be opened. The inevitable warning messages are suppressed, because we expect them. However, your server still logs them in the PHP error log file. This is expected and there is nothing to worry about. Akeeba Backup will work properly.

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!