Problem in Product Modal of Inventory Management System

Posted at July 4, 2020 382 Views . 4 Saved .
Abdullah Mmalawi
I have downloaded and configure inventory project but the root folder seemed to miss pdf folder, so what can I do? Warning: file_put_contents(../PDF_INVOICE/PDF_INVOICE9.pdf): failed to open stream: No such file or directory in C:\xampp\htdocs\invproject\fpdf\fpdf.php on line 1021 Fatal error: Uncaught Exception: FPDF error: Unable to create output file: ../PDF_INVOICE/PDF_INVOICE9.pdf in C:\xampp\htdocs\invproject\fpdf\fpdf.php:271 Stack trace: #0 C:\xampp\htdocs\invproject\fpdf\fpdf.php(1022): FPDF->Error('Unable to creat...') #1 C:\xampp\htdocs\invproject\includes\invoice_bill.php(55): FPDF->Output('F', '../PDF_INVOICE/...') #2 {main} thrown in C:\xampp\htdocs\invproject\fpdf\fpdf.php on line 271
vaibhav gulve
jquery.min.js:4 POST http://localhost/inv_project/public_html/includes/process.php net::ERR_CONNECTION_REFUSED
Rizwan Khan
success: function(data) { var root = "<option value='0'>Root</option>"; var Choose = "<option value=''>Choose Category</option>"; $("#parent_cat").html(root+data); $("#select_cat").html(choose+data); } In this success function please add a console.log(data) and check your browser console to find out what data exactly you are fetching from process.php script if it is empty or blank or error then please update your post with php script also.