We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36604
    • 268 Posts
    Hi,

    Not sure about my issue, by it seams that since the last 2.5.1 (or 2.5?) I face XCACHE issues.
    My custom i18n components (lexicon only) used for 3 years does not works correctly anymore.

    As this is only a custom lexicon (fr/eng strings called from frontend) and there's no dev around it I'm a little puzzled.
    The text string are no more returned and there's in place the lexicon string's name instead ("i18n.produits_trouves" or "i18n.recherche" for instance )

    Doing a clear cache in the Manager makes the stuff coming back properly... ONE time. the next refresh or request will produce the error again.

    I can see a lot of those log entries :
    Cannot open file set by xcache.mmap_path, check the xcache.size/var_size against system limitation
    PHP Fatal error:  Cannot open file set by xcache.mmap_path, check the xcache.size/var_size against system limitation in Unknown on line 0
    PHP Fatal error:  XCache: Cannot create shm in Unknown on line 0
    PHP Fatal error:  XCache: Cannot init in Unknown on line 0
    /dev/zero: No such file or directory
    Cannot open file set by xcache.mmap_path, check the xcache.size/var_size against system limitation
    PHP Fatal error:  Cannot open file set by xcache.mmap_path, check the xcache.size/var_size against system limitation in Unknown on line 0
    PHP Fatal error:  XCache: Cannot create shm in Unknown on line 0
    PHP Fatal error:  XCache: Cannot init in Unknown on line 0

    but, well, I don't know much about this.

    PHP 5.4.45, mysql 5.1.73, over OVH vps classic

    Thank you for your help.
      • 36604
      • 268 Posts
      xcache has been disabled from within our Plesk.
      Now no more error logs.
      But the corresponding page must be uncached too in order for the leicon to work...

      weird.
        • 3749
        • 24,544 Posts
        If you're using language tags, you can try making them uncached:

        [[!%lexicon_key? &language=`fr` &namespace=`namespaceName` &topic=`topicName`]]


          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting