- 0
Problema conectare
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
sika
Salutare all, am o sursa (de pe acest site) b-hood cred...(are nume arhiva scripting cica) si am o problema..
el are un cod cam asa
#define SERVER_OFFICIAL 0 #define SERVER_BETA 1 #define LOCALHOST 2 new SERVER_HOSTSTATUS = 0; dupa urmeaza : switch(SERVER_HOSTSTATUS) { case 0: SQL = mysql_connect("Ip-ul", "user", "db", "pass"), print("Server: Oficial"); case 1: SQL = mysql_connect("Ip-ul", "user", "db", "pass"), print("Server: Beta"); case 2: SQL = mysql_connect("Ip-ul", "user", "db", "pass"), print("Server: localhost"); }eu am inteles ideea de la new SERVER_HOSTSTATUS = (0/1/3 = oficial/beta/localhost)
asa ca sa trecem la problema...am conectat acest gm la host (schimbarea ip user db pas la case 0 si am schimbat server_hostatus = 0)
dar cand intru pe server ma lasa sa ma inregistrez(sa scriu parola sexul email ani) dar dupa ce dau pe butonul register imi deschide fereasta login (normal) si cand trec aceas parola imi spune ca e gresita...(pe localhost cu xamp instalat merge) mam uitat in server_logs de pe host si apare in felu urmator
[18:17:42] [connection] incoming connection: 198.26.131.191:26573 id: 0 [18:17:42] [join] serw has joined the server (0:198.26.131.191) [18:18:32] ==================================================================== [18:18:32] Error ID: 1364, Eroare: Field 'Victim' doesn't have a default value [18:18:32] Callback: [18:18:32] gQuery: INSERT INTO `users` (`name`,`password`, `Age`, `Email`, `Model`, `RegisterDate`, `CChar`) VALUES ('serw','B5413026B62A2C0A7664C4C975D336EB','13', '[email protected]', '0', '2021-1-5 18:18:32', '250') [18:18:32] ==================================================================== [18:18:43] [part] serw has left the server (0:2)Daca se poate orice idee.. va multumesc..
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now