php
Warning: require_once(Spreadsheet/Excel/Reader/OLERead.php)
I am now developing web application that requires to read and write to excel file. So my first milestone is to read it. I have choosen PHP Excel Reader to read the excel.
I have encounter the problem:
Warning: require_once(Spreadsheet/Excel/Reader/OLERead.php) [function.require-once]: failed to open stream: No such file or directory in D:\xampp\htdocs\phpexcel\Excel\reader.php on line 31
Fatal error: require_once() [function.require]: Failed opening required ‘Spreadsheet/Excel/Reader/OLERead.php’ (include_path=’.;\xampp\php\PEAR’) in D:\xampp\htdocs\phpexcel\Excel\reader.php on line 31
Solving:
1) Open the reader.php file from the Excel folder. Remove the below code from the top of the line.
require_once ‘Spreadsheet/Excel/Reader/OLERead.php’;
2) And add the below code after remove that.
require_once ‘Excel/oleread.inc’;
Source: http://icfun.blogspot.com/2009/09/php-warning-requireoncespreadsheetexcel.html
