Support

Site Restoration

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

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by tampe125 on Tuesday, 09 February 2016 03:33 CST

jdmorris
 I just restored my new site using Kickstart.
Everything went smoothly, I did the cleanup, visited the backend, all seems well, checked the site, looks good...
However in Admin Tools I have this error:

Invalid Joomla Configuration settings detected

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

What do I need to do to fix this?

Thank you in advance,

John

tampe125
Akeeba Staff
Hello John,

please visit Joomla Global configuration and set the log directory to a valid path.
What's its current value?

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!

jdmorris
Thanks Davide,

I found that this was missing from from my configuration.php
public $log_path = '/home/myuser/public_html/logs';
I added this, and now the error is gone, I have no idea how or why this happened, but now I'm a little concerned that something else in my configuration.php may be missing or corrupt...
Any thoughts?

Cheers,

John

tampe125
Akeeba Staff
An invalid log directory is a "silent error": you can set it to something wrong and nothing would change, your site will continue to work as usual.
However, when Joomla (or any other component, for example Admin Tools) will try to log some information (for example an invalid login or a security exception) it won't find a valid folder and won't log anything.

For example Admin Tools logs all security exceptions in two places: inside the database and in a text file inside the log folder.
Database records are displayed in the Security exceptions page, while in the log file you will find detailed information about all blocked requests, along with the actual data posted to your Joomla site. This text file is very useful to analyze threats and attack types performed vs your site.
Sadly if Joomla log folder is not correct, you will miss these important info, that's why we warn you to fix the log path before continuing.

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!

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!