HTTP ERROR 500 - SETELAH DI UPLOAD KE HOSTING #141
Unanswered
mohamadlukman
asked this question in
Tanya Jawab
Replies: 1 comment 5 replies
-
|
Coba cek log error di hostingnya mas |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ketika bukan scan qr muncul error HTTP ERROR 500
Versi php: 7.4.8
untuk scrip scan-qr.php
`<?php
require 'functions.php';
try {
$query = http_build_query(['device_id' => 'henpon-01']);
$baseApiUrl = getenv('API_BASEURL') ? getenv('API_BASEURL') : 'https://api.kirimwa.id/v1';
$reqParams = [
'token' => 'Sudah Di masukan API WA',
'url' => sprintf('%s/qr?%s', $baseApiUrl, $query)
];
$response = apiKirimWaRequest($reqParams);
echo $response['body'];
} catch (Exception $e) {
print_r($e);
}`
untuk edd-device berhasil
Mohon infonya knp ya?
Beta Was this translation helpful? Give feedback.
All reactions