Announcement

Collapse
No announcement yet.

I got 500 server error after upgrading to 4.0.0

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

  • I got 500 server error after upgrading to 4.0.0

    Hi I installed the EspoCRM on Bluhost.

    After upgrading to 4.0.0, i got the 500 Server Error.
    500 Server Error

    A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.
    URL: http://www.merrilyprom.com/espocrm1/

    I looked at the log file and it shows:
    [2016-03-08 07:21:56] Espo.WARNING: E_WARNING: include(data/config.php): failed to open stream: No such file or directory {"file":"/home3/merrilyp/public_html/espocrm1/application/Espo/Core/Utils/Config.php","line":159} [] [2016-03-08 07:21:56] Espo.WARNING: E_WARNING: include(): Failed opening 'data/config.php' for inclusion (include_path='/home3/merrilyp/public_html/espocrm1/vendor/phpunit/php-token-stream:/home3/merrilyp/public_html/espocrm1/vendor/phpunit/php-text-template:/home3/merrilyp/public_html/espocrm1/vendor/phpunit/phpunit-mock-objects:/home3/merrilyp/public_html/espocrm1/vendor/phpunit/php-timer:/home3/merrilyp/public_html/espocrm1/vendor/phpunit/php-code-coverage:/home3/merrilyp/public_html/espocrm1/vendor/phpunit/phpunit:/home3/merrilyp/public_html/espocrm1/vendor/symfony/yaml:/home3/merrilyp/public_html/espocrm1') {"file":"/home3/merrilyp/public_html/espocrm1/application/Espo/Core/Utils/Config.php","line":159} [] [2016-03-08 07:25:33] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"file":"/home3/merrilyp/public_html/espocrm1/data/upload/upgrades/56de7e64c0666/scripts/AfterUpgrade.php","line":52} [] Please advise what I can do.

    Thanks.
    Michael



  • #2
    Hi

    check permissions
    data/config.php - 664
    data - 775
    index.php - 644

    Comment


    • #3
      Thank you very much. I changed the index.php from 664 to 644. Then it works.

      Comment

      Working...
      X