ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Open-Source CRM software Forums OroCRM OroCRM – Installation/Technical Issues or Problems Writing new cache file problem on login

This topic contains 0 replies, has 1 voice, and was last updated by Jaimy Jaimy 3 years, 5 months ago.

  • Creator
    Topic
  • #771
    Jaimy
    Jaimy
    Participant

    Hi!

    I’m pounding my head on a very weird problem when logging in on OroCrm. At first glance this looks like a permission problem, but it isn’t :< (we have tried to do exactly the same in this folder and we can do it :)). I’m wondering if any of you have faced the same error during the setup of OroCrm? The exception I faced the past few days:request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: &quot;An exception has been thrown during the rendering of a template (&quot;Could not write new cache file to app/cache/prod/jms_serializer/Oro-Bundle-NavigationBundle-Title-StoredTitle.cache.php.&quot;) in &quot;OroCRMDashboardBundle:Default:index.html.twig&quot; at line 24.&quot; at app/cache/prod/classes.php line 4748 {&quot;exception&quot;:&quot;[object] (Twig_Error_Runtime: An exception has been thrown during the rendering of a template (\&quot;Could not write new cache file to app/cache/prod/jms_serializer/Oro-Bundle-NavigationBundle-Title-StoredTitle.cache.php.\&quot;) in \&quot;OroCRMDashboardBundle:Default:index.html.twig\&quot; at line 24.

    I found a very nasty work-around, just comment out line 47 in vendor/jms/metadata/src/Metadata/Cache/FileCache.php: throw new \RuntimeException(sprintf('Could not write new cache file to %s.', $path));
    I already made sure that, what’s covered in the topic of Alan Storm, permissions of the app/cache and app/logs are ok. I would like to know if any of you had the same problem and what kind of actions you’ve taken to deal with this issue 🙂

    Thanks in advance!

You must be logged in to reply to this topic.