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 23:

   18	    protected function writeToFile($file, $v)
   19	    {
   20	        if ((!file_exists($file) && is_writable(dirname($file))) || is_writable($file)) {
   21	            return file_put_contents($file, "<?php\nreturn ".var_export($v, true).";\n");
   22	        } elseif (waSystemConfig::isDebug()) {
 >>23	            throw new waException("Cannot write to cache file ".$file, 601);
   24	        }
   25	    }
   26	
   27	    protected function readFromFile($file)
   28	    {

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', 'category')
#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(7): 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',
  'category_url' => 'mebel/molodezhnye/modulnaya-molodezhnaya-rozali',
  'module' => 'frontend',
  'action' => 'category',
)