I work with the PHPExcel library in Wordpress. I need to read the data from the excel file, I took it from here - https://packagist.org/packages/phpoffice/phpexcel I get an error
Fatal error: Uncaught PHPExcel_Reader_Exception: Could not open http://uh214936.ukrdomen.com/barsa/wp-content/uploads/2018/09/u-14-1.xlsx for reading! File does not exist
It looks like there is no file but the file is there and it is downloaded without problems. I have the only thought about this on the server are the rights prohibiting reading files. What do you advise? Here you can make a more detailed error - http://uh214936.ukrdomen.com/barsa/media/no-products/u-14/
Actually on the second line and an error
$file = get_field('excel_file_standings_table'); //получаем ссылку на файл $phpExcel = PHPExcel_IOFactory::load($file['url']); //загружаем файл на чтение через библиотеку Print the path to the file turned out
http://uh214936.ukrdomen.com/barsa/wp-content/uploads/2018/09/u-14-1.xlsx This is the absolute file path.
$file['url']. Is there an absolute or relative path? - Suvitruf ♦