Contacts details keep loading but nothing show

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edward7097
    Member
    • Sep 2015
    • 55

    Contacts details keep loading but nothing show

    Click image for larger version

Name:	Xnip2021-05-20_15-14-49.jpg
Views:	304
Size:	59.3 KB
ID:	70990 recently I found that the contacts list loading well, but when click contacts details the page just loading only. I found the error detail below using chrome.

    DevTools failed to load SourceMap: Could not load content for https://xxx.com/purify.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    jquery-2.1.4.min.js:4 GET https://xxxx.com/client/src/views/co...s?r=1621429355 404 (Not Found)

    Uncaught Error: Could not load file 'client/src/views/contact/panel.js?r=1621429355'
    at Object.error (loader.js:421)
    at j (jquery-2.1.4.min.js:2)
    at Object.fireWith [as rejectWith] (jquery-2.1.4.min.js:2)
    at x (jquery-2.1.4.min.js:4)
    at XMLHttpRequest.<anonymous>

    Attached Files
    Last edited by edward7097; 05-20-2021, 07:18 AM.
  • emillod
    Active Community Member
    • Apr 2017
    • 1405

    #2
    Did you changed something?
    Maybe you have something in logs?

    Comment


    • edward7097
      edward7097 commented
      Editing a comment
      I didn't change anything in contacts, in logs where is no error recorded. Where is the location that I can check on contacts which loaded panel.js? I couldn't found this file.
  • edward7097
    Member
    • Sep 2015
    • 55

    #3
    anyone can help me out?

    Comment


    • esforim
      esforim commented
      Editing a comment
      Not sure what to do edward; these kind of situation I would try the following:
      (1) make backup
      (1a) rename/delete "custom" folder. test it to see if it work.
      (1b) try a various of PHP version and extension (disable/enable)
      (2) upload and overwrite the file of the default EspoCRM to your server and see if that "repair" any corrupted file
      (3) if fail, update to latest version and see
      (4) install a new instance and see if it a server issue

      Also, does this problem only occur with Contacts? or with other entity like Accounts too?
  • edward7097
    Member
    • Sep 2015
    • 55

    #4
    I found the issue from contact.json on this location "/custom/Espo/Custom/Resources/metadata/clientDefs" and this code below in the file giving the error. I tried renew the file and the contact detail can load now.

    {
    "sidePanels": {
    "detail": [
    "__APPEND__",
    {
    "name": "contact",
    "label": "Contact",
    "view": "views/contact/panel",
    "aclScope": "Contact"
    }
    ]
    }
    }

    Comment


    • esforim
      esforim commented
      Editing a comment
      Good to hear it fixed.
Working...