zhuifengshaonianhanlu / pikachu

一个好玩的Web安全-漏洞测试平台
Apache License 2.0
3.65k stars 735 forks source link

数据库莫名奇妙返回空值 #30

Open Joker123op opened 1 year ago

Joker123op commented 1 year ago

image

有些靶场能正常使用。有些靶场打不开,打不开的靶场全是这个报错

Warning: mysqli_set_charset() expects parameter 1 to be mysqli, null given in C:\phpstudy_pro\WWW\pikachu\inc\mysql.inc.php on line 10

这个报错对应的地址的文件第十行的代码(我的PHP版本是5.4)

image

求解答谢谢

@zhuifengshaonianhanlu

johnson329 commented 1 year ago

use docker 靓仔 feel free to contact me use email