Announcement

Collapse
No announcement yet.

API error upon installing EspoCRM 5.7.7.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • API error upon installing EspoCRM 5.7.7.

    When trying to install from scratch (unzipping from: https://www.espocrm.com/downloads/EspoCRM-5.7.7.zip) I get API Error in the GUI, but this error in response header causes that error 500.

    Code:
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'espo_test_5_7_7.auth_log_record' doesn't exist
    Update: I'm not sure why, but after changing browser and restarting the install it did not fail. Probably some cache is to blame, from other Espo instances on the same domain.
    Last edited by tothewine; 11-15-2019, 03:09 PM.

  • #2
    Despite it was solved I would suggest to split that api check during install in two parts. The first should be a simpler check like GET /api/v1/Metadata/?die=1 and do die("REWRITE IS WORKING"); in /api/index.php when $_GET['die'] is set before loading the bootstrap file. If it fails the rewrite/htaccess error page should be shown. Afterwards, the regular metadata check can be done. If it fails it's not the rewrite rule and a different troubleshooting information can be shown.
    Last edited by tothewine; 11-15-2019, 03:29 PM.

    Comment

    Working...
    X