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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.7.0 Sprint 5 [ 174 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.7.0 Sprint 5 [ 174 ] 5.7.0 Sprint 6 [ 175 ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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