QWGames
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
And the account managment done with verification
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
The remain errors about I didnt use isset(), and I think the site is working again now
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
The auth file sets the session "account_verified" true if the user enters his password and sends back the user to the manage-account file where the user datas will be send for the user and the session "account_verified" will be set to false again.
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
I fixed the original issue, I switched to get method, the problem was the Header("Location: auth"), instead this I'm redirecting the user client side:
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
Thank you
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
yes I understand. I will try to fix the issues. Thanks for the tips.
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
By the way its not working with $_GET or $_REQUEST, too
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
Yeah, my JS file is the same. A lot of request functions to the server. I would probably need to make multiple files for each request.
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
So I cant get response from a post request?
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
yeah but I dont understand, beacuse these files worked before
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
my file name is account_functions.php
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
I didnt see these are different files, but they are
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
The other error is
line 5:
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
So its saying
I think the problem is with the session variables, and I don't know how, but another php file is having the same problem now.
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
I think I have to wait a couple of minutes to process the changes, beacuse I think my php files are not working now.
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
I enabled error logs for php
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
an empty 200 response
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
nothing
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
Error logs are disabled for my php configuration. how can I enable it?
49 replies
KPCKevin Powell - Community
•Created by QWGames on 12/21/2023 in #back-end
Unexpected end of json input
It's returning the same error if I set the verified variable true
49 replies