Announcement

Collapse
No announcement yet.

Issue after upgarde to 7.2

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

  • Issue after upgarde to 7.2

    Hello,
    since upgrade 5.7.2 ... the issue is come.
    Admin->Setting->SiteUrl : https://aaa.bbb.be. never change since 5.6.x

    Now, all file download from espoCrm is corrupt/truncate ! Logo, userPhoto .. all is corrupt.

    it's certainly nginx/apache/.htaccess issue ? Where look ? Any tips ?
    Thanks
    Regards
    Last edited by item; 10-15-2019, 11:10 AM.

  • #2
    Hello,
    Please could you open dev tools with F12 button and check the errors? Screenshots are preffered.
    Also, could you describe from what version you have upgraded and how (UI or PHP CLI, etc.).
    Is there any errors in the data/logs?

    Comment


    • #3
      Hello Maximus,

      upgrade always from cli
      .htaccess is same as GitHub
      https let's encrypt
      no error in log
      no error in apache log
      server : apache/nginx but no more info



      step 1 : I am logoff .. and logo don't appear.. I look on the url of logo, and past and go directly ... "failled load ressource..... protocol error"
      step 2 : on the stream, I have a attachment pdf.. when I click.. it's downloaded .. but look size ...
      step 3 : on the stream, I have a attachment xlsx.. when I click .. it's open new windows.. with NSPOSIX....
      step 4 : on the stream, I have a attachment docx ...... download begin but .. size.

      same behaviour from document entity

      but txt file is "opened" in a new windows without problem ! :s

      Regards
      Attached Files
      Last edited by item; 10-15-2019, 12:30 PM.

      Comment


      • #4
        And I have put a log to download.php and here is info :

        PHP Code:
        [2019-10-15 13:01:11Espo.WARNINGdownload 5da5990aa9c5effab [] []
        [
        2019-10-15 13:01:11Espo.WARNINGdisposition attachment [] []
        [
        2019-10-15 13:01:11Espo.WARNINGtype file [] []
        [
        2019-10-15 13:01:11Espo.WARNINGoutputFileName 4911822ddddddd_2019-10-15.xlsx [] []
        [
        2019-10-15 13:01:11Espo.WARNINGfileName data/upload/5da5990aa9c5effab [] []
        [
        2019-10-15 13:01:11Espo.WARNINGfileSize 7558 [] [] 
        And discover :

        when download csv or txt file... the downloaded file have 2 carriage return on the beginning of file
        all before was with Safari.
        with chrome, xlsx is downloaded but can't open, docx is downloaded but corrupt but open
        Last edited by item; 10-15-2019, 02:21 PM.

        Comment


        • #5
          Hello Team,
          Maximus : find
          on all file (Avatar.php, Download.php, Image.php, LogoImage.php) when I add :
          PHP Code:
                  while (ob_get_level()) {
                      
          ob_end_clean();
                  } 
          problem is solved.
          Then I think, I must disable buffering somewhere (php.ini, nginx.config)
          Is the documentation on GitHub about nginx is uptodate ?

          Regards


          Comment

          Working...
          X