Support

Admin Tools

#29794 Invalid or unwritable Joomla log 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 Freiforum-N on Thursday, 07 June 2018 07:47 CDT

Freiforum-N
Hello,

when running the quick setup after installing admintools the access rights of the configuration.php were wrong (444) and as a result of the quick setup the following error message appears:

Invalid Joomla Configuration settings detected

Invalid or unwritable Joomla log directory. Please fix it inside Joomla Global Configuration before continuing using Admin Tools.


But even after changing the access rights to 755 the error message in admintools doesn't disappear. As the path of the tmp-file is the same as that of the log-file and I can install updates to JCE without errors I suppose that the path is OK now.

Another indication could be that I get blocked myself and see the message You are a spammer ......

I appreciate your help. Thank you.

Manfred

tampe125
Akeeba Staff
Hello,

please review the error message carefully.
Invalid or unwritable Joomla log directory. Please fix it inside Joomla Global Configuration before continuing using Admin Tools.

The problem is with your log directory, not your configuration.php file.
Please get inside Joomla Global Configuration and change its value to a valid path.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Freiforum-N
Hello,

I have found out the path for log and tmp file by this pfad.php file:
<?php
$relat = dirname($_SERVER[&lsquo;SCRIPT_FILENAME&rsquo;]);
echo ‘Absoluter Pfad zum aktuellen Verzeichnis: ‘.$relat;
?>

Running this file the absolute path is shown:
Parse error: syntax error, unexpected 'Pfad' (T_STRING), expecting ',' or ';' in /homepages/40/d740270438/htdocs/pfad.php on line 3

Then I have defined the path in the configuration file:
public $log_path = '/homepages/40/d740270438/htdocs/logs';
public $tmp_path = '/homepages/40/d740270438/htdocs/tmp';

In the attachment is a screenshot of the server directory.

As I mentioned in my first mail I have already installed an update of JCE component without errors. This shows that the path is correct.

Regards
Manfred

tampe125
Akeeba Staff
As I mentioned in my first mail I have already installed an update of JCE component without errors. This shows that the path is correct.
That's completely unrelated. JCE is not checking the for the log directory (since it an editor, not a tool to admin your site).
The folder being present is not enough, which are their permissions and what's the owner/group?
You can find both info inside FileZille, in the rightmost column.

When this happens, usually it means that the logs directory is used for server logs, so Joomla can't access to it.
If you have the folder administrator/logs you should use it, since it's the new position where logs are stored.

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Freiforum-N
Hello,

the permission of the log file is 755.

I have changed the Path to Log Folder: /homepages/40/d740270438/htdocs/administrator/logs

and the error message has disappeared.

Thank you for help.

Regards
Manfred

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!