Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error generate qr siswa #136

Open
KingWeeL opened this issue Aug 6, 2024 · 2 comments
Open

[BUG] Error generate qr siswa #136

KingWeeL opened this issue Aug 6, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@KingWeeL
Copy link

KingWeeL commented Aug 6, 2024

Screenshot 2024-08-06 222813
{
"title": "CodeIgniter\Database\Exceptions\DatabaseException",
"type": "CodeIgniter\Database\Exceptions\DatabaseException",
"code": 500,
"message": "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '= '12'' at line 4",
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Database\BaseConnection.php",
"line": 676,
"trace": [
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Database\MySQLi\Connection.php",
"line": 308,
"function": "query",
"class": "mysqli",
"type": "->",
"args": [
"SELECT *\nFROM tb_kelas\nLEFT JOIN tb_jurusan ON tb_kelas.id_jurusan = tb_jurusan.id\nWHERE .id = '12'",
0
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Database\BaseConnection.php",
"line": 722,
"function": "execute",
"class": "CodeIgniter\Database\MySQLi\Connection",
"type": "->",
"args": [
"SELECT *\nFROM tb_kelas\nLEFT JOIN tb_jurusan ON tb_kelas.id_jurusan = tb_jurusan.id\nWHERE .id = '12'"
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Database\BaseConnection.php",
"line": 636,
"function": "simpleQuery",
"class": "CodeIgniter\Database\BaseConnection",
"type": "->",
"args": [
"SELECT *\nFROM tb_kelas\nLEFT JOIN tb_jurusan ON tb_kelas.id_jurusan = tb_jurusan.id\nWHERE .id = '12'"
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Database\BaseBuilder.php",
"line": 1629,
"function": "query",
"class": "CodeIgniter\Database\BaseConnection",
"type": "->",
"args": [
"SELECT *\nFROM tb_kelas\nLEFT JOIN tb_jurusan ON tb_kelas.id_jurusan = tb_jurusan.id\nWHERE .id = :.id:",
{
".id": [
"12",
true
]
},
false
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Model.php",
"line": 207,
"function": "get",
"class": "CodeIgniter\Database\BaseBuilder",
"type": "->",
"args": []
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\BaseModel.php",
"line": 610,
"function": "doFind",
"class": "CodeIgniter\Model",
"type": "->",
"args": [
true,
"12"
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Controllers\Admin\QRGenerator.php",
"line": 335,
"function": "find",
"class": "CodeIgniter\BaseModel",
"type": "->",
"args": [
"12"
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Controllers\Admin\QRGenerator.php",
"line": 91,
"function": "getKelasJurusanSlug",
"class": "App\Controllers\Admin\QRGenerator",
"type": "->",
"args": [
"12"
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\CodeIgniter.php",
"line": 933,
"function": "generateQrSiswa",
"class": "App\Controllers\Admin\QRGenerator",
"type": "->",
"args": []
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\CodeIgniter.php",
"line": 509,
"function": "runController",
"class": "CodeIgniter\CodeIgniter",
"type": "->",
"args": [
{}
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\CodeIgniter.php",
"line": 355,
"function": "handleRequest",
"class": "CodeIgniter\CodeIgniter",
"type": "->",
"args": [
null,
{
"handler": "file",
"backupHandler": "dummy",
"storePath": "C:\xampp\htdocs\absensi-sekolah-qr-code\writable\cache/",
"cacheQueryString": false,
"prefix": "",
"ttl": 60,
"reservedCharacters": "{}()/\@:",
"file": {
"storePath": "C:\xampp\htdocs\absensi-sekolah-qr-code\writable\cache/",
"mode": 416
},
"memcached": {
"host": "127.0.0.1",
"port": 11211,
"weight": 1,
"raw": false
},
"redis": {
"host": "127.0.0.1",
"password": null,
"port": 6379,
"timeout": 0,
"database": 0
},
"validHandlers": {
"dummy": "CodeIgniter\Cache\Handlers\DummyHandler",
"file": "CodeIgniter\Cache\Handlers\FileHandler",
"memcached": "CodeIgniter\Cache\Handlers\MemcachedHandler",
"predis": "CodeIgniter\Cache\Handlers\PredisHandler",
"redis": "CodeIgniter\Cache\Handlers\RedisHandler",
"wincache": "CodeIgniter\Cache\Handlers\WincacheHandler"
}
},
false
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Boot.php",
"line": 312,
"function": "run",
"class": "CodeIgniter\CodeIgniter",
"type": "->",
"args": []
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\vendor\codeigniter4\framework\system\Boot.php",
"line": 67,
"function": "runCodeIgniter",
"class": "CodeIgniter\Boot",
"type": "::",
"args": [
{}
]
},
{
"file": "C:\xampp\htdocs\absensi-sekolah-qr-code\public\index.php",
"line": 56,
"function": "bootWeb",
"class": "CodeIgniter\Boot",
"type": "::",
"args": [
{
"systemDirectory": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Config/../../vendor/codeigniter4/framework/system",
"appDirectory": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Config/..",
"writableDirectory": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Config/../../writable",
"testsDirectory": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Config/../../tests",
"viewDirectory": "C:\xampp\htdocs\absensi-sekolah-qr-code\app\Config/../Views"
}
]
}
]
}

@KingWeeL KingWeeL added the bug Something isn't working label Aug 6, 2024
@reactmore
Copy link
Contributor

Versi branch terupdate ?

@KingWeeL
Copy link
Author

KingWeeL commented Aug 9, 2024

Versi branch terupdate ?

iya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants