Report: Export to Excel shows "Error 500"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phamduc
    Member
    • Feb 2018
    • 63

    Report: Export to Excel shows "Error 500"

    I try to export data to excel but it shows "Error 500".
    Please help

    Thanks
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    What versions of Advanced Pack and EspoCRM do you use?
    Check EspoCRM log (data/log) and apache error log, please

    Comment


    • phamduc
      phamduc commented
      Editing a comment
      Hi,

      Our Advanced Pack is 1.28.6
  • phamduc
    Member
    • Feb 2018
    • 63

    #3
    Hi,

    This is httpd log

    [Fri Feb 23 10:24:30.356598 2018] [php7:error] [pid 22579] [client 171.229.222.151:50435] PHP Fatal error: Class 'XMLWriter' not found in /var/www/espocrm/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/XMLWriter.php on line 44, referer:

    Comment

    • phamduc
      Member
      • Feb 2018
      • 63

      #4
      Hi,

      Error log is:
      PHP Fatal error: Class 'XMLWriter' not found in /var/www/espocrm/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/XMLWriter.php on line 44

      Advanced Pack is 1.28.6

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #5
        Could you upgrade to the latest version of EspoCRM and Advanced Pack?

        Comment

        • phamduc
          Member
          • Feb 2018
          • 63

          #6
          Hi

          Upgraded to Espo 5.0.5 and Advanced Pack 1.30.7 but error still same
          Pls advise

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #7
            Seams xml extension (check with phpinfo()) is not installed

            Comment

            • phamduc
              Member
              • Feb 2018
              • 63

              #8
              Hi Tanya,

              Thanks for your great support. After install php71w-xml, it's OK now

              Comment

              Working...