diff --git a/lib/caching/File.php b/lib/caching/File.php
index <HASH>..<HASH> 100644
--- a/lib/caching/File.php
+++ b/lib/caching/File.php
@@ -95,7 +95,8 @@ class File extends Cache
         }
         else
         {
-            trigger_error("The file cache directory *".self::getCacheFile()."* was not found or is not writable!", E_USER_WARNING);
+            Ntentan::error("The file cache directory *".self::getCacheFile()."* was not found or is not writable!", 'Caching error!');
+            die();
         }
     }
Put up a proper error message for cases where the cache file is not found.