Joomla 3.6.1 update – An error has occurred – Cannot write to log file.

I recently moved a site to a new Godaddy hosting account. I had to move the site manually instead of using Akeeba backup, so I had to make few changes to the configuration.php file.

When I got the 3.6.1 available update in the control panel I test my localhost version and everything worked perfectly, so I decided to do it on the live site. I got the following error when I went to install the update.

joomla_3_6_1_error_log_1

A Google search lead me to incorrect path to the log directory in my configuration.php file. Here is what mine looked like.

joomla_3_6_1_error_log_2

I logged into the Godaddy hosting CPanel and found the “Home Directory” path.

joomla_3_6_1_error_log_3

I added that to the configuration.php file and used FTP to upload the file. Cleared the site cache and ran the update again and it worked.

I had tried just using Filezilla to change the folder permissions, but that didn’t do it. When I would go into the administrative area of the site and go to System >> System Information >> Folder Permission the log directory was still unwritable.

I hope this helps someone else out there….

 

 

2 Comments

  1. Hi,
    That definitely helped to resolve that issue on my site.
    I updated from 3.4 to 3.6 with no problem and then site kept showing that error message while trying to update from 3.6 to 3.6.2
    In my case it seems this was related to write permissions to folders ‘tmp’ and ‘log’ on my server. Changed to 777 and it worked fine.
    Thank you.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>