diff --git a/application/controllers/c_test.php b/application/controllers/c_test.php
index ba5f639a..5c843a00 100644
--- a/application/controllers/c_test.php
+++ b/application/controllers/c_test.php
@@ -18,17 +18,17 @@ class C_test extends BaseController {
// Load all views as normal
- $PONO = $_GET['PO'];
+ //$PONO = $_GET['PO'];
- $data['PODetail'] = $this->purchaseorder_model->getPurchaseOrder($PONO);
- $data['POLineItem'] = $this->purchaseorder_model->getPOLineItem($PONO);
+ //$data['PODetail'] = $this->purchaseorder_model->getPurchaseOrder($PONO);
+ //$data['POLineItem'] = $this->purchaseorder_model->getPOLineItem($PONO);
//$this->global['pageTitle'] = 'Purchase Order Report';
// Add header to pdf
$this->load->view('includes/pdfheader');
// Load the pdf page with multiviews
- $this->load->View("create_pdf", $data, NULL);
+ $this->load->View("create_pdf", NULL);
// Add header to pdf
$this->load->view('includes/pdffooter');
diff --git a/application/logs/log-2017-05-22.php b/application/logs/log-2017-05-22.php
new file mode 100644
index 00000000..3b904e20
--- /dev/null
+++ b/application/logs/log-2017-05-22.php
@@ -0,0 +1,35 @@
+
+
+ERROR - 2017-05-22 08:05:22 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 08:05:22 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 08:05:22 --> Unable to connect to the database
+ERROR - 2017-05-22 08:05:31 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 08:05:31 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 08:05:31 --> Unable to connect to the database
+ERROR - 2017-05-22 14:29:59 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:29:59 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:29:59 --> Unable to connect to the database
+ERROR - 2017-05-22 14:30:06 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:30:06 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:30:06 --> Unable to connect to the database
+ERROR - 2017-05-22 14:30:14 --> Severity: Warning --> mysqli_connect(): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:30:14 --> Severity: Warning --> mysqli_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. C:\xampp\htdocs\siddharth_application\system\database\drivers\mysqli\mysqli_driver.php 77
+ERROR - 2017-05-22 14:30:14 --> Unable to connect to the database
+ERROR - 2017-05-22 14:41:32 --> Severity: Warning --> call_user_func_array() expects parameter 1 to be a valid callback, class 'Error' does not have a method 'index' C:\xampp\htdocs\siddharth_application\system\core\CodeIgniter.php 360
+ERROR - 2017-05-22 14:41:47 --> Severity: Notice --> Undefined index: PO C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 21
+ERROR - 2017-05-22 14:43:09 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:43:20 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:43:42 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:43:47 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:44:21 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:44:26 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:45:27 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:45:27 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
+ERROR - 2017-05-22 14:47:08 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:47:08 --> Severity: Notice --> Undefined variable: php C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 43
+ERROR - 2017-05-22 14:48:20 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:48:21 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
+ERROR - 2017-05-22 14:53:37 --> Severity: Notice --> Undefined variable: data C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 31
+ERROR - 2017-05-22 14:53:38 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
+ERROR - 2017-05-22 14:54:54 --> Severity: Warning --> Illegal string offset 'Content-Disposition' C:\xampp\htdocs\siddharth_application\application\third_party\dompdf\include\cpdf_adapter.cls.php 889
+ERROR - 2017-05-22 14:57:43 --> Severity: Notice --> Undefined index: PO C:\xampp\htdocs\siddharth_application\application\controllers\c_test.php 21
diff --git a/application/third_party/dompdf/lib/fonts/log.htm b/application/third_party/dompdf/lib/fonts/log.htm
index 073d9033..fe81ecc6 100644
--- a/application/third_party/dompdf/lib/fonts/log.htm
+++ b/application/third_party/dompdf/lib/fonts/log.htm
@@ -1,19 +1 @@
-6,144 KB3,717.6330 ms
-
-
A PHP Error was encountered
-
-
Severity: Warning
-
Message: explode() expects parameter 2 to be string, array given
-
Filename: include/style.cls.php
-
Line Number: 948
-
-
-
-
A PHP Error was encountered
-
-
Severity: Notice
-
Message: Undefined variable: filename
-
Filename: controllers/purchaseorderform.php
-
Line Number: 81
-
-
\ No newline at end of file
+4,096 KB677.2780 ms
\ No newline at end of file
diff --git a/application/views/create_pdf.php b/application/views/create_pdf.php
index 27cedb3f..985531fa 100644
--- a/application/views/create_pdf.php
+++ b/application/views/create_pdf.php
@@ -62,20 +62,19 @@ if(!empty($PODetail))