Nov 30, 2010 at 1:18 PM
Edited Dec 1, 2010 at 4:34 AM
Well I am having a strange problem.Everything is working perfectly for me in the local machine with xampp and apache server having windows as operating system. But when I upload the same thing to the server which is linux
based, the template file from where reading will take place is not happening. I have provided the correct absolute path.I even have checked whether file exists or not, it is showing that file exists there.But don't know why it's not reading.
Showing some error as :- Class 'PHPExcel_Reader_Excel5_Escher' not found in /...some path../PHPExcel/Classes/PHPExcel/Reader/Excel5.php on line 618
I m using PHP version 5.2.9 and PHP Excel version 1.7.3.
The way the file path is given is like this :-
$objPHPExcel = PHPExcel_IOFactory::load($docRoot.'/folder_path/file_name.xls');
$docRoot is for absolute path.
As far as i am concern there is no problem with path.But don't know why it's not reading this.I have tried the other methods allso like:-
$objReader = new PHPExcel_Reader_Excel5();
$objPHPExcel = $objReader->load($docRoot.'/folder_path/file_name.xls');
but this also doesn't work.
Any body out there please help.I am in a real spot of bother here.