Hello,
Couldn't find much in my searching online. My issue is occurring when I attempt to load xlsx files into PHPExcel. Extension xls works fine. It is not a memory issue. Please see code below:
When attempting to perform:
PHPExcel_IOFactory::identify($file);
I encounter the same problem. Any ideas?
Couldn't find much in my searching online. My issue is occurring when I attempt to load xlsx files into PHPExcel. Extension xls works fine. It is not a memory issue. Please see code below:
try {
$objReader = PHPExcel_IOFactory::createReader('Excel2007');
$objPHPExcel = $objReader->load($file);
} catch (Exception $e) {
die('Error loading file "' . pathinfo($inputFileName, PATHINFO_BASENAME)
. '": ' . $e->getMessage());
}
echo 'Post load data';
I do not get an error from the catch and do not get to 'Post load data'.When attempting to perform:
PHPExcel_IOFactory::identify($file);
I encounter the same problem. Any ideas?