Announcement

Collapse
No announcement yet.

Export XLSX Error

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

  • mfonsatti
    started a topic Export XLSX Error

    Export XLSX Error

    Hi,
    i'm trying to make an export xlsx of a report but the system throw an exception makin' an instance of \PHPExcel() class
    /vendor/phpoffice/phpexcel/Classes/PHPExcel.php

    "syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING)"
    file: /EspoCRM-5.2.1/files/vendor/phpoffice/phpexcel/Classes/PHPExcel.php
    line: 43


    the function process in file "Espo/Modules/Advanced/Core/Report/ExportXlsx.php" , call the class that throw the exception
    PHP Code:
    public function process($entityType$params$result)
    {

        
    $phpExcel = new \PHPExcel();

    ... 
    Last edited by mfonsatti; 07-11-2018, 02:41 PM.

  • tanya
    replied
    In the latest version Espo/Modules/Advanced/Core/Report/ExportXlsx.php is different and uses other library. Clear Cache, try again and check the log

    Leave a comment:


  • mfonsatti
    replied
    i've updated to the latest version of Advanced Pack but the problem is not solved .

    Leave a comment:


  • tanya
    replied
    Could you upgrade Advanced Pack? When did you buy this extension?

    Leave a comment:


  • mfonsatti
    replied
    the version is 1.23.1

    Leave a comment:


  • tanya
    replied
    Hello,
    what is the version of Advanced Pack?

    P.S. it is prohibited to share the code from Advanced Pack by license.

    Leave a comment:

Working...
X