PHPExcel is missing/deprecated [Temporarily Resolved]

Post Reply
mlg4035
Posts: 1
Joined: 05 Jun 2020, 10:47
Name: ML Grant
Location: Tokyo, Japan

PHPExcel is missing/deprecated [Temporarily Resolved]

Post by mlg4035 »

I cannot import any Excel data because PHPExcel is missing and, in fact, deprecated in favor of PHPOffice\PHPSpreadsheet:

Code: Select all

Warning: require(includes/libs/PHPExcel/PHPExcel/IOFactory.php): failed to open stream: No such file or directory in \modules\global_lists\actions\choices.php on line 152

Fatal error: require(): Failed opening required 'includes/libs/PHPExcel/PHPExcel/IOFactory.php' (include_path='includes\libs\htmlpurifier-4.12.0\library;\php\PEAR') in \modules\global_lists\actions\choices.php on line 152
PhpSpreadsheet does exist, but is not being used in this case: I am trying to import Excel data into a global list.

TEMPORARY RESOLUTION: I downloaded a copy of PHPExcel and put it in the 'libs' folder, this will work for me until I can figure out what the equivalent PHPSpreadsheet functions are, or until Sergey can fix this.

MLG4035
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: PHPExcel is missing/deprecated [Temporarily Resolved]

Post by support »

Found this issue. To fix it file from archive replace to modules\global_lists\actions\
Let me know if it works ok now.
Attachments
choices.zip
(2.07 KiB) Downloaded 133 times
Post Reply