New Pro + Launch: pick a template and our developers set up your site in 2 business days.
See how it works

"Cannot open file for writing log"

FixJoomlaErrors & troubleshooting Updated 17 Oct 2026

The log folder path is wrong, often after a move. Set the right path in Global Configuration → System → Path to Log Folder.

Why it happens

Joomla tries to write a log to the folder set in Global Configuration. After moving the site, that path often still points to the old server, so the folder doesn't exist.

Fix it

  1. Go to System → Global Configuration → Logging.
  2. Set Path to Log Folder to your site's folder plus /administrator/logs (Joomla shows the site path in System Information).
  3. Make sure the folder exists and is writable (755).
  4. Save.

Good to know

  • Can't reach the administrator? Edit $log_path in configuration.php directly.
Sources
Was this answer helpful?
Cron Job Starts