"bad server response" after upgrading to 5.6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neil
    Junior Member
    • Aug 2018
    • 15

    "bad server response" after upgrading to 5.6.0

    I have attempted to upgrade my EspoCRM instance from 5.5.6 to 5.6.0.

    The upgrade appears to have finished correctly but, when I load the root page, I see only a "Bad server response" error.

    I get the following in the log file, whenever I reload the page:

    Code:
    [2019-04-04 17:05:20] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected '?'" at /var/www/html/application/Espo/ORM/Repositories/RDB.php line 101 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected '?' at /var/www/html/application/Espo/ORM/Repositories/RDB.php:101)"} []


    I have:

    checked permissions to ensure 644 on:
    /index.php
    /api/v1/index.php

    run
    Code:
    php rebuild.php


    run
    Code:
    php clear_cache.php


    I have php version 7.3:
    Code:
    PHP 7.3.3-1+0~20190307202245.32+stretch~1.gbp32ebb2 (cli) (built: Mar  7 2019 20:22:46) ( NTS )



    Any help in fixing this would be most welcome.
  • neil
    Junior Member
    • Aug 2018
    • 15

    #2
    I found a workaround, which was removing php7.3 and installing php7.1 and the related components. After restarting apache2, it worked.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      According the error it seems that it was php 7.0 or lower. We tested EspoCRM 5.6 on php 7.3.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • neil
        Junior Member
        • Aug 2018
        • 15

        #4
        Originally posted by yurikuzn
        According the error it seems that it was php 7.0 or lower. We tested EspoCRM 5.6 on php 7.3.
        In which case, perhaps I messed up the php installation!

        Thank you for your feedback.

        Comment

        Working...