System crashed after update from 7.2.7 to 7.3.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    System crashed after update from 7.2.7 to 7.3.3

    Hello guys,

    we just finished the upgrade of espo from 7.2.7 to 7.3.3 and after the upgrade system is not working. (screen2)

    Could it be that php version on our server is outdated? PHP 8.0.27(screen1) Or do you have any idea how to check what is wrong? So far nothing in the error logs.


    Thanks a lot
    Attached Files
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi Jakub,

    just for information for other who can help..
    there are many log :

    apache log
    php log
    espocrm log.
    and googlechrome (web browser) log (devtools)

    if you give theses info.. maybe that's help other to respond.

    as Yuri say, : we can't guess



    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment


    • Jakub Grufik
      Jakub Grufik commented
      Editing a comment
      hello, thanks for your time.
      I am currently trying to get server logs from my colleague. It seems like we have PHP version 7.4 on our apache server, could it be the problem?
      edit: ok nvm PHP updated to 8.1 now
      Last edited by Jakub Grufik; 03-07-2023, 09:26 PM.
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    #3
    This is the code it is referring to. From Parse error: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in /data/7/5/7575340d-2d72-4955-9959-98ec6389749c/crmsys.sk/sub/esmero/vendor/laminas/laminas-mail/src/Protocol/Smtp.php on line 329
    Click image for larger version

Name:	image.png
Views:	189
Size:	29.5 KB
ID:	88951
    Attached Files

    Comment


    • item
      item commented
      Editing a comment
      Hi Jakub
      in many case, when you see : syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) ..
      something so.. it's php version.

      don't forget, you have :
      - php cli : version php -v so you can see cli version
      - php web : version. http://.../info.php so you can see php version (info.php don't exist, you must create a file with echo phpinfo() )
      can differ.


      EspoCRM v7.3.0 released
      01-09-2023, 10:41 AM
      Compatibility:
      PHP 8.2 support
      Drop PHP 7.4 support
      Last edited by item; 03-07-2023, 09:39 PM. Reason: Drop PHP 7.4 support

    • Jakub Grufik
      Jakub Grufik commented
      Editing a comment
      Hi item,
      damn I just checked PHP version on our server and it's 8.1.8 so according to the info you sent we need PHP 8.2.. could be it because every error log seems to have nothing connected with this issue.
      I only checked CLI version if its enough, for some reason url/info.php does not work even though the file is present in the directory

    • item
      item commented
      Editing a comment
      Hi Jakub,
      my experiment is end..
      if you have php 8.1.8 .. so i think no problem with 7.3

      you don't access to phpinfo.php because apache htaccess config and so.
      you can check php version in espo/admin/requirement . .. but if espocrm don't work, hum hum :s

      Hope other can help
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    #4
    item ok man, the system is back now. Few minutes after the update of PHP version on the server, system started to work. PHP 8.1.8 is enough.

    Thanks a lot for your time! Appreciate such a quick helping hand. ​

    Comment


    • item
      item commented
      Editing a comment
      upgrade to 8.2.. so you are ready for some time.

      happy you resolve issue but don't forget if you see error like : unexpected ')', expecting '|' or variable (T_VARIABLE)
      it's php version in my experiment
Working...