Cannot write to log file
When someone tries to log in with incorrect login credentials in the administrator area of Joomla, the system records that attempt in a log file. If the log file cannot be opened or written into, the error is displayed.
Check if the /logs folder is present
Go to your Joomla site using FTP or open it in a file manager from your hosting control panel in cPanel, DirectAdmin or Plesk.
Look for a folder named /logs and if it does not exist, create it. (use write permissions 0755). It is also possible depending on your first Joomla installation that the folder is placed in the /administrator/logs folder
Check the write permissions in Joomla
In your Joomla administrator environment, go to System > System Information and open the "Folder Permissions" tab.
Check here that the folder "/logs" is writable by Joomla
Check if the /logs folder is correctly filled in General Configuration
In your Joomla administrator environment, go to System > General Settings and on the "System" tab.
Check that the path in the "Path to log folder" field matches the server path to your /logs folder. When in doubt, consult your hosting
If you have moved your website to a new hosting party, be sure to check this.
The result
When you have fixed this problem, you will get (when trying to log in with an incorrect password) this message
Want to know more?
Wondering if I'm the right partner for your project? Then take a look at my portfolio, see what my clients say or contact me directly.
About Jeroen
I have been working with the Joomla! CMS since 2006. Besides building and maintaining Joomla! websites and webshops, I am also familiar with search engine optimization (SEO), Joomla hosting and developing templates and extensions. Furthermore, I am a frequent visitor and speaker at JoomlaDays and various Joomla user groups.
I am committed to the Joomla! community as a member of the Extensions Directory team and the organization of Joomla user group Breda and JoomlaDagen Netherlands. In short: Are you looking for a Joomla Specialist, you should contact me!
