Cannot write to cache file /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-cache/apps/webasyst/cache/app_settings/shop.php

Error with code 601 in '/var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/cache/waVarExportCache.class.php' around line 51:

   46	            echo "\n" . date('d-m-Y H:i:s', time()) . " ==========================================\n";
   47	            $mayakData = ob_get_contents();
   48	            ob_end_clean();
   49	            @file_put_contents($_SERVER['DOCUMENT_ROOT'] . '/wa-cache/mayak/mayakData.txt', $mayakData, FILE_APPEND);
   50	
 >>51	            throw new waException("Cannot write to cache file ".$file, 601);
   52	        }
   53	    }
   54	
   55	    protected function readFromFile($file)
   56	    {

Call stack

#0 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/cache/waFileCache.class.php(60): waVarExportCache->writeToFile('/var/www/u00208...', Array)
#1 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/webasyst/lib/models/waAppSettings.model.php(47): waFileCache->set(Array)
#2 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/waSystem.class.php(1048): waAppSettingsModel->get('shop', 'currency', 'USD')
#3 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-apps/shop/lib/config/shopConfig.class.php(156): waSystem::getSetting('currency', 'USD', 'shop')
#4 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-apps/shop/lib/model/shopCurrency.model.php(160): shopConfig->getCurrency()
#5 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-apps/shop/lib/model/shopCurrency.model.php(48): shopCurrencyModel->getPrimaryCurrency()
#6 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-apps/shop/lib/config/shopConfig.class.php(164): shopCurrencyModel->getCurrencies(NULL)
#7 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-apps/shop/lib/layouts/shopFrontend.layout.php(57): shopConfig->getCurrencies()
#8 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/layout/waLayout.class.php(134): shopFrontendLayout->execute()
#9 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/controller/waViewController.class.php(104): waLayout->display()
#10 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/controller/waViewController.class.php(47): waViewController->display()
#11 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/controller/waFrontController.class.php(142): waViewController->run()
#12 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/controller/waFrontController.class.php(61): waFrontController->execute('', 'frontend', NULL)
#13 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/wa-system/waSystem.class.php(524): waFrontController->dispatch()
#14 /var/www/u0020870/data/www/xn--80abmmk8a7c.xn--p1ai/index.php(6): waSystem->dispatch()
#15 {main}

Request

array (
)

Params

array (
  'app' => 'shop',
  '_name' => 'Интернет-магазин "Беришка"',
  'theme' => 'default',
  'theme_mobile' => 'default',
  'locale' => 'ru_RU',
  'title' => 'Интернет-магазин «Беришка» мебель, товары для здоровья',
  'meta_keywords' => 'мебель, продукты для здоровья',
  'meta_description' => 'Интернет-магазин мебели, товаров, продуктов для здоровья.',
  'url_type' => '0',
  'type_id' => '0',
  'payment_id' => '0',
  'shipping_id' => '0',
  'currency' => 'RUB',
)