Geeky121 Geeky121 - 1 year ago 97
HTML Question

Class 'PHPExcel' not found in../HTML.php on line 153

I'm having a difficult time getting PHPExcel to work. In the class HTML.php, where the object is declared,

$objPHPExcel = new PHPExcel();
(on line 153), it can't seem to load PHPExcel. The entire error is:

Fatal error: Class 'PHPExcel' not found in
/home/main/public_html/home/IEW/PHPExcel/Reader/HTML.php on line 153

The PHPExcel Library is located at /home/main/public_html/home/IEW/PHPExcel/

(My host is GoDaddy with cpanel is that makes any sort of difference).


Answer Source

For PHPExcel to work properly you have to include PHPExcel.php like this:


Also, in some cases reinstalling whole package can help.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download