Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4835

Order: Cache directory cannot be created

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0-b1
    • Component/s: Plugins
    • Labels:
      None

      Description

      The following errors appear in the warning log:
      [2023-01-18T18:50:28.481909+00:00] general.WARNING: E_WARNING: opendir(/home/blestau/public_html/561/cache/1/plugins/order/): failed to open dir: No such file or directory

      {"code":2,"message":"opendir(/home/blestau/public_html/561/cache/1/plugins/order/): failed to open dir: No such file or directory","file":"/home/blestau/public_html/561/vendors/minphp/cache/src/Cache.php","line":43}

      It appears that /cache/1/plugins/order/ does not exist. It may be that the order plugin is trying to create /cache/1/plugins/order and failing because /cache/1/plugins does not exist. So, probably the plugin should check that /cache/COMPANYID/plugins exists first, and if not create that first, then create /cache/COMPANYID/plugins/order

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/May/23

              Agile