RuntimeException [ 0 ]: Unable to write in the cache directory (/var/www/smmdevelop/data/www/gazprom.smm-development.ru/modules/twig/cache/e3/a9).

MODPATH/twig/vendor/twig/lib/Twig/Environment.php [ 1207 ]

1202         if (!is_dir($dir)) {
1203             if (false === @mkdir($dir, 0777, true) && !is_dir($dir)) {
1204                 throw new RuntimeException(sprintf("Unable to create the cache directory (%s).", $dir));
1205             }
1206         } elseif (!is_writable($dir)) {
1207             throw new RuntimeException(sprintf("Unable to write in the cache directory (%s).", $dir));
1208         }
1209 
1210         $tmpFile = tempnam(dirname($file), basename($file));
1211         if (false !== @file_put_contents($tmpFile, $content)) {
1212             // rename does not work on Win32 before 5.2.6
  1. MODPATH/twig/vendor/twig/lib/Twig/Environment.php [ 323 ] » Twig_Environment->writeCacheFile(arguments)

  2. MODPATH/twig/vendor/twig/lib/Twig/Environment.php [ 288 ] » Twig_Environment->loadTemplate(arguments)

  3. MODPATH/twig/classes/Kohana/Twig.php [ 127 ] » Twig_Environment->render(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_Twig->render()

  5. SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()

  6. APPPATH/classes/Controller/Frontend/Primary.php [ 84 ] » Kohana_Response->body(arguments)

  7. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Frontend_Primary->after()

  8. {PHP internal call} » Kohana_Controller->execute()

  9. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  10. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  11. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  12. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment