Closed OutlinedArc217 closed 2 years ago
Im having the same issue here, tried both manual port forwarding and ngrok.
ngrok error:
/php/result.php 500 Internal Server Error
logs/php.log
Sat Feb 12 15:11:21 2022] 172.21.0.2:34862 Accepted
[Sat Feb 12 15:11:21 2022] PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /root/seeker/template/gdrive/php/result.php:21
Stack trace:
#0 {main}
thrown in /root/seeker/template/gdrive/php/result.php on line 21
[Sat Feb 12 15:11:21 2022] 172.21.0.2:34862 [500]: POST /php/result.php - Uncaught Error: Call to undefined function json_encode() in /root/seeker/template/gdrive/php/result.php:21
Stack trace:
#0 {main}
thrown in /root/seeker/template/gdrive/php/result.php on line 21
[Sat Feb 12 15:11:21 2022] 172.21.0.2:34862 Closing
@NajibNour according to the log it looks like php json package is missing, try installing it for your OS, for reference check this page : https://stackoverflow.com/questions/45931208/in-php-7-0-fatal-error-uncaught-error-call-to-undefined-function-json-encode
let me know if it solves the issue, I will update the install script accordingly
As i am using a docker container and it is using alpine i used:
apk add php7 php7-fpm php7-opcache
No luck after installing php7
@NajibNour install php-json
@thewhiteh4t Thank you, Installing php-json
has fixed the issue.
@OutlinedArc217 Does installing php-json
also resolve this for you?
nice!
@thewhiteh4t Thank you, Installing
php-json
has fixed the issue. @OutlinedArc217 Does installingphp-json
also resolve this for you?
Yes,i resolved it.Thanks.
I clicked continue,but the session interface does not respond