syaqiq2312
New Member
I am having trouble reading a file with PHPExcel. Here is the error I'm getting:\[code\]( ! ) Fatal error: Class 'PHPExcel_Cell' not found in /Applications/MAMP/htdocs/TestRailIntegration/Classes/PHPExcel/Reader/Excel2007.php on line 739Call Stack# Time Memory Function Location1 0.0023 649920 {main}( ) ../testRailScripting.php:02 0.0030 755712 PHPExcel_IOFactory::load( ) ../testRailScripting.php:233 0.0038 797288 PHPExcel_Reader_Excel2007->load( ) ../IOFactory.php:193\[/code\]And here is my code:\[code\] <?php include './Classes/PHPExcel.php';echo 'Hello world' . "\n";$FileName = $_FILES["fileName"]["name"];$inputFileName=$_FILES["fileName"]["tmp_name"];echo $inputFileName;if(file_exists("uploadedFiles/".$_FILES["fileName"]["name"])){ echo $_FILES["fileName"]["name"]." already exists";}else{ move_uploaded_file($_FILES["fileName"]["tmp_name"],"uploadedFiles/".$_FILES["fileName"]["name"]); echo $_FILES["fileName"]["name"]." has been moved";}$PHPExcelObj = PHPExcel_IOFactory::load($inputFileName);?>\[/code\]Any help would be wonderful!