Skip to main content

Joomla Error Messages

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

Write to log logsmap

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

wachtwoord niet correct j4

Need help solving this problem?

Jeroen Moolenschot

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!

Popular articles

Sorry, your PHP version is not supported

From Joomla 4 onwards, you can no longer use PHP versions lower than 7.2 . In Joomla 5, the minimum…

You are a spammer, hacker or an otherwise bad person

The message "You are a spammer, hacker or an otherwise bad person" is not coming from Joomla itself…

JFolder::create: Could not create directory

"JFolder :: create: Could not create directory" is a common error message. You may encounter this e…

Could not connect to MySQL

When you see a white screen saying "Error displaying the error page: Application Instantiation Erro…

Save failed with the following error: Null primary key not allowed

While saving an article, you encounter this error message "Save failed with the following error: Nu…

We have detected that your server uses PHP which is outdated

When you log into Joomla, you may see a yellow or red warning about the PHP version you are using…