Browse Source

adding Kanwil Model

main
dfoso 1 year ago
parent
commit
38df707777
  1. 6
      app/Controllers/Kanwil.php
  2. 1
      writable/debugbar/debugbar_1709530711.742922.json
  3. 1
      writable/debugbar/debugbar_1709530879.000842.json
  4. 1
      writable/debugbar/debugbar_1709533451.656702.json
  5. 1
      writable/debugbar/debugbar_1709533469.444682.json
  6. 1
      writable/debugbar/debugbar_1709533553.386483.json
  7. 1
      writable/debugbar/debugbar_1709533589.127570.json
  8. 1
      writable/debugbar/debugbar_1709533671.166560.json
  9. 259
      writable/logs/log-2024-03-04.log

6
app/Controllers/Kanwil.php

@ -30,9 +30,11 @@ class Kanwil extends BaseController
$bulan = $pbulan;
}
$param = array('tahun' => $tahun, 'bln' => $bulan);
$param = array('kwl' => $kwl, 'tahun' => $tahun, 'bln' => $bulan);
$p['kwlx'] = $kwl;
$p['tahunx'] = $tahun;
$p['bulanx'] = $bulan;
$p['selkwl'] = $model->selKwl()->getResult();
$p['penerimaan'] = $model->getPenn($param)->getResult();
$p['updatex'] = $model->getUpd()->getFirstRow('array');
$p['perkategori'] = $model->getKat($param)->getResult();
@ -43,7 +45,7 @@ class Kanwil extends BaseController
$p['wp_terdaftar'] = $model->getWpsk()->getFirstRow('array');
$p['wp_sk'] = $model->getBreakdownPen($param)->getFirstRow('array');
$p['wpadm'] = $model->getWPterdaftar($param)->getFirstRow('array');
$p['laporThn'] = $model->laporTahunan($param)->getFirstRow('array');

1
writable/debugbar/debugbar_1709530711.742922.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709530879.000842.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709533451.656702.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709533469.444682.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709533553.386483.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709533589.127570.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1709533671.166560.json

File diff suppressed because one or more lines are too long

259
writable/logs/log-2024-03-04.log

@ -393,3 +393,262 @@ Class 'App\Models\MKanwil' not found
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:01:17 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:06:01 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:12:13 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-03-04 21:12:13 --> Error: Call to a member function getResult() on null
in APPPATH\Controllers\Kanwil.php on line 36.
1 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
2 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
3 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
4 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:12:13 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(Error), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(Error), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 1)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(Error))
#5 {main}
thrown
【Previous Exception】
Error
Call to a member function getResult() on null
#0 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#1 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#2 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#3 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#4 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:13:12 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-03-04 21:13:12 --> Error: Call to a member function getResult() on null
in APPPATH\Controllers\Kanwil.php on line 36.
1 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
2 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
3 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
4 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:13:12 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(Error), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(Error), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 1)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(Error))
#5 {main}
thrown
【Previous Exception】
Error
Call to a member function getResult() on null
#0 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#1 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#2 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#3 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#4 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:16:25 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-03-04 21:16:25 --> CodeIgniter\Database\Exceptions\DatabaseException: You must set the database table to be used with your query.
in SYSTEMPATH\Database\BaseConnection.php on line 884.
1 SYSTEMPATH\Model.php(662): CodeIgniter\Database\BaseConnection->table(null)
2 SYSTEMPATH\Model.php(864): CodeIgniter\Model->builder()
3 APPPATH\Controllers\Kanwil.php(37): CodeIgniter\Model->__call('getPenn', [...])
4 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
5 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
6 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
7 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:16:25 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(CodeIgniter\Database\Exceptions\DatabaseException), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(CodeIgniter\Database\Exceptions\DatabaseException), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 8)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(CodeIgniter\Database\Exceptions\DatabaseException))
#5 {main}
thrown
【Previous Exception】
CodeIgniter\Database\Exceptions\DatabaseException
You must set the database table to be used with your query.
#0 C:\xampp\htdocs\engineN\system\Model.php(662): CodeIgniter\Database\BaseConnection->table(NULL)
#1 C:\xampp\htdocs\engineN\system\Model.php(864): CodeIgniter\Model->builder()
#2 C:\xampp\htdocs\engineN\app\Controllers\Kanwil.php(37): CodeIgniter\Model->__call('getPenn', Array)
#3 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#4 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#5 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#6 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#7 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:16:27 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-03-04 21:16:28 --> CodeIgniter\Database\Exceptions\DatabaseException: You must set the database table to be used with your query.
in SYSTEMPATH\Database\BaseConnection.php on line 884.
1 SYSTEMPATH\Model.php(662): CodeIgniter\Database\BaseConnection->table(null)
2 SYSTEMPATH\Model.php(864): CodeIgniter\Model->builder()
3 APPPATH\Controllers\Kanwil.php(37): CodeIgniter\Model->__call('getPenn', [...])
4 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
5 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
6 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
7 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:16:28 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(CodeIgniter\Database\Exceptions\DatabaseException), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(CodeIgniter\Database\Exceptions\DatabaseException), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 8)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(CodeIgniter\Database\Exceptions\DatabaseException))
#5 {main}
thrown
【Previous Exception】
CodeIgniter\Database\Exceptions\DatabaseException
You must set the database table to be used with your query.
#0 C:\xampp\htdocs\engineN\system\Model.php(662): CodeIgniter\Database\BaseConnection->table(NULL)
#1 C:\xampp\htdocs\engineN\system\Model.php(864): CodeIgniter\Model->builder()
#2 C:\xampp\htdocs\engineN\app\Controllers\Kanwil.php(37): CodeIgniter\Model->__call('getPenn', Array)
#3 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#4 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#5 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#6 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#7 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:27:53 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
CRITICAL - 2024-03-04 21:27:54 --> ErrorException: Division by zero
in APPPATH\Views\kanwil\dashboard.php on line 431.
1 APPPATH\Views\kanwil\dashboard.php(431): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Division by zero', 'C:\\xampp\\htdocs\\engineN\\app\\Views\\kanwil\\dashboard.php', 431, [...])
2 SYSTEMPATH\View\View.php(228): include('C:\\xampp\\htdocs\\engineN\\app\\Views\\kanwil\\dashboard.php')
3 SYSTEMPATH\View\View.php(231): CodeIgniter\View\View->CodeIgniter\View\{closure}()
4 SYSTEMPATH\Common.php(1178): CodeIgniter\View\View->render('kanwil/dashboard', [], true)
5 APPPATH\Controllers\Kanwil.php(54): view('kanwil/dashboard', [...])
6 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
7 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
8 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
9 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:27:54 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(ErrorException), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(ErrorException), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 1)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ErrorException))
#5 {main}
thrown
【Previous Exception】
ErrorException
Division by zero
#0 C:\xampp\htdocs\engineN\app\Views\kanwil\dashboard.php(431): CodeIgniter\Debug\Exceptions->errorHandler(2, 'Division by zer...', 'C:\\xampp\\htdocs...', 431, Array)
#1 C:\xampp\htdocs\engineN\system\View\View.php(228): include('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\engineN\system\View\View.php(231): CodeIgniter\View\View->CodeIgniter\View\{closure}()
#3 C:\xampp\htdocs\engineN\system\Common.php(1178): CodeIgniter\View\View->render('kanwil/dashboar...', Array, true)
#4 C:\xampp\htdocs\engineN\app\Controllers\Kanwil.php(54): view('kanwil/dashboar...', Array)
#5 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#6 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#7 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#8 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#9 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:29:17 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:29:48 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:32:31 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:32:44 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:44:13 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
ERROR - 2024-03-04 21:44:13 --> ErrorException: oci_execute(): ORA-00920: invalid relational operator in C:\xampp\htdocs\engineN\system\Database\OCI8\Connection.php:199
Stack trace:
#0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'oci_execute(): ...', 'C:\\xampp\\htdocs...', 199, Array)
#1 C:\xampp\htdocs\engineN\system\Database\OCI8\Connection.php(199): oci_execute(Resource id #163, 32)
#2 C:\xampp\htdocs\engineN\system\Database\BaseConnection.php(693): CodeIgniter\Database\OCI8\Connection->execute('SELECT NM_KANWI...')
#3 C:\xampp\htdocs\engineN\system\Database\BaseConnection.php(607): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT NM_KANWI...')
#4 C:\xampp\htdocs\engineN\app\Models\MKanwil.php(26): CodeIgniter\Database\BaseConnection->query('SELECT NM_KANWI...')
#5 C:\xampp\htdocs\engineN\app\Controllers\Kanwil.php(38): App\Models\MKanwil->getPenn(Array)
#6 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#7 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#8 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#9 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#10 {main}
CRITICAL - 2024-03-04 21:44:13 --> CodeIgniter\Database\Exceptions\DatabaseException: oci_execute(): ORA-00920: invalid relational operator
in SYSTEMPATH\Database\BaseConnection.php on line 647.
1 APPPATH\Models\MKanwil.php(26): CodeIgniter\Database\BaseConnection->query('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
2 APPPATH\Controllers\Kanwil.php(38): App\Models\MKanwil->getPenn([...])
3 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
4 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
5 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
6 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:44:13 --> [Caused by] CodeIgniter\Database\Exceptions\DatabaseException: oci_execute(): ORA-00920: invalid relational operator
in SYSTEMPATH\Database\OCI8\Connection.php on line 211.
1 SYSTEMPATH\Database\BaseConnection.php(693): CodeIgniter\Database\OCI8\Connection->execute('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
2 SYSTEMPATH\Database\BaseConnection.php(607): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
3 APPPATH\Models\MKanwil.php(26): CodeIgniter\Database\BaseConnection->query('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
4 APPPATH\Controllers\Kanwil.php(38): App\Models\MKanwil->getPenn([...])
5 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
6 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
7 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
8 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:44:13 --> [Caused by] ErrorException: oci_execute(): ORA-00920: invalid relational operator
in SYSTEMPATH\Database\OCI8\Connection.php on line 199.
1 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'oci_execute(): ORA-00920: invalid relational operator', 'C:\\xampp\\htdocs\\engineN\\system\\Database\\OCI8\\Connection.php', 199, [...])
2 SYSTEMPATH\Database\OCI8\Connection.php(199): oci_execute(resource (oci8 statement), 32)
3 SYSTEMPATH\Database\BaseConnection.php(693): CodeIgniter\Database\OCI8\Connection->execute('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
4 SYSTEMPATH\Database\BaseConnection.php(607): CodeIgniter\Database\BaseConnection->simpleQuery('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
5 APPPATH\Models\MKanwil.php(26): CodeIgniter\Database\BaseConnection->query('SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN A
LEFT JOIN REF_KANWIL B ON SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)
WHERE THN_KINERJA = \'2024\' AND TO_NUMBER(BLN_KINERJA) AND B.KODE = \'260\'
BETWEEN TO_NUMBER(\'01\') AND TO_NUMBER(\'03\') GROUP BY NM_KANWIL, TARGET')
6 APPPATH\Controllers\Kanwil.php(38): App\Models\MKanwil->getPenn([...])
7 SYSTEMPATH\CodeIgniter.php(941): App\Controllers\Kanwil->index()
8 SYSTEMPATH\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
9 SYSTEMPATH\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(null, Object(Config\Cache), false)
10 FCPATH\index.php(79): CodeIgniter\CodeIgniter->run()
CRITICAL - 2024-03-04 21:44:13 --> ErrorException: Uncaught Error: Call to undefined method CodeIgniter\Debug\ExceptionHandler::cleanPath() in C:\xampp\htdocs\engineN\app\Views\errors\html\error_exception.php:33
Stack trace:
#0 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(258): include()
#1 C:\xampp\htdocs\engineN\system\Debug\BaseExceptionHandler.php(261): CodeIgniter\Debug\BaseExceptionHandler->CodeIgniter\Debug\{closure}()
#2 C:\xampp\htdocs\engineN\system\Debug\ExceptionHandler.php(112): CodeIgniter\Debug\BaseExceptionHandler->render(Object(CodeIgniter\Database\Exceptions\DatabaseException), 500, 'C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\engineN\system\Debug\Exceptions.php(157): CodeIgniter\Debug\ExceptionHandler->handle(Object(CodeIgniter\Database\Exceptions\DatabaseException), Object(CodeIgniter\HTTP\IncomingRequest), Object(CodeIgniter\HTTP\Response), 500, 8)
#4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(CodeIgniter\Database\Exceptions\DatabaseException))
#5 {main}
thrown
【Previous Exception】
CodeIgniter\Database\Exceptions\DatabaseException
oci_execute(): ORA-00920: invalid relational operator
#0 C:\xampp\htdocs\engineN\app\Models\MKanwil.php(26): CodeIgniter\Database\BaseConnection->query('SELECT NM_KANWI...')
#1 C:\xampp\htdocs\engineN\app\Controllers\Kanwil.php(38): App\Models\MKanwil->getPenn(Array)
#2 C:\xampp\htdocs\engineN\system\CodeIgniter.php(941): App\Controllers\Kanwil->index()
#3 C:\xampp\htdocs\engineN\system\CodeIgniter.php(502): CodeIgniter\CodeIgniter->runController(Object(App\Controllers\Kanwil))
#4 C:\xampp\htdocs\engineN\system\CodeIgniter.php(361): CodeIgniter\CodeIgniter->handleRequest(NULL, Object(Config\Cache), false)
#5 C:\xampp\htdocs\engineN\index.php(79): CodeIgniter\CodeIgniter->run()
#6 {main}
in APPPATH\Views\errors\html\error_exception.php on line 33.
1 [internal function]: CodeIgniter\Debug\Exceptions->shutdownHandler()
INFO - 2024-03-04 21:44:52 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.
INFO - 2024-03-04 21:45:24 --> Session: Class initialized using 'CodeIgniter\Session\Handlers\FileHandler' driver.

Loading…
Cancel
Save