Syntrax# Posted June 23, 2022 Share Posted June 23, 2022 Hello, I´m creating a function that verifies the player that tries to login on the forum by checking the ingame account details. But the problem is the line that is being used to communicate between the php file and the server. $response = $mta->getResource('SAFGdb')->call('verifyLogin', $playerUsername, $playerPassword) Whenever i add this line the page throws an error 500 Link to comment
Syntrax# Posted June 24, 2022 Author Share Posted June 24, 2022 (edited) After further debugging i've narrowed the problem to this single line Old version $response = $mta->getResource('SAFGdb')->call("verifyLogin",$playerUsername, $playerPassword); new version that works but does not trigger the resource call("verifyLogin",$playerUsername, $playerPassword); Edited June 24, 2022 by Syntrax# Link to comment
Syntrax# Posted June 24, 2022 Author Share Posted June 24, 2022 Topic can be locked, solved the problem Link to comment
Moderators Vinyard Posted June 24, 2022 Moderators Share Posted June 24, 2022 Locking this as per OP's request. Link to comment
Recommended Posts