INFORMATICS

The Best

Joomla error - Cannot write to log file

Звезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активнаЗвезда не активна
 

Joomla error after upgrade to 3.10.10

0 Cannot write to log file.
/www/libraries/src/Log/Logger/FormattedtextLogger.php:176
 
Call stack
# Function Location
1 () JROOT/libraries/src/Log/Logger/FormattedtextLogger.php:176
2 Joomla\CMS\Log\Logger\FormattedtextLogger->addEntry() JROOT/libraries/src/Log/Log.php:320
3 Joomla\CMS\Log\Log->addLogEntry() JROOT/libraries/src/Log/Log.php:166
4 Joomla\CMS\Log\Log::add() JROOT/libraries/src/MVC/Controller/BaseController.php:535
5 Joomla\CMS\MVC\Controller\BaseController->checkEditId() JROOT/administrator/components/com_content/controller.php:44
6 ContentController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:702
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_content/content.php:21
8 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
9 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
10 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
11 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
12 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
13 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51
 

Solution

change permissions on the logs folder
 
Set chown -R apache.apache administrator/logs
 

Search