Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    PHP error when opening attachments in WebApp

    Kopano WebApp
    4
    5
    388
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • genesis74
      genesis74 last edited by genesis74

      Hi there,

      everytime I am opening an email attachment in WebApp the apache2 error.log logs an error.

      Example for PDF-Attachment (endless IDs shortened for better readability):

      [Fri Feb 22 17:59:33.032636 2019] [proxy_fcgi:error] [pid 8519:tid 140330498238208] [client y.y.y.y:43442] AH01071: Got error 'PHP message: array (\n  'store' => 'xxx',\n  'entryid' => 'zzz',\n  'dialog_attachments' => 'EIOyClCElpIYISzYZb3DRnatqyk3YVMm',\n  'load' => 'download_attachment',\n  'attachNum' => \n  array (\n    0 => '0',\n  ),\n  'contentDispositionType' => 'inline',\n  'filename' => 'document.pdf',\n)\n'
      

      Example for JPG-Attachment:

      [Fri Feb 22 17:58:47.812313 2019] [proxy_fcgi:error] [pid 8518:tid 140329734895360] [client y.y.y.y:43402] AH01071: Got error 'PHP message: array (\n  'store' => 'xxx',\n  'entryid' => 'zzz',\n  'dialog_attachments' => 'cBjl3JSb1MB8AbedGQXU7snEooRr7IUX',\n  'load' => 'download_attachment',\n  'attachNum' => \n  array (\n    0 => '2',\n  ),\n  'contentDispositionType' => 'inline',\n)\n'
      

      Attachments can be opened and viewed in WebApp. This happens for all users. It does not happen if email is downloaded via IMAP or Z-Push.

      WebApp:
      3.5.2.2146+87.1
      Kopano Core:
      8.7.0
      PHP:
      7.2.15

      Just wondering if this could have any impact on stable operation. Does anybody also experience these errors?

      1 Reply Last reply Reply Quote 0
      • bhuisman
        bhuisman last edited by

        Hi @genesis74 -

        just to clarify - you see these error messages but everything works properly?

        Regards, Bob

        Regards, Bob

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        1 Reply Last reply Reply Quote 0
        • genesis74
          genesis74 last edited by

          Hi @bhuisman,

          as far as I can see, yes, I can open the attachments and there is no malfunction visible from the user’s point of view.

          umgfoin 1 Reply Last reply Reply Quote 0
          • umgfoin
            umgfoin @genesis74 last edited by

            With php-fpm a talloc-warning is logged :

            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "NOTICE: PHP message: array ("
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'store' => 'xxxxxxxxxxx',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'entryid' => 'xxxxxxxxxxx',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'dialog_attachments' => '32xxxxE1IixxxxN2hXjNQKoNVbixxufZ',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'load' => 'download_attachment',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'attachNum' => "
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  array ("
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "    0 => '0',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  ),"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "  'contentDispositionType' => 'inline',"
            [26-Feb-2019 10:29:35] WARNING: [pool postler.tadao.an] child 25035 said into stderr: ")"
            [26-Feb-2019 10:32:22] WARNING: [pool postler.tadao.an] child 25035 said into stderr: "no talloc stackframe around, leaking memory"
            

            Don’t observe any obvious problems with attachment-downloads or -previews, either.
            ++umgfoin.

            noise 1 Reply Last reply Reply Quote 0
            • noise
              noise @umgfoin last edited by

              i have the same warning on ubuntu 18.04 but at webapp are no problems.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post