Data base error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lreddy1
    Junior Member
    • Sep 2016
    • 8

    #1

    Data base error

    Hi,
    Tried to add a field to case entity and it gave DB error 500 when I tried to save.

    Since then it is giving annoying error whenever there is any DB activity on other entities as well

    Can you help me?

    [2016-09-16 09:34:51] Espo.WARNING: E_WARNING: rmdir(data/cache\application): Directory not empty {"code":2,"message":"rmdir(data/cache\\application): Directory not empty","file":"H:\\root\\home\\lreddy1-001\\www\\dxneeds\\application\\Espo\\Core\\Utils\ \File\\Manager.php","line":543,"context":{"dirPath s":["data/cache\\application"],"result":true,"dirPath":"data/cache\\application"}} []
    [2016-09-16 09:34:54] Espo.ERROR: API [POST]:/Admin/fieldManager/:scope, Params:Array ( [scope] => Contact ) , InputData: {"type":"autoincrement","name":"contactid","label" :"Contact ID"} - Error while clearing cache [] []
  • tarasm
    Senior Member
    • Mar 2014
    • 575

    #2
    It seems like you /data/cache directory has incorrect owner or file permissions. More details https://www.espocrm.com/blog/server-...n-for-espocrm/.
    Job Offers and Requests

    Comment

    • lreddy1
      Junior Member
      • Sep 2016
      • 8

      #3
      I checked, and the permissions are READ/WRITE. Also, this issue did not occur when I added an autoincrement fields to contact, account, and so on. Only occurred for Case entity

      Any insights please?

      Comment

      • tarasm
        Senior Member
        • Mar 2014
        • 575

        #4
        Did you make any customizations for Case entity?
        Job Offers and Requests

        Comment

        Working...