Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jancyMuthu's avatar

PhpOffice\PhpSpreadsheet\Reader\Exception Failed to load C:\xampp\htdocs\techminds\ongoing\kioo\storage\framework\laravel-excel\laravel-excel-gTRgOKkvCTx6soKBAEOtKRiW4CabrWKC.html as a DOM Document

PhpOffice\PhpSpreadsheet\Reader\Exception Failed to load C:\xampp\htdocs\techminds\ongoing\kioo\storage\framework\laravel-excel\laravel-excel-gTRgOKkvCTx6soKBAEOtKRiW4CabrWKC.html as a DOM Document

i got this error when download excel using html in larave

0 likes
3 replies
jancyMuthu's avatar

@Sinnbeck

table, th, td { border: 1px solid black; } th{ font-weight: bold; text-align: center; } DownTime Details 2015-01-01 - 2015-12-31 Date Shift Line plant
                <tr>
                    <td rowspan="4"> 2015-04-27</td> 
                     
                                <td> A </td>
                                <td> 11</td>
                                <td> 10</td>    
                    </tr><tr> 
                                <td> A </td>
                                <td> 12</td>
                                <td> 9</td>   
                    </tr><tr> 
                                <td> B </td>
                                <td> 12</td>
                                <td> 9</td>    
                    </tr><tr> 
                                <td> B </td>
                                <td> 12</td>
                                <td> 9</td>    
                    </tr>    
         
    </tbody>
</table>

this is the tabel and the structure are correct but i get this error

Snapey's avatar

format your code with three backticks ``` before and after the code

Show your excel import class and how you are calling it

Please or to participate in this conversation.